Claude API Pricing
v1.0.0Current Claude API prices and cost estimates with prompt caching and Batch API pricing.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_claude_models List Claude models and prices
List current Claude API models with their prices in USD per million tokens: input, output, prompt-cache writes (5 min / 1 h), cache reads, and the Batch API discount.
estimate_claude_cost Estimate Claude API cost
Estimate the USD cost of Claude API calls from token counts. Handles prompt caching (cache writes and reads), the Batch API 50% discount and long-prompt pricing. Returns cost per request and in total.
| Parameter | Type | Description |
|---|---|---|
input_tokens * | number | Uncached input tokens per request |
model * | string | Model id, e.g. claude-fable-5-2, claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5 |
output_tokens * | number | Output tokens per request (includes thinking tokens) |
batch | boolean | Use Batch API pricing (default false) |
cache_read_tokens | number | Tokens read from the prompt cache per request |
cache_write_1h_tokens | number | Tokens written to the 1-hour prompt cache per request |
cache_write_5m_tokens | number | Tokens written to the 5-minute prompt cache per request |
requests | number | Number of requests (default 1) |
compare_claude_models Compare Claude model costs
Compare what the same workload costs on every Claude model, cheapest first. Give tokens per request and the number of requests (e.g. per user per month).
| Parameter | Type | Description |
|---|---|---|
input_tokens * | number | Input tokens per request |
output_tokens * | number | Output tokens per request |
batch | boolean | Use Batch API pricing (default false) |
requests | number | Number of requests (default 1) |