Rendered Source Note

Anthropic Pricing & Token Cost

Generated HTML view. Markdown remains canonical.

Anthropic Pricing & Token Cost

Type: official-doc Tier: 1 (Official Doc) Author(s): Anthropic Date: Accessed 2026-06-01 URL: https://platform.claude.com/docs/en/docs/about-claude/pricing Accessed: 2026-06-01

Why This Source Matters

Cost is the constraint that shapes every production LLM decision. This source gives the exact per-token prices and the formula to turn usage fields into dollars — the basis for the cost tracker built in Project 1. It also states the rule of thumb for estimating tokens from text.

Key Claims

Token estimation

Pricing is per million tokens (MTok), split input vs. output

Output is consistently ~5× the input price. Selected current rates (USD / MTok):

| Model | Input | Output | |-------|-------|--------| | Claude Opus 4.5 / 4.6 / 4.7 | $5 | $25 | | Claude Opus 4.1 | $15 | $75 | | Claude Sonnet 4.5 / 4.6 | $3 | $15 | | Claude Haiku 4.5 | $1 | $5 |

Cost formula

cost = (input_tokens  / 1_000_000) * input_price_per_mtok
     + (output_tokens / 1_000_000) * output_price_per_mtok

Worked example (Opus 4.8, one turn): 50,000 input + 15,000 output

Why chatbots get expensive

Volume reference

Relevant To

Notes