Skip to main content

Models and pricing for GitHub Copilot

See per-token pricing for the models available in GitHub Copilot and reference rates for additional usage across plans.

重要

Starting June 1, 2026, GitHub is moving Copilot from request-based billing to usage-based billing. See Usage-based billing for organizations and enterprises and Usage-based billing for individuals.

The pricing tables below reflect the new usage-based billing rates that will take effect on June 1, 2026.

How model pricing works

When you use Copilot, the interaction consumes tokens: input tokens (what's sent to the model), output tokens (what the model generates), and cached tokens (context the model reuses or stores). Each token is priced based on the model used, and the total is converted into AI credits, where 1 AI credit = $0.01 USD.

The cost of an interaction depends on two things: the model and the number of tokens consumed.

How Copilot usage is tracked and billed depends on your plan type:

When usage exceeds the included allowances for any Copilot plan, additional usage is billed in GitHub AI Credits at the per-token rates shown in the pricing tables below (1 AI credit = $0.01 USD).

メモ

The option to purchase additional AI credits is not available if you subscribe, or have subscribed, to a Copilot plan through GitHub Mobile on iOS or Android.

Pricing tables

All prices are per 1 million tokens.

OpenAI

ModelRelease statusCategoryInputCached inputOutput
GPT-4.11GAVersatile$2.00$0.50$8.00
GPT-5 mini1GALightweight$0.25$0.025$2.00
GPT-5.2GAVersatile$1.75$0.175$14.00
GPT-5.2-CodexGAPowerful$1.75$0.175$14.00
GPT-5.3-CodexGAPowerful$1.75$0.175$14.00
GPT-5.42GAVersatile$2.50$0.25$15.00
GPT-5.4 miniGALightweight$0.75$0.075$4.50
GPT-5.4 nanoGALightweight$0.20$0.02$1.25
GPT-5.5GAPowerful$5.00$0.50$30.00

Anthropic

Anthropic models include a cache write cost in addition to cached input.

ModelRelease statusCategoryInputCached inputCache writeOutput
Claude Haiku 4.5GAVersatile$1.00$0.10$1.25$5.00
Claude Sonnet 4GAVersatile$3.00$0.30$3.75$15.00
Claude Sonnet 4.5GAVersatile$3.00$0.30$3.75$15.00
Claude Sonnet 4.6GAVersatile$3.00$0.30$3.75$15.00
Claude Opus 4.5GAPowerful$5.00$0.50$6.25$25.00
Claude Opus 4.6GAPowerful$5.00$0.50$6.25$25.00
Claude Opus 4.7GAPowerful$5.00$0.50$6.25$25.00

Google

ModelRelease statusCategoryInputCached inputOutput
Gemini 2.5 Pro3GAPowerful$1.25$0.125$10.00
Gemini 3 Flash4Public previewLightweight$0.50$0.05$3.00
Gemini 3.1 Pro3Public previewPowerful$2.00$0.20$12.00

xAI

ModelRelease statusCategoryInputCached inputOutput
Grok Code Fast 1GALightweight$0.20$0.02$1.50

Fine-tuned (GitHub)

ModelRelease statusCategoryInputCached inputOutput
Raptor mini5Public previewVersatile$0.25$0.025$2.00
Goldeneye6Public previewPowerful$1.25$0.125$10.00

Code completions

Code completions and 次の編集候補 are not billed in AI credits. They remain unlimited for all paid Copilot plans and continue to use their existing counting mechanism.

Pricing and usage cost considerations for Copilotコード レビュー

For most Copilot features, the model used for each interaction is visible to you, so you can reference the pricing tables above to estimate costs. Copilotコード レビュー is an exception—the model is selected automatically and is not disclosed, so per-token costs may vary between reviews.

Each code review is billed in two ways: token consumption is billed in AI credits, and the agentic infrastructure that powers the review consumes GitHub Actions minutes.

Starting June 1, 2026, Copilotコード レビュー runs will consume GitHub Actions minutes on GitHub-hosted runners. Self-hosted runners do not consume GitHub Actions minutes. Larger runners are billed at different rates than standard GitHub-hosted runners. For more information on runner options, see GitHub Copilot コード レビュー用のランナーの構成.

You can view your current GitHub Actions usage for Copilotコード レビュー in the following ways:

Model multipliers for annual Copilot Pro and Copilot Pro+ subscribers

Starting June 1, 2026, Copilot Pro and Copilot Pro+ subscribers on annual billing plans will experience changes to model multipliers. The table below shows how the multipliers for each model will adjust.

Model multipliers and costs are subject to change.

For information about your options as an annual subscriber, see Usage-based billing for individuals.

ModelCurrent multiplierNew multiplier
Claude Haiku 4.50.330.33
Claude Opus 4.5315
Claude Opus 4.6327
Claude Opus 4.77.527
Claude Sonnet 411
Claude Sonnet 4.516
Claude Sonnet 4.619
Gemini 2.5 Pro11
Gemini 3 Flash0.330.33
Gemini 3 Pro16
Gemini 3.1 Pro16
GPT-4o00.33
GPT-4o mini00.33
GPT-4.101
GPT-5.113
GPT-5.1-Codex13
GPT-5.1-Codex-Mini0.330.33
GPT-5.1-Codex-Max13
GPT-5.213
GPT-5.2-Codex13
GPT-5.3-Codex16
GPT-5.416
GPT-5.4 mini0.336
GPT-5 mini00.33
Grok Code Fast 10.250.33
Raptor mini00.33

Footnotes

  1. GPT-4.1 and GPT-5 ミニ are included models. 2

  2. GPT-5.4 pricing applies to prompts with ≤272K tokens.

  3. Gemini 2.5 Pro and Gemini 3.1 Pro pricing applies to prompts with ≤200K tokens. 2

  4. ジェミニ 3 フラッシュ has no long-context surcharge.

  5. Raptor Mini uses GPT-5 ミニ pricing.

  6. ゴールデンアイ uses GPT-5.1-Codex pricing.