Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

3 pages for costbasis.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …he main agent) and want to see where tokens are going. Each entry's `costBasis` says which price table priced that model's latest request: `list` for list price, `managed` for a [`modelPricing`](/doc… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …ry`, `anthropicAws`, `mantle`, or `gateway`. Not always present. | | `costBasis` | `str` | Price table that priced this model's latest request: `list` for list price, `managed` for a [`modelPricing`](… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …tputTokens: number; canonicalModel?: string; provider?: string; costBasis?: 'list' | 'managed' | 'unknown'; }; ``` `thinkingTokens` counts the thinking tokens this model generated. `outputToken…
Feedback