[metadata]
apple-mobile-web-app-status-bar-style: default
description: Learn about Anthropic's pricing structure for models and features
mobile-web-app-capable: yes
og:description: Learn about Anthropic's pricing structure for models and features
og:image: https://platform.claude.com/docs/og?locale=en&path=about-claude/pricing&design-rev=1
og:image:alt: Pricing
og:image:height: 630
og:image:type: image/png
og:image:width: 1200
og:locale: en
og:site_name: Claude Platform Docs
og:title: Pricing
og:type: article
og:url: https://platform.claude.com/docs/en/about-claude/pricing
twitter:card: summary_large_image
twitter:description: Learn about Anthropic's pricing structure for models and features
twitter:image: https://platform.claude.com/docs/og?locale=en&path=about-claude/pricing&design-rev=1
twitter:title: Pricing
viewport: width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover

[canonical-links]
https://platform.claude.com/docs/en/about-claude/pricing

[document-links]
1M token context window: /docs/en/build-with-claude/context-windows
AI agents: https://claude.com/solutions/agents
Admin: /docs/en/manage-claude/admin-api
Amazon Bedrock global vs regional endpoints: /docs/en/build-with-claude/claude-in-amazon-bedrock#regions
Amazon Bedrock pricing: https://aws.amazon.com/bedrock/pricing/
Amazon Bedrock: /docs/en/build-with-claude/claude-in-amazon-bedrock
Anthropic: https://www.anthropic.com/company
Availability: https://www.anthropic.com/supported-countries
Batch processing: /docs/en/build-with-claude/batch-processing
Bedrock: https://aws.amazon.com/bedrock/pricing/
Best practices: /docs/en/about-claude/use-case-guides/overview
Blog: https://claude.com/blog
CLI, SDKs, and libraries: /docs/en/cli-sdks-libraries/overview
Careers: https://www.anthropic.com/careers
Choosing a model: /docs/en/about-claude/models/choosing-a-model
Claude API skill: /docs/en/agents-and-tools/agent-skills/claude-api-skill
Claude Console: /
Claude Console: /settings/limits
Claude Managed Agents: /docs/en/managed-agents/overview
Claude Mythos Preview: https://anthropic.com/glasswing
Claude Platform Docs: /docs
Claude Platform Docs: /docs/en/home
Claude Platform on AWS: /docs/en/build-with-claude/claude-platform-on-aws
Claude in Microsoft Foundry: /docs/en/build-with-claude/claude-in-microsoft-foundry
Claude on AWS: https://claude.com/partners/amazon-bedrock
Claude on Google Cloud: https://claude.com/partners/google-cloud-vertex-ai
Code modernization: https://claude.com/solutions/code-modernization
Coding: https://claude.com/solutions/coding
Connectors: https://claude.com/partners/mcp
Contact sales: /cdn-cgi/l/email-protection#b8cbd9d4ddcbf8d9d6ccd0cad7c8d1db96dbd7d5
Courses: https://claude.com/resources/courses
Customer stories: https://claude.com/customers
Customer support: https://claude.com/solutions/customer-support
Data residency: /docs/en/manage-claude/data-residency
Discord: https://www.anthropic.com/discord
Economic Futures: https://www.anthropic.com/economic-futures
Engineering at Anthropic: https://www.anthropic.com/engineering
Events: https://www.anthropic.com/events
Fast mode: /docs/en/build-with-claude/fast-mode
Fast mode: /docs/en/build-with-claude/fast-mode#supported-models
Financial services: https://claude.com/solutions/financial-services
Google Cloud global, multi-region, and regional endpoints: /docs/en/build-with-claude/claude-on-vertex-ai#global-multi-region-and-regional-endpoints
Google Cloud pricing: https://cloud.google.com/vertex-ai/generative-ai/pricing#claude-models
Google Cloud: /docs/en/build-with-claude/claude-on-vertex-ai
Google Cloud: https://cloud.google.com/vertex-ai/generative-ai/pricing#claude-models
Government: https://claude.com/solutions/government
Higher education: https://claude.com/solutions/education
Introducing Claude Fable 5 and Claude Mythos 5: /docs/en/about-claude/models/introducing-claude-fable-5-and-claude-mythos-5
K-12 teachers: https://claude.com/solutions/teachers
Life sciences: https://claude.com/solutions/life-sciences
Log in: /login?returnTo=%2Fdocs%2Fen%2Fabout-claude%2Fpricing
Managed Agents: /docs/en/managed-agents/overview
Messages: /docs/en/intro
Model IDs and versioning: /docs/en/about-claude/models/model-ids-and-versions
Model cards: /docs/en/resources/overview
Model deprecations: /docs/en/about-claude/model-deprecations
Models & pricing : /docs/en/about-claude/models/overview
Models overview: /docs/en/about-claude/models/overview
News: https://www.anthropic.com/news
Powered by Claude: https://claude.com/partners/powered-by-claude
Pricing: /docs/en/about-claude/pricing
Privacy policy: https://www.anthropic.com/legal/privacy
Prompt caching: /docs/en/build-with-claude/prompt-caching
Rate limits: /docs/en/api/rate-limits
Release notes: /docs/en/release-notes/overview
Research: https://www.anthropic.com/research
Responsible Scaling Policy: https://www.anthropic.com/news/announcing-our-updated-responsible-scaling-policy
Responsible disclosure policy: https://www.anthropic.com/responsible-disclosure-policy
Security and compliance: https://trust.anthropic.com
Service partners: https://claude.com/partners/services
Startups program: https://claude.com/programs/startups
Status: https://status.claude.com/
Support: https://support.claude.com/
System prompts: /docs/en/release-notes/system-prompts
Terms of service: Commercial: https://www.anthropic.com/legal/commercial-terms
Terms of service: Consumer: https://www.anthropic.com/legal/consumer-terms
Tool use: /docs/en/agents-and-tools/tool-use/overview
Transparency: https://www.anthropic.com/transparency
Upgrade between model versions: /docs/en/about-claude/models/migration-guide
Usage policy: https://www.anthropic.com/legal/aup
Use cases: https://claude.com/resources/use-cases
Vision pricing: /docs/en/build-with-claude/vision
What's new in Claude Opus 5: /docs/en/about-claude/models/whats-new-opus-5
What's new in Claude Sonnet 5: /docs/en/about-claude/models/whats-new-sonnet-5
[email protected]: /cdn-cgi/l/email-protection#0774666b6274476669736f7568776e642964686a
[email protected]: /cdn-cgi/l/email-protection#added8ddddc2dfd9edccc3d9c5dfc2ddc4ce83cec2c0
claude.com/pricing#api: https://claude.com/pricing#api
claude.com/pricing: https://claude.com/pricing
contact sales: /cdn-cgi/l/email-protection#8cffede0e9ffccede2f8e4fee3fce5efa2efe3e1
contact the sales team: https://claude.com/contact-sales
customer support agent guide: /docs/en/about-claude/use-case-guides/customer-support-chat
enterprise sales team: https://claude.com/contact-sales
https://instagram.com/claudeai
https://www.linkedin.com/showcase/claude
https://www.threads.com/@claudeai
https://www.youtube.com/@anthropic-ai
https://x.com/claudeai
limited availability: https://anthropic.com/glasswing
retired, except on Bedrock and Google Cloud: /docs/en/about-claude/model-deprecations
retired, except on Google Cloud: /docs/en/about-claude/model-deprecations
the legacy integration: /docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#global-vs-regional-endpoints
through August 31, 2026: /docs/en/about-claude/pricing#claude-sonnet-5-introductory-pricing
tool use pricing: /docs/en/agents-and-tools/tool-use/overview#pricing
tool use system prompt: /docs/en/agents-and-tools/tool-use/overview#pricing
 API reference: /docs/en/api/overview
 Console: /
 Log in: /login

