{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"tdx usage","description":"Treasure AI Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"tdx-usage","__idx":0},"children":["tdx usage"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Show estimated AI Suite usage across Claude, Codex, and OpenCode, with breakdowns by profile and source."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx usage\ntdx usage --json\ntdx usage --jsonl\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The report reads the shared local usage ledger and recalculates totals when opened. It shows today's, this month's, and total credits, followed by usage by source and profile. JSON output includes ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["summary"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profiles"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sources"]},". The table labels ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["treasure_work_<site>_<account>_<user>"]}," profiles as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Treasure Work <site>:<account>:<user>"]},"; JSON retains their profile IDs. Profiles starting with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@tdx-studio:"]}," are grouped into ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Legacy profiles"]},", summing credits and requests and showing their most recent usage time. The source breakdown groups ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx-studio"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx-proxy"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx-claude-code"]}," under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure Work"]},", summing their credits and request counts."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Model prices come from each profile's LLM Proxy ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v1/work/models"]}," catalog, including long-context and cache rates. Catalogs refresh periodically and retain their last successful response for offline use. Models without catalog prices use bundled estimates. Amounts use current prices and are estimates, not historical invoices."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx usage"]}," replaces ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx claude usage"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx opencode usage"]},". Those launcher-specific report commands have been removed. The Claude status-line integration continues to use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx claude statusline"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Codex usage is recorded from new persisted rollout token events while ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx codex"]}," runs. Existing Codex session history is not imported. Claude and OpenCode usage is recorded by their integrated proxy."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For internal employees, identified by the active profile’s cached ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["treasure.ai"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["treasure-data.com"]}," email, the table shows estimated USD costs instead of credits, using the same conversion as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx claude statusline"]},". Other users and profiles without cached identity see credits. Employee JSON output preserves all credit fields and adds ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["todayCostUsd"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["monthCostUsd"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["totalCostUsd"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["summary"]},"; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["costUsd"]}," to each profile; and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["costUsd"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["todayCostUsd"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["monthCostUsd"]}," to each source. These numeric fields are unrounded USD estimates."]}]},"headings":[{"value":"tdx usage","id":"tdx-usage","depth":1}],"frontmatter":{"seo":{"title":"tdx usage"}},"lastModified":"2026-10-05T00:13:46.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/treasure-code/commands/usage","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}