Search the documentation
50 pages for usage.
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.
Get Chat Project Usage
Claude Developer Platform · title
api/beta/organization/analytics/chat_projects/list
Get Connector Usage
Claude Developer Platform · title
api/beta/organization/analytics/connectors/list
Get Plugin Usage
Claude Developer Platform · title
api/beta/organization/analytics/plugins/list
Get Skill Usage
Claude Developer Platform · title
api/beta/organization/analytics/skills/list
Usage
Claude Developer Platform · title
api/beta/organization/analytics/usage
Get Token Usage Over Time
Claude Developer Platform · title
api/beta/organization/analytics/usage/list
Get Per-User Token Usage
Claude Developer Platform · title
api/beta/organization/analytics/usage/list_by_user
Usage Report
Claude Developer Platform · title
api/beta/organization/usage_report
Get Claude Code Usage Report
Claude Developer Platform · title
api/beta/organization/usage_report/retrieve_claude_code
Get Messages Usage Report
Claude Developer Platform · title
api/beta/organization/usage_report/retrieve_messages
API usage primer for Claude
Claude Developer Platform · title
claude_api_primer
Track cost and usage
Claude Code CLI · title
agent-sdk/cost-tracking
Track team usage with analytics
Claude Code CLI · title
analytics
Data usage
Claude Code CLI · title
data-usage
Monitor Claude Science usage
Claude Documentation · title
claude-science/monitor-usage
Usage
Claude Documentation · title
government/account/usage
First request
Claude Developer Platform · path
manage-claude/usage-cost-api
Monitoring
Claude Code CLI · path
monitoring-usage
model-deprecations
Claude Developer Platform · in the page
about-claude/model-deprecations
…## Migrating to replacements Once a model is deprecated, migrate all usage to a suitable replacement before the retirement date. Requests to models past the retirement date will fail. To help measur…
choosing-a-model
Claude Developer Platform · in the page
about-claude/models/choosing-a-model
…g. * **Cost:** What's your budget for both development and production usage? * **Effort:** Several Claude models support an [effort parameter](https://platform.claude.com/docs/en/build-with-claude/eff…
Or, for the model with the same capabilities and no access approval requirement:
Claude Developer Platform · in the page
about-claude/models/migration-guide
…demanding tasks but may show diminishing returns from increased token usage and can be prone to overthinking on simpler ones. If you run at `xhigh` or `max` effort, set a large `max_tokens` so the mod…
optimizing-for-cost-and-intelligence
Claude Developer Platform · in the page
about-claude/models/optimizing-for-cost-and-intelligence
…ture-support) for which. Start near your loop's 90th-percentile token usage, then tighten ([Choosing a budget](https://platform.claude.com/docs/en/build-with-claude/task-budgets#choosing-a-budget) sho…
pricing
Claude Developer Platform · in the page
about-claude/pricing
…ace using Claude Consumption Units (CCUs). Anthropic rates your token usage in USD at standard per-model, per-feature rates, applies any negotiated discount, converts the result to CCUs at $0.01 per C…
Create an instance of the Claude API client
Claude Developer Platform · in the page
about-claude/use-case-guides/ticket-routing
…Accordion title="User guidance"> * How-to questions * Feature usage assistance * Best practices advice * Troubleshooting guidance </Accordion> <Accordion title="Feedback"> * B…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/best-practices
…. --- Good Skills are concise, well-structured, and tested with real usage. This guide provides practical authoring decisions to help you write Skills that Claude can discover and use effectively. F…
claude-api-skill
Claude Developer Platform · in the page
agents-and-tools/agent-skills/claude-api-skill
…lient.beta.sessions.*`, and `client.beta.vaults.*` calls. ## Example usage Here are examples of tasks the skill helps Claude handle: **Building a chat application:** ```text wrap Build a streaming…
enterprise
Claude Developer Platform · in the page
agents-and-tools/agent-skills/enterprise
…se, owner, and version. </Step> <Step title="Monitor"> Track usage patterns and collect feedback from users. Rerun evaluations periodically to detect drift or regressions as workflows and mod…
Edit docker-compose.yaml: increment the integer in the setup service's
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/deploy-compose
…-addext "basicConstraints=critical,CA:TRUE" \ -addext "keyUsage=critical,keyCertSign,cRLSign" \ -addext "subjectKeyIdentifier=hash" # Extension file for the server certi…
deploy-helm
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/deploy-helm
…-addext "basicConstraints=critical,CA:TRUE" \ -addext "keyUsage=critical,keyCertSign,cRLSign" \ -addext "subjectKeyIdentifier=hash" # Extension file for the server certi…
quickstart
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/quickstart
…-addext "basicConstraints=critical,CA:TRUE" \ -addext "keyUsage=critical,keyCertSign,cRLSign" \ -addext "subjectKeyIdentifier=hash" cat > data/tls.ext <<EOF subj…
reference
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/reference
…`, marked critical. * `SubjectKeyIdentifier` extension present. * `KeyUsage` includes `keyCertSign`. * Within its validity period. * RSA 2048-bit or larger, or ECDSA P-256 or larger, with a SHA-256 or…
advisor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/advisor-tool
…resumes streaming. A `message_delta` event follows with the updated `usage.iterations` array reflecting the advisor's token counts. ## Usage and billing Advisor calls run as a separate sub-inferenc…
bash-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/bash-tool
…ables, and any running processes are gone. <Accordion title="Example usage"> Run a command: ```json { "command": "ls -la *.py" } ``` Restart the session: ```json { "restart…
browser-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/browser-use-tool
…the count. The exact count for a request is reported in the response `usage`, and you can estimate it in advance with the [token counting endpoint](https://platform.claude.com/docs/en/build-with-claud…
code-execution-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/code-execution-tool
…l tools | `too_many_requests` | Rate limit exceeded for tool usage | | bash | `output_file_too_large` | Command output exceeded the maximum size…
computer-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/computer-use-tool
…se tokens. The exact count for a request is reported in the response `usage`, and you can estimate it in advance with the [token counting endpoint](https://platform.claude.com/docs/en/build-with-claud…
define-tools
Claude Developer Platform · in the page
agents-and-tools/tool-use/define-tools
…leaves Claude with many open questions about the tool's behavior and usage. <Tip> For deeper guidance on tool design (consolidation, naming, and response shaping), see [Writing tools for agents](h…
manage-tool-context
Claude Developer Platform · in the page
agents-and-tools/tool-use/manage-tool-context
…tra turn to look up a tool) for a large reduction in baseline context usage. ### Programmatic tool calling Programmatic tool calling collapses a sequence of tool calls into a single code block that…
memory-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/memory-tool
…memory-tool#path-traversal-protection) before you write it. ## Basic usage <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "…
overview
Claude Developer Platform · in the page
agents-and-tools/tool-use/overview
…umber of output tokens generated 3. For server-side tools, additional usage-based pricing (for example, web search charges per search performed) Client-side tools are priced the same as any other Cla…
parallel-tool-use
Claude Developer Platform · in the page
agents-and-tools/tool-use/parallel-tool-use
…tool-use#maximizing-parallel-tool-use). **3. Measuring parallel tool usage** To verify parallel tool calls are working: <CodeGroup> ```bash cURL # Measuring parallel tool use is client-side ana…
Process results programmatically
Claude Developer Platform · in the page
agents-and-tools/tool-use/programmatic-tool-calling
…-use/programmatic-tool-calling#when-to-use-programmatic-calling). ## Usage and pricing Programmatic tool calling uses the same pricing as code execution. See the [code execution pricing](https://pla…
text-editor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/text-editor-tool
…odeGroup> </Accordion> </AccordionGroup> *** ## Pricing and token usage The text editor tool uses the same pricing structure as other tools used with Claude. It follows the standard input and out…
Log at info level
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-runner
…b/main/helpers.md#3-auto-looping-tool-runner-beta). </Note> ## Basic usage Define tools using the SDK helpers, then use the tool runner to run them. Depending on the SDK's tool signature, a tool re…
tool-search-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-search-tool
…Monitor which tools Claude discovers to refine your descriptions. ## Usage Tool search isn't metered as a separate server tool. The response's `usage.server_tool_use` object has no tool search field…
tool-use-with-prompt-caching
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-use-with-prompt-caching
…any TTL you set on your own `cache_control` markers. In the response `usage`, these writes appear under `cache_creation.ephemeral_5m_input_tokens`, so you may see 5-minute cache writes even when every…
web-fetch-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/web-fetch-tool
…t exceeds this limit, the tool truncates it. This helps control token usage when fetching large documents. The limit applies to text content, not to binary content such as PDFs. <Note> The `max_con…
web-search-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/web-search-tool
…r and i..." } ] } ], "id": "msg_a930390d3a", "usage": { "input_tokens": 6039, "output_tokens": 931, "server_tool_use": { "web_search_requests": 1 } },…
Beta
Claude Developer Platform · in the page
api/beta
…oceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallb…
Dreams
Claude Developer Platform · in the page
api/beta/dreams
…and hasn't read its inputs yet. `outputs` is empty and every `usage` count is zero. - `"running"` The dream is reading its inputs and writing its result. `usage` updates whi…