[content]
Pricing - Claude Platform Docs
Claude Platform Docs
Messages
Managed Agents
Admin
Resources

Best practices
Models & pricing

CLI, SDKs, and libraries
Claude API skill
Release notes

API reference
English


Console
Log in



Search
⌘K
Models
Models overview
Model IDs and versioning
Choosing a model
Introducing Claude Fable 5 and Claude Mythos 5
What's new in Claude Sonnet 5
What's new in Claude Opus 5
Upgrade between model versions
Model deprecations
Model cards
System prompts
Pricing

Log in

Models & pricing

Pricing
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Claude Platform Docs
Solutions
AI agents
Code modernization
Coding
Customer support
Financial services
Government
Higher education
K-12 teachers
Life sciences
Partners
Claude on AWS
Claude on Google Cloud
Learn
Blog
Courses
Use cases
Connectors
Customer stories
Engineering at Anthropic
Events
Powered by Claude
Service partners
Startups program
Company
Anthropic
Careers
Economic Futures
Research
News
Responsible Scaling Policy
Security and compliance
Transparency
Learn
Blog
Courses
Use cases
Connectors
Customer stories
Engineering at Anthropic
Events
Powered by Claude
Service partners
Startups program
Help and security
Availability
Status
Support
Discord
Terms and policies
Privacy policy
Responsible disclosure policy
Terms of service: Commercial
Terms of service: Consumer
Usage policy
Models & pricing
/
Models
Pricing
Copy page

