Models and pricing for GitHub Copilot - GitHub Docs
Skip to main content Skip to content Collapse sidebar Expand sidebar 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. In this article 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: Individual plans (Copilot Free, Copilot Pro, Copilot Pro+, and Copilot Max) include GitHub AI Credits allowances that vary by plan. For details, see Usage-based billing for individuals .
Copilot Business and Copilot Enterprise include per-user GitHub AI Credits allowances that are pooled at the billing entity level. For details, see Usage-based billing for organizations and enterprises . 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). If you purchased Copilot Pro, Copilot Pro+, or Copilot Max through an in-app purchase on iOS or Android, you can't buy additional GitHub AI Credits through the app store.
However, if your GitHub account has a payment method on file, additional paid usage beyond your included AI credits is billed to that payment method based on your budget settings. To avoid charges beyond your plan, create or edit a Bundled AI credits budget , set it to $0 USD, and enable Stop usage when budget limit is reached . See Setting up budgets to control spending on metered products . To manage all Copilot billing in one place, cancel your mobile subscription in the App Store or Google Play and re-subscribe on GitHub.com.
Pricing tables All prices are per 1 million tokens . OpenAI Note Models with a Long context tier, offer extended capabilities and longer context windows. See Supported AI models in GitHub Copilot GPT-5.6 Sol, GPT-5.6 Luna, GPT-6 Astra, GPT-6 Luna, GPT-6 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6.2 Astra, and GPT-6.2 Sol include a cache write cost in addition to cached input. Earlier OpenAI models have no cache write cost.
Model Release status Category Tier Threshold (input tokens) Input Cached input Cache write Output GPT-5.3-Codex GA Powerful Default Not applicable $1.75 $0.175 Not applicable $14.00 GPT-5.4 nano GA Lightweight Default Not applicable $0.20 $0.02 Not applicable $1.25 GPT-5.6 Luna GA Lightweight Default ≤ 200K $0.20 $0.02 $0.25 $1.20 GPT-5.6 Luna GA Lightweight Long context > 200K $0.40 $0.04 $0.50 $1.80 GPT-5.6 Sol GA Powerful Default ≤ 272K $4.00 $0.40 $5.00 $20.00 GPT-5.6 Sol GA Powerful Long context > 272K $8.00 $0.80 $10.00 $30.00 GPT-6 Astra GA Powerful Default ≤ 272K $10.00 $1.00 $12.50 $50.00 GPT-6 Astra GA Powerful Long context > 272K $20.00 $2.00 $25.00 $75.00 GPT-6 Luna GA Lightweight Default ≤ 272K $0.10 $0.01 $0.125 $0.50 GPT-6 Luna GA Lightweight Long context > 272K $0.20 $0.02 $0.25 $0.75 GPT-6 Sol GA Powerful Default ≤ 272K $2.00 $0.20 $2.50 $10.00 GPT-6 Sol GA Powerful Long context > 272K $4.00 $0.40 $5.00 $15.00 GPT-6.1 Sol GA Powerful Default ≤ 272K $2.00 $0.10 $2.50 $10.00 GPT-6.1 Sol GA Powerful Long context > 272K $4.00 $0.20 $5.00 $15.00 GPT-6.1 Terra GA Versatile Default ≤ 272K $1.00 $0.05 $1.25 $5.00 GPT-6.1 Terra GA Versatile Long context > 272K $2.00 $0.10 $2.50 $7.50 GPT-6.2 Astra GA Powerful Default ≤ 272K $8.00 $0.40 $10.00 $40.00 GPT-6.2 Astra GA Powerful Long context > 272K $16.00 $0.80 $20.00 $60.00 GPT-6.2 Sol GA Powerful Default ≤ 272K $2.00 $0.10 $2.50 $10.00 GPT-6.2 Sol GA Powerful Long context > 272K $4.00 $0.20 $5.00 $15.00 Anthropic Note Models with a Long context tier, offer extended capabilities and longer context windows.
See Supported AI models in GitHub Copilot Anthropic models include a cache write cost in addition to cached input. Model Release status Category Tier Threshold (input tokens) Input Cached input Cache write Output Claude Haiku 4.5 GA Versatile Default Not applicable $1.00 $0.10 $1.25 $5.00 Claude Haiku 5.5 GA Lightweight Default ≤ 100K $0.10 $0.01 $0.125 $0.50 Claude Haiku 5.5 GA Lightweight Long context > 100K $0.50 $0.05 $0.625 $2.50 Claude Sonnet 4 GA Versatile Default Not applicable $3.00 $0.30 $3.75 $15.00 Claude Sonnet 4.6 GA Versatile Default Not applicable $3.00 $0.30 $3.75 $15.00 Claude Opus 4.8 GA Powerful Default Not applicable $5.00 $0.50 $6.25 $25.00 Claude Opus 5.5 GA Powerful Default Not applicable $4.00 $0.20 $5.00 $20.00 Claude Sonnet 5 GA Versatile Default Not applicable $2.00 $0.20 $2.50 $10.00 Claude Sonnet 5.5 GA Versatile Default Not applicable $2.00 $0.10 $2.50 $10.00 Claude Opus 4.8 (fast mode) (preview) GA Powerful Default Not applicable $10.00 $1.00 $12.50 $50.00 Claude Fable 5 GA Powerful Default Not applicable $10.00 $1.00 $12.50 $50.00 Claude Fable 5.1 GA Powerful Default Not applicable $10.00 $0.25 $12.50 $50.00 Claude Fable 5.2 GA Powerful Default Not applicable $8.00 $0.20 $10.00 $40.00 Google Note Models with a Long context tier, offer extended capabilities and longer context windows.
See Supported AI models in GitHub Copilot Model Release status Category Tier Threshold (input tokens) Input Cached input Output Gemini 3.8 Flash 1 GA Versatile Default Not applicable $0.75 $0.075 $3.75 Gemini 4 Argon 2 GA Powerful Default Not applicable $2.00 $0.10 $10.00 Gemini 4 Carbon 3 GA Powerful Default Not applicable $2.00 $0.10 $10.00 Gemini 4 Hydrogen GA Versatile Default Not applicable $1.50 $0.075 $7.50 Gemini 4 Neon GA Versatile Default Not applicable $3.00 $0.15 $15.00 Fine-tuned (GitHub) Model Release status Category Input Cached input Output Microsoft Model Release status Category Input Cached input Output MAI-Code-1.1-Flash GA Lightweight $0.20 $0.02 $1.20 MAI Code 2 4 GA Powerful $0.50 $0.025 $2.50 MAI Code 2 Flash 5 GA Lightweight $0.05 $0.005 $0.25 xAI Note Models with a Long context tier, offer extended capabilities and longer context windows.
See Supported AI models in GitHub Copilot Model Release status Category Tier Threshold (input tokens) Input Cached input Output Grok 4.5 GA Versatile Default ≤ 200K $2.00 $0.50 $6.00 Grok 4.5 GA Versatile Long context > 200K $4.00 $1.00 $12.00 Grok 4.6 GA Versatile Default ≤ 200K $2.00 $0.50 $6.00 Grok 4.6 GA Versatile Long context > 200K $4.00 $1.00 $12.00 Grok 4.7 GA Versatile Default ≤ 200K $2.00 $0.50 $6.00 Grok 4.7 GA Versatile Long context > 200K $4.00 $1.00 $12.00 Moonshot AI Model Release status Category Input Cached input Output Kimi K3 GA Powerful $3.00 $0.30 $15.00 Image generation models Image generation models are billed separately from the model you use for your session.
Text sent to the image generation model counts as text input, images sent to the model count as image input, and the generated image counts as image output. Image generation models produce images, not text, so they have no text output price. For more information, see About image generation in GitHub Copilot . Model Release status Text input Cached text input Image input Cached image input Image output GPT Image 2.5 Flare Public preview $5.00 $1.25 $8.00 $2.00 $30.00 Code completions Code completions and next edit suggestions 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 code review 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 code review is an exception—the model is selected automatically and is not disclosed, so per-token costs may vary between reviews.
Ea
The rest of this page is on the live site.