Pricing
Learn about Anthropic’s pricing structure for models and features
This page provides detailed pricing information for Anthropic’s models and features. All prices are in USD.
For the most current pricing information, please visit anthropic.com/pricing.
Model pricing
The following table shows pricing for all Claude models across different usage tiers:
Model | Base Input Tokens | Cache Writes | Cache Hits | Output Tokens |
---|---|---|---|---|
Claude 3.7 Sonnet | $3 / MTok | $3.75 / MTok | $0.30 / MTok | $15 / MTok |
Claude 3.5 Sonnet | $3 / MTok | $3.75 / MTok | $0.30 / MTok | $15 / MTok |
Claude 3.5 Haiku | $0.80 / MTok | $1 / MTok | $0.08 / MTok | $4 / MTok |
Claude 3 Opus | $15 / MTok | $18.75 / MTok | $1.50 / MTok | $75 / MTok |
Claude 3 Haiku | $0.25 / MTok | $0.30 / MTok | $0.03 / MTok | $1.25 / MTok |
MTok = Million tokens. The “Base Input Tokens” column shows standard input pricing, “Cache Writes” and “Cache Hits” are specific to prompt caching, and “Output Tokens” shows output pricing.
Feature-specific pricing
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 3.7 Sonnet | $1.50 / MTok | $7.50 / MTok |
Claude 3.5 Sonnet | $1.50 / MTok | $7.50 / MTok |
Claude 3.5 Haiku | $0.40 / MTok | $2 / MTok |
Claude 3 Opus | $7.50 / MTok | $37.50 / MTok |
Claude 3 Haiku | $0.125 / MTok | $0.625 / MTok |
For more information about batch processing, see our batch processing documentation.
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 (e.g., web search charges per search performed)
Client-side tools are priced the same as any other Claude API request, while server-side tools may 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 responsestool_result
content blocks in API requests
When you use tools
, we also automatically include a special system prompt for the model which enables tool use. The number of tool use tokens required for each model are listed below (excluding the additional tokens listed above). 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 3.7 Sonnet | auto , none any , tool | 346 tokens 313 tokens |
Claude 3.5 Sonnet (Oct) | auto , none any , tool | 346 tokens 313 tokens |
Claude 3 Opus | auto , none any , tool | 530 tokens 281 tokens |
Claude 3 Sonnet | auto , none any , tool | 159 tokens 235 tokens |
Claude 3 Haiku | auto , none any , tool | 264 tokens 340 tokens |
Claude 3.5 Sonnet (June) | auto , none any , tool | 294 tokens 261 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 our model pricing section above.
For more information about tool use implementation and best practices, see our tool use documentation.
Agent use case pricing examples
Understanding pricing for agent applications is crucial when building with Claude. These real-world examples can help you estimate costs for different agent patterns.
Customer support agent example
When building a customer support agent, here’s how costs might break down:
Example calculation for processing 10,000 support tickets:
- Average ~3,700 tokens per conversation
- Using Claude 3.7 Sonnet at 15/MTok output
- Total cost: ~$22.20 per 10,000 tickets
For a detailed walkthrough of this calculation, see our customer support agent guide.
General agent workflow pricing
For more complex agent architectures with multiple steps:
-
Initial request processing
- Typical input: 500-1,000 tokens
- Processing cost: ~$0.003 per request
-
Memory and context retrieval
- Retrieved context: 2,000-5,000 tokens
- Cost per retrieval: ~$0.015 per operation
-
Action planning and execution
- Planning tokens: 1,000-2,000
- Execution feedback: 500-1,000
- Combined cost: ~$0.045 per action
For a comprehensive guide on agent pricing patterns, see our agent use cases guide.
Cost optimization strategies
When building agents with Claude:
- Use appropriate models: Choose Haiku for simple tasks, Sonnet for 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, consider contacting our enterprise sales team for custom pricing arrangements.
Additional pricing considerations
Rate limits
Rate limits vary by usage tier and affect how many requests you can make:
- Tier 1: Entry-level usage with basic limits
- Tier 2: Increased limits for growing applications
- Tier 3: Higher limits for established applications
- Tier 4: Maximum standard limits
- Enterprise: Custom limits available
For detailed rate limit information, see our rate limits documentation.
Volume discounts
Volume discounts may be available for high-volume users. These are negotiated on a case-by-case basis.
- Standard tiers use the pricing shown above
- 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 our sales team at sales@anthropic.com or through the Anthropic Console to discuss enterprise pricing options.
Billing and payment
- Billing is calculated monthly based on actual usage
- Payments are processed in USD
- Credit card and invoicing options available
- Usage tracking available in the Anthropic 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.
What payment methods are accepted?
We accept major credit cards for standard accounts. Enterprise customers can arrange invoicing and other payment methods.
For additional questions about pricing, contact support@anthropic.com.
Was this page helpful?