Learn about Anthropic's pricing structure for models and features
Copy page

This page provides detailed pricing information for Anthropic's models and features. All prices are in USD.
For the most current pricing information, visit
claude.com/pricing
.

Model pricing
The following table shows pricing for all Claude models:
Model
Base Input Tokens
5m Cache Writes
1h Cache Writes
Cache Hits & Refreshes
Output Tokens
Claude Fable 5
$10 / MTok
$12.50 / MTok
$20 / MTok
$1 / MTok
$50 / MTok
Claude Mythos 5 (
limited availability
)
$10 / MTok
$12.50 / MTok
$20 / MTok
$1 / MTok
$50 / MTok
Claude Opus 5
$5 / MTok
$6.25 / MTok
$10 / MTok
$0.50 / MTok
$25 / MTok
Claude Opus 4.8
$5 / MTok
$6.25 / MTok
$10 / MTok
$0.50 / MTok
$25 / MTok
Claude Opus 4.7
$5 / MTok
$6.25 / MTok
$10 / MTok
$0.50 / MTok
$25 / MTok
Claude Opus 4.6
$5 / MTok
$6.25 / MTok
$10 / MTok
$0.50 / MTok
$25 / MTok
Claude Opus 4.5
$5 / MTok
$6.25 / MTok
$10 / MTok
$0.50 / MTok
$25 / MTok
Claude Opus 4.1 (
retired, except on Bedrock and Google Cloud
)
$15 / MTok
$18.75 / MTok
$30 / MTok
$1.50 / MTok
$75 / MTok
Claude Opus 4 (
retired, except on Google Cloud
)
$15 / MTok
$18.75 / MTok
$30 / MTok
$1.50 / MTok
$75 / MTok
Claude Sonnet 5
through August 31, 2026
$2 / MTok
$2.50 / MTok
$4 / MTok
$0.20 / MTok
$10 / MTok
Claude Sonnet 5
starting September 1, 2026
$3 / MTok
$3.75 / MTok
$6 / MTok
$0.30 / MTok
$15 / MTok
Claude Sonnet 4.6
$3 / MTok
$3.75 / MTok
$6 / MTok
$0.30 / MTok
$15 / MTok
Claude Sonnet 4.5
$3 / MTok
$3.75 / MTok
$6 / MTok
$0.30 / MTok
$15 / MTok
Claude Sonnet 4 (
retired, except on Bedrock and Google Cloud
)
$3 / MTok
$3.75 / MTok
$6 / MTok
$0.30 / MTok
$15 / MTok
Claude Haiku 4.5
$1 / MTok
$1.25 / MTok
$2 / MTok
$0.10 / MTok
$5 / MTok
Claude Haiku 3.5 (
retired, except on Bedrock and Google Cloud
)
$0.80 / MTok
$1 / MTok
$1.60 / MTok
$0.08 / MTok
$4 / MTok

Introductory pricing of $2/$10 per million input/output tokens is in effect through August 31, 2026, after which the standard pricing of $3/$15 per million input/output tokens will take effect.

MTok = Million tokens. The "Base Input Tokens" column shows standard input pricing, the "5m Cache Writes", "1h Cache Writes", and "Cache Hits & Refreshes" columns are specific to
prompt caching
, and "Output Tokens" shows output pricing. See
prompt caching pricing
for an explanation of the cache columns and pricing multipliers.

