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…