Skip to main content

How cache and fast-mode pricing is tracked

Claude 4.6 and later models bill the full 1M window at standard rates, except Haiku 5.5: prompts over 100,000 tokens use a higher rate for the full request. For global streaming requests, Timbal’s collector emits one unit per disjoint token bucket. Multipliers below are relative to the model’s input rate unless specified otherwise: output_tokens_details.thinking_tokens is a subset of output_tokens and is not emitted as a separate unit (it would be billed twice). On Opus 5.5 / Opus 5 / Opus 4.8, usage.speed == "fast" (fast mode, 2x) suffixes every token unit with _fast, e.g. anthropic/claude-opus-5-5:output_tokens_fast; pass model_params={"extra_body": {"speed": "fast"}, "extra_headers": {"anthropic-beta": "fast-mode-2026-02-01"}} to opt in. If a stream is interrupted before the final message_delta, the prompt-side units are still recorded from message_start (Anthropic charges them regardless); output is left unbilled. On Haiku 5.5, the tier threshold uses input_tokens + cache_read_input_tokens + cache_creation_input_tokens. Exactly 100,000 prompt tokens still use the lower rates. Above that boundary, every token unit receives _long_context, including output and both cache-write durations, e.g. anthropic/claude-haiku-5-5:ephemeral_1h_input_tokens_long_context. The per-TTL write breakdown is already included in cache_creation_input_tokens and is not counted twice. Per-call tool fees keep their original units. The same tier selection applies to prompt usage from interrupted streams. Web search costs $0.01 per search plus token charges; web fetch has no additional per-call fee. Code execution is free alongside the current web search/fetch tools; otherwise Anthropic bills execution time, with 1,550 free hours per organization per month, then $0.05 per container-hour and a five-minute minimum. A code_execution_requests count alone is insufficient to calculate that charge. The catalog stores global standard input, output, cache-read, and both cache-write rates explicitly: cached_input_price for reads, cache_write_price for 5m writes, and cache_write_1h_price for 1h writes. The SQL generator omits each missing or null rate independently, including its fast-mode variant; it never derives cache prices from the input price. Omitted rates are unknown, not free. The collector does not distinguish Batch API or US-only inference pricing in its usage keys. Apply those provider modifiers separately when reconciling billing. An aggregate cache-write count without a valid TTL breakdown cannot exactly price 1h or mixed-TTL writes.

Latest

claude-fable-5-1

Reasoning · Speedanthropic/claude-fable-5-1Anthropic’s most capable generally available model. Successor to Fable 5 for long-running agentic coding, knowledge work, and research, with fewer false-positive safety refusals in multi-turn agent loops. Same price as Fable 5; cache reads are 75% cheaper.
  • $10 / $50 per 1M tokens (input / output); cache reads $0.25 (0.025x input); batch $5 / $25
  • 1M context
  • 128K max output
  • Text, Image input
  • Adaptive thinking (always on)
  • Web search
  • Knowledge cutoff Jun 2026
  • tool_choice any / tool not supported (400); requires 30-day data retention (no ZDR)

claude-opus-5-5

Reasoning · Speedanthropic/claude-opus-5-5Latest Opus for long-running agentic coding and knowledge work. Lower input, output, and cache-read prices than Opus 5.
  • $4 / $20 per 1M tokens (input / output); cache reads $0.20; 5m / 1h cache writes $5 / $8
  • Fast mode $8 / $40; cache reads $0.40; 5m / 1h writes $10 / $16 (Claude API research preview, requires access)
  • Provider Batch API input / output $2 / $10; global prices, US-only inference adds 10%
  • 1M context at standard rates
  • 128K max output (300K with the provider’s Batch API beta)
  • Text, Image input; Text output
  • Adaptive thinking always on; default effort medium
  • Knowledge cutoff Jun 2026
  • Disabled/budgeted thinking and forced tool_choice (any / tool) return 400

claude-opus-5

Reasoning · Speedanthropic/claude-opus-5Previous Opus generation for complex agentic coding and enterprise work. Superseded by Opus 5.5, which has lower token and cache-read prices.
  • $5 / $25 per 1M tokens (input / output; Fast mode $10 / $50 at ~2.5x speed)
  • 1M context (default and maximum)
  • 128K max output
  • Text, Image input
  • Adaptive thinking (on by default)
  • Web search
  • Knowledge cutoff May 2026