Claude 4.7 and later models and Claude Mythos Preview use a newer tokenizer that contributes to their improved performance on a wide range of tasks. This tokenizer produces approximately 30% more tokens for the same text. The exact increase depends on the content and workload shape. Claude Sonnet 4.6 and earlier models use the previous tokenizer.
For Claude Platform on AWS pricing, see
Claude Platform on AWS pricing
.

Cloud platform pricing
This section covers partner-operated cloud platforms, where the cloud provider invoices you. For Anthropic-operated cloud platforms billed through a marketplace, see
Claude Platform on AWS pricing
and
Claude in Microsoft Foundry pricing
.
Claude models are available on
Amazon Bedrock
and
Google Cloud
. For official pricing, visit:
Amazon Bedrock pricing
Google Cloud pricing

Regional and multi-region endpoint pricing for Claude 4.5 models and beyond
Starting with Claude Sonnet 4.5, Haiku 4.5, and Opus 4.5:
Bedrock
offers two endpoint types: global endpoints (dynamic routing for maximum availability) and regional endpoints (guaranteed data routing through specific geographic regions).
Google Cloud
offers three endpoint types: global endpoints, multi-region endpoints (dynamic routing within a geographic area), and regional endpoints.
Regional and multi-region endpoints include a 10% premium over global endpoints. The Claude API (first-party) is global by default; for first-party data residency options and pricing, see
Data residency pricing
.
Scope:
This pricing structure applies to Claude Sonnet 4.5, Haiku 4.5, Opus 4.5, and all future models. Earlier models (Claude Opus 4.1
and prior releases) retain their existing pricing.
For implementation details and code examples:
Amazon Bedrock global vs regional endpoints
for Opus 4.7, Haiku 4.5, and later models, or
the legacy integration
for all other models on Bedrock
Google Cloud global, multi-region, and regional endpoints

Claude Platform on AWS pricing
Claude Platform on AWS
bills through AWS Marketplace 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 CCU, and reports the CCU quantity to AWS Marketplace hourly. Your AWS bill shows a single CCU line item.
Concept
Details
Billing unit
Claude Consumption Unit (CCU)
CCU price
$0.01 per CCU (fixed; discounts apply at token-to-CCU conversion, not to the CCU price)
Conversion
Token usage rated in USD at standard per-model, per-feature rates (same as
Claude API pricing
), then converted to CCUs at $0.01 per CCU
Billing cadence
Hourly metering to AWS Marketplace; monthly invoices
Payment model
Arrears only (postpaid); no prepaid credits
Discounts
Applied as fewer CCUs metered
Tax
Pre-tax metering; AWS Marketplace handles tax
Cost visibility
Real-time breakdown in the Claude Console (access through the AWS Console); AWS Cost Explorer shows aggregated CCU

Claude Consumption Units.
If Customer accesses the Services through certain Marketplace Platforms (e.g., Claude Platform on AWS), usage will be invoiced in Claude Consumption Units ("CCU") rather than per MTok. A CCU is a unit of measure used solely for Marketplace Platform invoicing. One hundred (100) CCU represents $1.00 USD of fees owed for the Services, calculated at the applicable prices on
claude.com/pricing#api
, after application of any discounts.

Inference geography
For Claude 4.6 and later models, using
inference_geo: "us"
applies a 1.1x pricing multiplier.
inference_geo: "global"
(default) uses standard pricing. See
Data residency
for details.

Private offers
When you sign up on the AWS Console
Claude Platform on AWS
service page, the AWS Console looks up any private offer associated with your account and prompts you to accept it in AWS Marketplace. Contact your Anthropic account representative for private offer terms.

If you have an existing Amazon Bedrock private offer, contact your Anthropic or AWS account representative before getting started with Claude Platform on AWS to ensure your discounts are applied correctly. Discounts cannot be applied retroactively to usage incurred before your private offer is accepted.

Claude in Microsoft Foundry pricing
Claude in Microsoft Foundry
bills through the Azure Marketplace 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 CCU, and reports the CCU quantity to the Azure Marketplace hourly. Your Azure bill shows a single CCU line item.
Concept
Details
Billing unit
Claude Consumption Unit (CCU)
CCU price
$0.01 per CCU (fixed; discounts apply at token-to-CCU conversion, not to the CCU price)
Conversion
Token usage rated in USD at standard per-model, per-feature rates (same as
Claude API pricing
), then converted to CCUs at $0.01 per CCU
Billing cadence
Hourly metering to the Azure Marketplace; monthly invoices
Payment model
Arrears only (postpaid); no prepaid credits
Discounts
Applied as fewer CCUs metered
Tax
Pre-tax metering; Azure Marketplace handles tax
Cost visibility
Azure Cost Management shows aggregated CCU

