Check the Copilot plan and model picker for access. A Copilot entitlement and a standalone token-based API have different billing terms.
Plans and other pricing
GitHub Copilot metered rates through May 16, 2027: MAI Code 2 $0.50 / $2.50 and Flash $0.05 / $0.25 per 1M input / output tokens. Included allowances depend on the plan.
MAI Code 2 · GitHub Copilot
Usage based0.5 USD / 1M input tokens
Region
GitHub Copilot
Conditions
Output: $2.5 per 1M output tokens. Promotional US metered rates through May 16, 2027. Starting May 17, input / output: $1 / $5 per 1M. Usage above included allowances is billed in GitHub AI Credits.
Output: $0.25 per 1M output tokens. Promotional US metered rates through May 16, 2027. Starting May 17, input / output: $0.10 / $0.50 per 1M. Usage above included allowances is billed in GitHub AI Credits.