Search the documentation
50 pages for /cost.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.
Cost
Claude Developer Platform · path
api/admin/analytics/cost
Get Cost Over Time
Claude Developer Platform · path
api/admin/analytics/cost/list
Get Per-User Cost
Claude Developer Platform · path
api/admin/analytics/cost/list_by_user
Cost Report
Claude Developer Platform · path
api/admin/cost_report
Get Cost Report
Claude Developer Platform · path
api/admin/cost_report/retrieve
Track cost and usage
Claude Code CLI · path
agent-sdk/cost-tracking
optimizing-for-cost-and-intelligence
Claude Developer Platform · in the page
about-claude/models/optimizing-for-cost-and-intelligence
…lls by a factor of 2.5 to 3.7](https://platform.claude.com/docs/images/cost-intel-caching.png) The cache's default lifetime is 5 minutes and an agent loop's turns are seconds apart, so the discount a…
Admin
Claude Developer Platform · in the page
api/admin
…# Admin › Cost Report ### Get Cost Report **GET** `/v1/organizations/cost_report` Get Cost Report #### Query parameters - `starting_at: string` Time buckets that start on or after this RFC 333…
Analytics
Claude Developer Platform · in the page
api/admin/analytics
…s › Cost ### Get Cost Over Time **GET** `/v1/organizations/analytics/cost_report` Get cost in USD over time across a date range. Returns cost bucketed by minute, hour, or day, optionally broken do…
First request
Claude Developer Platform · in the page
manage-claude/usage-cost-api
…ps://platform.claude.com/usage) and [Cost](https://platform.claude.com/cost) pages of the Claude Console. This API enables you to better monitor, analyze, and optimize your Claude implementations: *…
overview
Claude Developer Platform · in the page
release-notes/overview
…role can now access the [Cost](https://console.anthropic.com/settings/cost) page. Previously, the Developer role allowed access to the [Usage](https://console.anthropic.com/settings/usage) page, but…
Use Claude Code with a screen reader
Claude Code CLI · in the page
accessibility
…summary when Claude Code exits, if your account [shows costs](/docs/en/costs) | Claude Code keeps the terminal cursor on the input caret, so your screen reader's read-current-line command reads the p…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…/analytics), [Monitoring](/docs/en/monitoring-usage), [Costs](/docs/en/costs) | | [Review data handling](#rev…
Escalate hard decisions with the advisor tool
Claude Code CLI · in the page
advisor
…or usage counts toward the session totals shown by [`/usage`](/docs/en/costs#track-your-costs). For how advisor tokens are reported in API responses, see [Usage and billing](https://platform.claude.c…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…ting it. See [Recover totals after a session crash](/docs/en/agent-sdk/cost-tracking#recover-totals-after-a-session-crash). * In Python, `total_cost_usd`, `usage`, and `model_usage` are typed as optio…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…on can spend dollars in tokens. See [Cost tracking](/docs/en/agent-sdk/cost-tracking) for per-session token accounting. ### Multi-tenant isolation Default SDK behavior reads settings and `CLAUDE.md`…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…exporting to a backend, see [Track cost and usage](/docs/en/agent-sdk/cost-tracking). ## How telemetry flows from the SDK The Agent SDK runs the Claude Code CLI as a child process and communicates…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…ate as `total_cost_usd`; see [Track cost and usage](/docs/en/agent-sdk/cost-tracking) for accuracy caveats…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…ate as `total_cost_usd`; see [Track cost and usage](/docs/en/agent-sdk/cost-tracking) for accuracy caveats…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…session is more cost-effective. See [agent team token costs](/docs/en/costs#agent-team-token-costs) for usage guidance. An in-process teammate's requests fall outside the main conversation's [cache…
Run agents in parallel
Claude Code CLI · in the page
agents
…ions or subagents at once multiplies token usage. See [Costs](/docs/en/costs) for usage and rate-limit details. </Note> ## Choose an approach The right approach depends on who coordinates the work,…
Track team usage with analytics
Claude Code CLI · in the page
analytics
…ents to your observability stack * [Manage costs effectively](/docs/en/costs): set spend limits and optimize token usage * [Permissions](/docs/en/permissions): configure roles and permissions
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…actions, but the boundary can be lost if [context compaction](/docs/en/costs#reduce-token-usage) removes the message that stated it. Use an ask or deny rule for a durable guarantee. | ## Where the cl…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…atus line](/docs/en/statusline), and see [Reduce token usage](/docs/en/costs#reduce-token-usage) for strategies on reducing token usage. *** ## Give Claude a way to verify its work <Tip> Give Cla…
Claude Code changelog
Claude Code CLI · in the page
changelog
…on's contracted per-model rates and discount multiplier are used for `/cost`, the status line, and telemetry cost figures instead of list price * Added a keyless sign-in under `/login` → Anthropic C…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
….html` and timestamped report copies written by [`/insights`](/docs/en/costs#analyze-your-usage-patterns), plus cached per-session analysis data used to build them…
Commands
Claude Code CLI · in the page
commands
…| | `/cost` | Alias for `/usage`…
Explore the context window
Claude Code CLI · in the page
context-window
…h actions invalidate the cached prefix * [Reduce token usage](/docs/en/costs#reduce-token-usage): strategies for keeping context usage low
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…vering it. Once delivered, the message counts toward [usage](/docs/en/costs) like a prompt you type, and the receiving Claude can reply to the sender the same way, except in the [one-way cross-machin…
Desktop application
Claude Code CLI · in the page
desktop
…the app. Usage counts toward your [subscription plan limits](/docs/en/costs) with no separate compute charges. You can create custom cloud environments with different network access levels and envir…
Environment variables
Claude Code CLI · in the page
env-vars
…` alias resolves to, also used for [background functionality](/docs/en/costs#background-token-usage). See [Model configuration](/docs/en/model-config#environment-variables)…
Error reference
Claude Code CLI · in the page
errors
…from draining the org balance. See [Manage costs effectively](/docs/en/costs). ### Could not update your spend limit The server rejected a spend limit change you made from the prompt that appears wh…
Speed up responses with fast mode
Claude Code CLI · in the page
fast-mode
…credits. To see your own usage-credits spend, run [`/usage`](/docs/en/costs#check-your-usage-credits-spend). For where your organization sees that spend, see [Claude for Teams and Enterprise](/docs/e…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…ing-usage). For how usage is measured and billed, see [costs](/docs/en/costs). ## Use a cloud provider By default, the Claude Code GitHub Action calls the Claude API directly with your API key or OA…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…el-aliases) to that model and runs [background functionality](/docs/en/costs#background-token-usage), such as conversation summarization, on it. </Warning> The evaluator runs on whichever provider yo…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…spend per invocation without consulting the [usage dashboard](/docs/en/costs). Both figures are [client-side estimates](/docs/en/agent-sdk/cost-tracking) and can differ from your actual bill. <Note>…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…-costs) for what each feature costs, and [reduce token usage](/docs/en/costs#reduce-token-usage) for tips on managing context. ## Stay safe with checkpoints and permissions Claude has two safety mec…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…its own. * **Early**: when you finish adding [usage credits](/docs/en/costs#add-usage-credits-to-your-subscription) with `/usage-credits`, sign back in after `/upgrade`, or switch models with `/model…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…after Claude edits files * Review [Manage costs effectively](/docs/en/costs) to understand how codebase size affects token usage and how to set spend limits before a wider rollout * Read [How Claude…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…aude Code's defaults, or you route [background functionality](/docs/en/costs#background-token-usage) to a different model. Route both the override names and the built-in model IDs Claude Code requests…
Model configuration
Claude Code CLI · in the page
model-config
…e usage credits, see [Add usage credits to your subscription](/docs/en/costs#add-usage-credits-to-your-subscription). In interactive sessions, Claude Code shows a consent prompt before a Fable 5 requ…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…il new content enters the conversation, or until [compaction](/docs/en/costs#reduce-token-usage) shrinks what the classifier reads. Claude Code then checks the host again * A deny that the classifier…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…dow): what loads into context and when * [Reduce token usage](/docs/en/costs#reduce-token-usage): strategies beyond caching for managing context size * [Track and reduce costs](/docs/en/agent-sdk/cost…
Prompt library
Claude Code CLI · in the page
prompt-library
…setup) for managed settings and policy, and [costs and usage](/docs/en/costs) for how this work is billed on your plan.
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…e or web doesn't send a [usage-credits request to your admin](/docs/en/costs#add-usage-credits-to-your-subscription). Sending requires a confirmation that appears only in the interactive CLI, so the c…
Catch security issues as Claude writes code
Claude Code CLI · in the page
security-guidance
…spend additional model usage that counts toward your [usage](/docs/en/costs) like any other Claude request. The commit review is agentic and may take several model turns per commit. Expect roughly on…
Manage sessions
Claude Code CLI · in the page
sessions
…in Claude's context. See [why usage climbs in a long session](/docs/en/costs#why-usage-climbs-in-a-long-session) for where that per-request cost comes from. ### Where the session picker looks Claude…
Find bugs with ultrareview
Claude Code CLI · in the page
ultrareview
…essions and cloud sandboxes work * [Manage costs effectively](/docs/en/costs): track usage and set spending limits
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…r more on tracking and reducing usage, see [Track your costs](/docs/en/costs#track-your-costs). ## Customize your workflow You can reposition the Claude panel, run multiple conversations, organize t…
Week 15 · April 6–10, 2026
Claude Code CLI · in the page
whats-new/2026-w15
…rprise users (control with <code>/effort</code>)</div> <div><code>/cost</code> shows a per-model and cache-hit breakdown for subscription users</div> <div><code>/release-notes</code> is now an…