Claude Consumption Units.
If Customer accesses the Services through certain Marketplace Platforms (e.g., Claude Platform on AWS, Claude in Microsoft Foundry), usage will be invoiced in Claude Consumption Units ("CCU") rather than per MTok. A CCU is a unit of measure used solely for Marketplace Platform invoicing. One hundred (100) CCU represents $1.00 USD of fees owed for the Services, calculated at the applicable prices on
claude.com/pricing#api
, after application of any discounts.

Inference geography
Deployments hosted on Azure can use the US Data Zone Standard deployment type, which keeps inference within the United States. This is equivalent to
inference_geo: "us"
on the Claude API and applies the same 1.1x pricing multiplier. See
Data residency
for details.

Feature-specific pricing

Prompt caching
Prompt caching reduces costs and latency by reusing previously processed portions of your prompt across API calls. Instead of reprocessing the same large system prompt, document, or conversation history on every request, the API reads from cache at a fraction of the standard input price.
There are two ways to enable prompt caching:
Automatic caching:
Add a single
cache_control
field at the top level of your request. The system automatically manages cache breakpoints as conversations grow. This is the recommended starting point for most use cases.
Explicit cache breakpoints:
Place
cache_control
directly on individual content blocks for fine-grained control over exactly what gets cached.
Prompt caching uses the following pricing multipliers relative to base input token rates:
Cache operation
Multiplier
Duration
5-minute cache write
1.25x base input price
Cache valid for 5 minutes
1-hour cache write
2x base input price
Cache valid for 1 hour
Cache read (hit)
0.1x base input price
Same duration as the preceding write
Cache write tokens are charged when content is first stored. Cache read tokens are charged when a subsequent request retrieves the cached content. A cache hit costs 10% of the standard input price, which means caching pays off after one cache read for the 5-minute duration (1.25x write), or after two cache reads for the 1-hour duration (2x write).
These multipliers stack with other pricing modifiers, including the Batch API discount and data residency.
For implementation details, supported models, and code examples, see
Prompt caching
.

Data residency pricing
For Claude 4.6 and later models, specifying US-only inference through the
inference_geo
parameter incurs a 1.1x multiplier on all token pricing categories, including input tokens, output tokens, cache writes, and cache reads. Global routing (the default) uses standard pricing.
This applies to the Claude API (first-party) and Claude Platform on AWS. On Claude in Microsoft Foundry, the same 1.1x multiplier applies to deployments that use the US Data Zone Standard deployment type (see
Inference geography
). Partner-operated platforms (Bedrock and Google Cloud) have independent regional pricing. See
Bedrock
and
Google Cloud
for details. Earlier models do not support the
inference_geo
parameter and always use standard pricing; requests that include the parameter on these models return a 400 error.
For more information, see
Data residency
.

Fast mode pricing
Fast mode
, in research preview, provides significantly faster output for Claude Opus 5 and Claude Opus 4.8 at premium pricing. Fast mode pricing applies across the full context window, including requests over 200k input tokens. Fast mode is available on the Claude API (first-party) only; it is not available on Claude Platform on AWS or partner-operated cloud platforms.
Model
Input
Output
Claude Opus 5 / Claude Opus 4.8
$10 / MTok
$50 / MTok
Fast mode is not available on Claude Opus 4.7 (requests with
speed: "fast"
return an error) or Claude Opus 4.6 (requests run at standard speed and are billed at standard rates). See
Fast mode
.
Fast mode pricing stacks with other pricing modifiers:
Prompt caching multipliers
apply on top of fast mode pricing
Data residency
multipliers apply on top of fast mode pricing
Fast mode is not available with the
Batch API
.
For more information, see
Fast mode
.

