TokenPriceDB

Claude Fable 5.2 API pricing

Anthropic · checked 2026-11-21 · source

Input / 1M tokens
$8
Output / 1M tokens
$40
Cached input / 1M tokens
$0.2
Context window
1,000,000
Provider
Anthropic

Cost per typical task

Computed from the prices above. The token counts are illustrative task sizes, not measurements.

TaskTokensArithmeticCost
Chat reply1,000 input + 300 output1,000 ÷ 1,000,000 × $8 + 300 ÷ 1,000,000 × $40 = $0.0200$0.0200
Summarize a long document20,000 input + 1,000 output20,000 ÷ 1,000,000 × $8 + 1,000 ÷ 1,000,000 × $40 = $0.2000$0.2000
Coding agent step (cached context)5,000 input + 40,000 cached input + 2,000 output5,000 ÷ 1,000,000 × $8 + 40,000 ÷ 1,000,000 × $0.2 + 2,000 ÷ 1,000,000 × $40 = $0.1280$0.1280

← Calculate the cost of your own prompt · Compare with the cheapest LLM APIs