claude-sonnet-5-5

Reasoning · Speedanthropic/claude-sonnet-5-5Latest Sonnet for coding, agents, and professional work. Supersedes Sonnet 5 at the same input/output prices and half the cache-read price.
  • $2 / $10 per 1M tokens (input / output); cache reads $0.10; 5m / 1h cache writes $2.50 / $4
  • Provider Batch API input / output $1 / $5; cache reads $0.05; 5m / 1h writes $1.25 / $2
  • US-only inference adds 10% to all token rates: standard input / output $2.20 / $11; cache reads $0.11; 5m / 1h writes $2.75 / $4.40
  • No long-context surcharge; fast mode is not available
  • 1M context at standard rates
  • 128K max output (300K with the provider’s Batch API beta)
  • Text, Image input; Text output
  • Adaptive thinking on by default; default effort high
  • Knowledge cutoff Jun 2026; released September 28, 2026
  • Disabled/budgeted thinking, forced tool_choice (any / tool), and non-default sampling parameters return 400

claude-sonnet-5

Reasoning · Speedanthropic/claude-sonnet-5Previous Sonnet generation for coding, agents, and everyday professional work. Superseded by Sonnet 5.5 at the same token prices.
  • $2 / $10 per 1M tokens (input / output)
  • 1M context
  • 128K max output
  • Text, Image input
  • Adaptive thinking
  • Web search
  • Knowledge cutoff Jan 2026

claude-opus-4-8

Reasoning · Speedanthropic/claude-opus-4-8Previous Opus generation for agentic coding, long-running tasks, and complex reasoning. Same price as Opus 5 — migrate unless you depend on thinking being off by default.
  • $5 / $25 per 1M tokens (input / output)
  • 1M context
  • 128K max output
  • Text, Image input
  • Adaptive thinking
  • Web search
  • Knowledge cutoff Jan 2026

claude-opus-4-7

Reasoning · Speedanthropic/claude-opus-4-7Frontier Opus for agentic coding and complex reasoning: stronger software engineering, verification, and high-resolution vision than 4.6, with adaptive thinking and a 1M-token context window at standard per-token rates.
  • $5 / $25 per 1M tokens (input / output)
  • 1M context
  • 128K max output
  • Text, Image input
  • Adaptive thinking
  • Web search
  • Knowledge cutoff Jan 2026

claude-opus-4-6

Reasoning · Speedanthropic/claude-opus-4-6Anthropic’s most intelligent model for building agents and coding. Exceptional at planning, code review, debugging, and operating reliably within large codebases.
  • $5 / $25
  • 1M context
  • 128K max output
  • Text, Image input
  • Extended thinking
  • Web search
  • Knowledge cutoff May 2025

claude-haiku-5-5

Reasoning · Speedanthropic/claude-haiku-5-5Latest and fastest Haiku for high-volume classification, extraction, routing, and subagent tasks.
  • Prompts up to 100K: $0.10 / $0.50 per 1M tokens (input / output); cache reads $0.01; 5m / 1h cache writes $0.125 / $0.20
  • Prompts over 100K: input / output $0.50 / $2.50; cache reads $0.05; 5m / 1h cache writes $0.625 / $1 (full request)
  • 1M context
  • 128K max output (300K with the provider’s Batch API beta)
  • Text, Image input; Text output
  • Adaptive thinking on by default; default effort medium
  • Knowledge cutoff Jun 2026; released October 7, 2026
  • Omit non-default temperature, top_p, and top_k; recount token budgets when migrating from Haiku 4.5

Legacy

claude-haiku-4-5

Reasoning · Speedanthropic/claude-haiku-4-5Previous Haiku generation for office files, strategy planning, and business analysis. Superseded by Haiku 5.5.
  • $1 / $5
  • 200K context
  • 64K max output
  • Text, Image input
  • Thinking
  • Web search
  • Knowledge cutoff Feb 2025

claude-fable-5

Reasoning · Speedanthropic/claude-fable-5Previous Fable generation for long-horizon agentic work, complex reasoning, and ambitious multi-day coding tasks. Superseded by Fable 5.1 at the same price.
  • $10 / $50 per 1M tokens (input / output)
  • 1M context
  • 128K max output
  • Text, Image input
  • Adaptive thinking (always on)
  • Web search
  • Knowledge cutoff Jan 2026

claude-opus-4-5