Batch processing
The Batch API allows asynchronous processing of large volumes of requests with a 50% discount on both input and output tokens.
Model
Batch input
Batch output
Claude Fable 5
$5 / MTok
$25 / MTok
Claude Mythos 5 (
limited availability
)
$5 / MTok
$25 / MTok
Claude Opus 5
$2.50 / MTok
$12.50 / MTok
Claude Opus 4.8
$2.50 / MTok
$12.50 / MTok
Claude Opus 4.7
$2.50 / MTok
$12.50 / MTok
Claude Opus 4.6
$2.50 / MTok
$12.50 / MTok
Claude Opus 4.5
$2.50 / MTok
$12.50 / MTok
Claude Opus 4.1 (
retired, except on Bedrock and Google Cloud
)
$7.50 / MTok
$37.50 / MTok
Claude Opus 4 (
retired, except on Google Cloud
)
$7.50 / MTok
$37.50 / MTok
Claude Sonnet 5
through August 31, 2026
$1 / MTok
$5 / MTok
Claude Sonnet 5
starting September 1, 2026
$1.50 / MTok
$7.50 / MTok
Claude Sonnet 4.6
$1.50 / MTok
$7.50 / MTok
Claude Sonnet 4.5
$1.50 / MTok
$7.50 / MTok
Claude Sonnet 4 (
retired, except on Bedrock and Google Cloud
)
$1.50 / MTok
$7.50 / MTok
Claude Haiku 4.5
$0.50 / MTok
$2.50 / MTok
Claude Haiku 3.5 (
retired, except on Bedrock and Google Cloud
)
$0.40 / MTok
$2 / MTok
For more information about batch processing, see
Batch processing
.

Long context pricing
Claude 4.6 and later models and
Claude Mythos Preview
include the full
1M token context window
at standard pricing. (A 900k-token request is billed at the same per-token rate as a 9k-token request.) Prompt caching and batch processing discounts apply at standard rates across the full context window.

Tool use pricing
Tool use requests are priced based on:
The total number of input tokens sent to the model (including in the
tools
parameter)
The number of output tokens generated
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 Claude API request, although server-side tools can incur additional charges based on their specific usage.
The additional tokens from tool use come from:
The
tools
parameter in API requests (tool names, descriptions, and schemas)
tool_use
content blocks in API requests and responses
tool_result
content blocks in API requests
When you use
tools
, the API also automatically includes a special system prompt for the model that enables tool use. The number of tool use tokens required for each model is listed in the following table (excluding the additional tokens listed earlier). Note that the table assumes at least 1 tool is provided. If no
tools
are provided, then a tool choice of
none
uses 0 additional system prompt tokens.
Model
Tool choice
Tool use system prompt token count
Claude Opus 5
auto
,
none
any
,
tool
286 tokens
406 tokens
Claude Opus 4.8
auto
,
none
any
,
tool
290 tokens
410 tokens
Claude Opus 4.7
auto
,
none
any
,
tool
675 tokens
804 tokens
Claude Opus 4.6
auto
,
none
any
,
tool
497 tokens
589 tokens
Claude Opus 4.5
auto
,
none
any
,
tool
496 tokens
588 tokens
Claude Opus 4.1 (
retired, except on Bedrock and Google Cloud
)
auto
,
none
any
,
tool
313 tokens
315 tokens
Claude Opus 4 (
retired, except on Google Cloud
)
auto
,
none
any
,
tool
313 tokens
315 tokens
Claude Sonnet 5
auto
,
none
any
,
tool
354 tokens
474 tokens
Claude Sonnet 4.6
auto
,
none
any
,
tool
497 tokens
589 tokens
Claude Sonnet 4.5
auto
,
none
any
,
tool
496 tokens
588 tokens
Claude Sonnet 4 (
retired, except on Bedrock and Google Cloud
)
auto
,
none
any
,
tool
313 tokens
315 tokens
Claude Haiku 4.5
auto
,
none
any
,
tool
496 tokens
588 tokens
Claude Haiku 3.5 (
retired, except on Bedrock and Google Cloud
)
auto
,
none
any
,
tool
264 tokens
355 tokens
These token counts are added to your normal input and output tokens to calculate the total cost of a request.
For current per-model prices, refer to the
model pricing
section.
For more information about tool use implementation and best practices, see
Tool use
.

Specific tool pricing

