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.

WorkloadCredits (auto on)Credits (auto off)Cost
Short chat turn1.31.4$0.01
Daily coding request2.52.8$0.03
Agent session step8.49.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.

PlanCredits / monthRequests
Copilot Pro1,500591
Copilot Pro+7,0002,758
Copilot Max20,0007,880
Copilot Business1,900748
Copilot Enterprise3,9001,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).

Estimate your monthly burn with Claude Sonnet 5

Cheaper: Gemini 3.5 Flash - Pricier: Gemini 3.1 Pro

All models - GitHub AI Credits