Claude Sonnet 5 in GitHub Copilot
Anthropic - Versatile
In GitHub Copilot, Claude Sonnet 5 costs $2 per 1M input tokens and $10 per 1M output tokens, billed as AI credits at $0.01 each. A typical daily-coding request works out to about 2.5 credits (about $0.03) with auto model selection on. Rates verified against GitHub's rate sheet on 2026-07-14.
Token rates
- Input / 1M
- $2.00
- Cached input / 1M
- $0.20
- Output / 1M
- $10.00
- Cost per credit
- $0.01
Cache writes bill at $2.50/1M tokens (Anthropic models).
This rate is promotional and ends 2026-08-31. The rate after that is not yet published.
Credits per request
Defined workload baskets, not measured tasks, with auto model selection on.
| Workload | Credits (auto on) | Credits (auto off) | Cost |
|---|---|---|---|
| Short chat turn | 1.3 | 1.4 | $0.01 |
| Daily coding request | 2.5 | 2.8 | $0.03 |
| Agent session step | 8.4 | 9.3 | $0.08 |
At about 2.5 credits per daily-coding request, Claude Sonnet 5 ranks #12 of 22 current models by cost, about 8.8x the cheapest (GPT-5.4 nano).
Requests per plan allowance
Daily-coding requests the included monthly credits buy, before any overage.
| Plan | Credits / month | Requests |
|---|---|---|
| Copilot Pro | 1,500 | 591 |
| Copilot Pro+ | 7,000 | 2,758 |
| Copilot Max | 20,000 | 7,880 |
| Copilot Business | 1,900 | 748 |
| Copilot Enterprise | 3,900 | 1,536 |
Copilot rate vs direct API
GitHub Copilot bills Claude Sonnet 5 at $2.00 in / $10.00 out per 1M. That input rate is the same as the direct Anthropic sonnet-5 API price of $2.00 in / $10.00 out (validated 2026-07-01).