Bash tool
The bash tool definition adds the following input tokens to your request. This is in addition to the per-model
tool use system prompt
that applies whenever any tool is present.
Model
Additional input tokens
Claude Opus 5, Claude Opus 4.8, and Claude Opus 4.7
325 tokens
Claude Opus 4.6, Claude Sonnet 4.6, and earlier
244 tokens
Additional tokens are consumed by:
Command outputs (stdout/stderr)
Error messages
Large file contents
See
tool use pricing
for complete pricing details.

Code execution tool
Code execution is free when used with web search or web fetch.
When
web_search_20260209
(or later) or
web_fetch_20260209
(or later) is included in your API request, there are no additional charges for code execution tool calls beyond the standard input and output token costs.
When used without these tools, code execution is billed by execution time, tracked separately from token usage:
Execution time has a minimum of 5 minutes
Each organization receives
1,550 free hours
of usage per month
Additional usage beyond 1,550 hours is billed at
$0.05 USD per hour, per container
If files are included in the request, execution time is billed even if the tool is not called, because files are preloaded onto the container
Code execution usage is tracked in the response:
{
"usage"
: {
"input_tokens"
:
105
,
"output_tokens"
:
239
,
"server_tool_use"
: {
"code_execution_requests"
:
1
}
}
}


Text editor tool
The text editor tool uses the same pricing structure as other tools used with Claude. It follows the standard input and output token pricing based on the Claude model you're using.
In addition to the base tokens, the following additional input tokens are needed for the text editor tool:
Tool
Additional input tokens
text_editor_20250429
(Claude 4.x)
700 tokens
See
tool use pricing
for complete pricing details.

Web search tool
Web search usage is charged in addition to token usage:
{
"usage"
: {
"input_tokens"
:
105
,
"output_tokens"
:
6039
,
"cache_read_input_tokens"
:
7123
,
"cache_creation_input_tokens"
:
7345
,
"server_tool_use"
: {
"web_search_requests"
:
1
}
}
}

Web search is available on the Claude API for
$10 per 1,000 searches
, plus standard token costs for search-generated content. Web search results retrieved throughout a conversation are counted as input tokens, in search iterations executed during a single turn and in subsequent conversation turns.
Each web search counts as one use, regardless of the number of results returned. If an error occurs during web search, the web search will not be billed.

Web fetch tool
Web fetch usage has
no additional charges
beyond standard token costs:
{
"usage"
: {
"input_tokens"
:
25039
,
"output_tokens"
:
931
,
"cache_read_input_tokens"
:
0
,
"cache_creation_input_tokens"
:
0
,
"server_tool_use"
: {
"web_fetch_requests"
:
1
}
}
}

The web fetch tool is available on the Claude API at
no additional cost
. You only pay standard token costs for the fetched content that becomes part of your conversation context.
To protect against inadvertently fetching large content that would consume excessive tokens, use the
max_content_tokens
parameter to set appropriate limits based on your use case and budget considerations.
Example token usage for typical content:
Average web page (10 kB): ~2,500 tokens
Large documentation page (100 kB): ~25,000 tokens
Research paper PDF (500 kB): ~125,000 tokens

Computer use tool
Computer use follows the standard
tool use pricing
. When using the computer use tool:
System prompt overhead:
The computer use beta adds 466–499 tokens to the system prompt
Computer use tool token usage:
Model
Input tokens per tool definition
Claude 4.x models
735 tokens
Additional token consumption:
Screenshot images (see
Vision pricing
)
Tool execution results returned to Claude

If you're also using bash or text editor tools alongside computer use, those tools have their own token costs as documented in their respective pages.

Claude Managed Agents pricing
Claude Managed Agents
is billed on two dimensions: tokens and session runtime.

Tokens
All tokens consumed by a Claude Managed Agents session are billed at the rates shown in
Model pricing
.
Prompt caching
multipliers apply identically. Web search triggered inside a session incurs the standard $10 per 1,000 searches. On
Claude Platform on AWS
, session token and runtime charges convert to Claude Consumption Units at the standard rate.
Fast mode
premium pricing applies when an agent's
model.speed
is set to
"fast"
.
The
data residency multiplier
also applies: when an agent's
model.inference_geo
is pinned to
"us"
, tokens consumed by sessions running that agent are billed at 1.1x the standard rates, the same multiplier that applies to US-only inference on the Messages API.
The following Messages API modifiers do
not
apply to Claude Managed Agents sessions:
Modifier
Why it doesn't apply
Batch API discount
Sessions are stateful and interactive. There is no batch mode.
Cloud platform pricing
Not available on partner-operated cloud platforms.

