AI Token Calculator · Anthropic · Versatile
Claude Sonnet 4 cost in GitHub Copilot
$3.00 input and $15.00 output per 1M tokens. A typical Copilot Chat request is about 3.75 AI Credits, number 20 of 29 from cheapest.
Claude Sonnet 4 prices
| Rate, USD per 1M tokens | Standard |
|---|---|
| Input | $3.00 |
| Cached input | $0.30 |
| Cache write | $3.75 |
| Output | $15.00 |
Cached input is 10% of the input price on Claude Sonnet 4. Storing a prefix for reuse is charged at the cache-write rate. Output costs 5.0× input. 1 AI Credit = $0.01.
What a request costs on Claude Sonnet 4
The chat request is Copilot’s typical context in a new chat (instructions, tool definitions and a referenced file) around a short prompt, with an 800-token answer. The agent task starts at 12,000 input tokens, adds 3,000 per call for answers and tool output, and reads 85% of each later call from cache. These are examples: your own requests can be larger or smaller.
Claude Sonnet 4 compared with other Copilot models
On the typical chat request, Claude Sonnet 4 is number 20 of 29 from cheapest. GPT-6 Luna is the cheapest at 0.125 credits, so Claude Sonnet 4 costs 30.0× as much. A cheaper model is only cheaper if it gets the answer right first time: retries and long answers cost more than the price gap.
| Model | Credits per chat request | Input / output per 1M |
|---|---|---|
| GPT-5.6 TerraOpenAI · Versatile | 2.66 | $2.00 / $12.00 |
| Claude Sonnet 4.6Anthropic · Versatile | 3.75 | $3.00 / $15.00 |
| Kimi K3Moonshot AI · Powerful | 3.75 | $3.00 / $15.00 |
| Claude Sonnet 4Anthropic · Versatile | 3.75 | $3.00 / $15.00 |
| GPT-5.6 SolOpenAI · Powerful | 5.00 | $4.00 / $20.00 |
Other Anthropic models: Claude Haiku 5.5 · Claude Haiku 4.5 · Claude Sonnet 5.5 · Claude Sonnet 5 · Claude Sonnet 4.6 · Claude Opus 5.5 · Claude Opus 5 · Claude Opus 4.8 · Claude Opus 4.8 (fast mode) · Claude Fable 5 · Claude Fable 5.1
All 29 models, side by side: GitHub Copilot model prices.
Questions about Claude Sonnet 4 pricing
How much does Claude Sonnet 4 cost in GitHub Copilot?
Claude Sonnet 4 costs $3.00 per 1M input tokens, $0.30 per 1M cached input tokens, $3.75 per 1M cache-write tokens and $15.00 per 1M output tokens. At 1 AI Credit = $0.01, a typical Copilot Chat request of 8,500 input and 800 output tokens costs about 3.75 AI Credits.
How many Claude Sonnet 4 requests fit in a Copilot Business seat?
A Business seat includes 1,900 AI Credits a month, pooled across the organization. At about 3.75 credits per typical chat request, that is roughly 506 requests on Claude Sonnet 4. Agent tasks use far more: the 20-call example on this page costs about 83.86 credits.
Does Claude Sonnet 4 have a long-context price?
No. GitHub lists one set of rates for Claude Sonnet 4, whatever the request size.
These are estimates. What you are billed is what GitHub reports under Billing → AI usage.