Reasoning · Speedanthropic/claude-opus-4-5Previous flagship Opus model with top-tier reasoning and coding capabilities.
  • $5 / $25
  • 200K context
  • 64K max output
  • Text, Image input
  • Extended thinking
  • Knowledge cutoff May 2025

claude-sonnet-4-6

Reasoning · Speedanthropic/claude-sonnet-4-6Previous Sonnet generation with strong speed/intelligence balance and computer use skills. Superseded by Sonnet 5.
  • $3 / $15
  • 1M context
  • 64K max output
  • Text, Image input
  • Thinking
  • Knowledge cutoff Aug 2025

claude-sonnet-4-5

Reasoning · Speedanthropic/claude-sonnet-4-5Previous Sonnet generation with strong all-around performance and 1M beta context support. Deprecated September 30, 2026; retires November 30, 2026. Migrate to anthropic/claude-sonnet-5-5.
  • $3 / $15
  • 200K context (1M beta)
  • 64K max output
  • Text, Image input
  • Thinking
  • Knowledge cutoff Jan 2025

Using Haiku 5.5

Set ANTHROPIC_API_KEY and select the full model ID:
Adaptive thinking is on by default, and thinking tokens count toward max_tokens. Timbal collects text and thinking blocks separately. Omit non-default sampling parameters. Haiku 5.5 uses the newer tokenizer, which produces approximately 30% more tokens for the same text than Haiku 4.5; recount prompts and budgets before migrating. Replay stored thinking blocks through the account that produced them or a linked account. Automatic prompt caching is enabled by Timbal. The 100K pricing threshold includes uncached input, cache reads, and cache writes; output uses the rate selected by the prompt length. scripts/generate_costs_sql.py emits both standard and _long_context token rates, including 5m and 1h cache writes. Apply the generated SQL when updating a billing database; changing the catalog alone does not update stored rates. Haiku 5.5 specs and pricing verified October 7, 2026 against the model specifications, migration guide, and API pricing.

Using Sonnet 5.5

Set ANTHROPIC_API_KEY and select the full model ID:
Omit thinking to use adaptive thinking. To turn off up-front thinking, pass model_params={"thinking": {"type": "between_tools"}, "output_config": {"effort": "high"}}; this requires high effort or below. Use auto with strict tools or structured outputs instead of forced tool selection. Leave temperature, top_p, and top_k at their defaults. With adaptive thinking, progress text between tool calls arrives in thinking blocks and is omitted by default. Set thinking.display="summarized" to receive it; between_tools returns it without a display setting. Preserve thinking blocks and the preceding conversation unchanged when replaying them. Native computer use on the Claude API requires computer_toolset_20260801; the older computer_20251124 tool is rejected. Automatic prompt caching is enabled by Timbal; Sonnet 5.5 requires at least 512 cacheable tokens. All prices above are USD per 1M tokens except per-call/time-based tool fees. The 50% Batch API discount and 10% US-only inference premium stack across token categories. Partner cloud pricing and negotiated discounts may differ. See the Sonnet 5.5 specifications and migration notes. Sonnet 5.5 cache reads were halved on October 7, 2026; standard reads now cost $0.10 per 1M tokens ($0.05 with Batch, $0.11 with US-only inference). Anthropic catalog token and cache prices verified October 7, 2026 against Anthropic’s price list.

Using Opus 5.5

Set ANTHROPIC_API_KEY and select the full model ID:
Use effort to control thinking depth; omit thinking or use adaptive thinking. For tool use, choose auto with strict tools or structured output instead of forcing a tool. Progress text between tool calls now arrives in thinking blocks and is empty by default; thinking.display="summarized" returns text, while "updates" requires the thinking-display-updates-2026-08-18 beta header. Preserve thinking blocks unchanged within the conversation. The older computer_20251124 tool is no longer accepted on the Claude API; use computer_toolset_20260801 if supplying native computer tools. See the Opus 5.5 specifications and migration guide for model-bound thinking, refusal handling, and provider-specific differences. Pricing verified September 23, 2026 against Anthropic’s price list.

Lifecycle audit

Checked October 3, 2026 against the model lifecycle and model overview. Opus 4.1 was removed from the catalog after its August 5 retirement. Sonnet 4.5 remains available until November 30. Haiku 4.5 remains active; its earliest-retirement commitment is not a shutdown announcement. Restricted Mythos models are not generally available catalog entries.