Session runtime
SKU
Rate
Metering
Session runtime
$0.08 per session-hour
running
status duration
Runtime is measured to the millisecond and accrues only while the session's status is
running
. Time spent
idle
(waiting for your next message or a tool confirmation),
rescheduling
, or
terminated
does not count toward runtime.

Session runtime replaces the
code execution
container-hour billing model when using Claude Managed Agents. You are not separately billed for container hours on top of session runtime.

Worked example
A one-hour coding session using Claude Opus 5 that consumes 50,000 input tokens and 15,000 output tokens:
Line item
Calculation
Cost
Input tokens
50,000 × $5 / 1,000,000
$0.25
Output tokens
15,000 × $25 / 1,000,000
$0.375
Session runtime
1.0 hour × $0.08
$0.08
Total
$0.705
If prompt caching is active and 40,000 of the input tokens are cache reads:
Line item
Calculation
Cost
Uncached input tokens
10,000 × $5 / 1,000,000
$0.05
Cache read tokens
40,000 × $5 × 0.1 / 1,000,000
$0.02
Output tokens
15,000 × $25 / 1,000,000
$0.375
Session runtime
1.0 hour × $0.08
$0.08
Total
$0.525

Example calculation for processing 10,000 support tickets:
Average ~3,700 tokens per conversation
Using Claude Haiku 4.5 at $1/MTok input, $5/MTok output
Total cost: ~$37.00 per 10,000 tickets
For a detailed walkthrough of this calculation, see the
customer support agent guide
.

Additional pricing considerations

Cost optimization strategies
When building agents with Claude:
Use appropriate models:
Choose Haiku for simple tasks, Sonnet for most production workloads, and Opus for the most complex reasoning
Implement prompt caching:
Reduce costs for repeated context
Batch operations:
Use the Batch API for non-time-sensitive tasks
Monitor usage patterns:
Track token consumption to identify optimization opportunities

For high-volume agent applications, contact the
enterprise sales team
for custom pricing arrangements.

Rate limits
Rate limits vary by usage tier and affect how many requests you can make:
Start tier:
Entry-level limits for getting started
Build tier:
Increased limits for growing applications
Scale tier:
Highest standard limits for production workloads
For detailed rate limit information, see
Rate limits
.
For limits beyond the Scale tier or custom pricing arrangements,
contact the sales team
.

Volume discounts
Volume discounts may be available for high-volume users. These are negotiated on a case-by-case basis.
Standard usage tiers use the pricing shown in
Model pricing
Enterprise customers can
contact sales
for custom pricing
Academic and research discounts may be available

Enterprise pricing
For enterprise customers with specific needs:
Custom rate limits
Volume discounts
Dedicated support
Custom terms
Contact the sales team at
[email protected]
or through the
Claude Console
to discuss enterprise pricing options.

Billing and payment
Billing is based on actual monthly usage
All payments are in USD
Credit card and invoicing options available
Usage tracking available in the
Claude Console

Frequently asked questions
How is token usage calculated?
Tokens are pieces of text that models process. As a rough estimate, 1 token is approximately 4 characters or 0.75 words in English. The exact count varies by language and content type.
Are there free tiers or trials?
New users receive a small amount of free credits to test the API.
Contact sales
for information about extended trials for enterprise evaluation.
How do discounts stack?
Batch API and prompt caching discounts can be combined. For example, using both features together provides significant cost savings compared to standard API calls. See
prompt caching pricing
for how the multipliers interact.
What payment methods are accepted?
Major credit cards are accepted for standard accounts. Enterprise customers can arrange invoicing and other payment methods.
For additional questions about pricing, contact
[email protected]
.
Was this page helpful?


Model pricing
Cloud platform pricing
Claude Platform on AWS pricing
Inference geography
Private offers
Claude in Microsoft Foundry pricing
Inference geography
Feature-specific pricing
Prompt caching
Data residency pricing
Fast mode pricing
Batch processing
Long context pricing
Tool use pricing
Specific tool pricing
Claude Managed Agents pricing
Tokens
Session runtime
Worked example
Additional pricing considerations
Cost optimization strategies
Rate limits
Volume discounts
Enterprise pricing
Billing and payment
Frequently asked questions
