GitHub Copilot AI Credits: What 1 Credit Actually Buys Per Model (2026 Cost Reference)

One credit equals one cent, but a single request can cost 1 credit or 2,000 depending on the model and request shape. The conversion math, a per-model rate table, and worked examples for a chat, a refactor, and an Agent Mode loop.

10 min read

GitHub CopilotAI Creditsusage based billingcost referenceAgent ModeJune 2026

Since June 1, 2026, every paid GitHub Copilot request that is not a code completion is priced in AI Credits. The unit is simple. The thing nobody can answer off the top of their head is the only thing that matters for budgeting: what does one credit actually buy, and how many credits does a real request burn?

This is the reference page for that. One unit, the conversion math, a per-model rate table, and worked examples for the three request shapes that make up almost all real usage. If you came here from a billing dashboard wondering why one engineer burned 4,000 credits in an afternoon, the worked examples are the part you want.

The unit: 1 credit = $0.01

A GitHub AI Credit is denominated at one credit = one US cent. That is the whole unit. It means a plan's included credit allotment maps directly to dollars: Pro at $10 per month includes 1,000 credits, Pro+ at $39 includes 3,900 credits, Business at $19 per seat includes 1,900 credits. Run past the included allotment and paid plans buy more credits at the same one-cent rate.

The reason credits exist at all, rather than just billing dollars directly, is that a single request consumes a fractional, model-dependent amount. Counting in cents-as-credits lets GitHub debit sub-cent amounts per request and round at the aggregate instead of per-call. So the credit is a billing convenience. The cost driver underneath it is tokens.

How a request converts to credits

Every billable request (Copilot Chat, Edits, Agent Mode, anything that is not tab-completion) is metered the same way:

credits = (input_tokens + output_tokens + cached_tokens) × model_rate_per_1k / 1000, then converted at 1 credit = $0.01

Three things fall out of that formula immediately, and each one is a lever you control:

  • Output tokens dominate. Generation is the expensive half on every frontier model. A request that returns a 600-line file costs far more than the question that prompted it.
  • Context is not free. Cached and re-sent context tokens are counted. A long agent conversation re-sends its history on every turn, so the per-turn cost climbs as the session grows.
  • The model rate swings the result by an order of magnitude. A mid-tier model and a frontier model answering the identical question can differ 10x in credits because the per-token rate differs that much.

The per-model rate, in shape

GitHub converts each model's published per-token API price into a credit rate. The exact multipliers move whenever a provider changes list price, so treat the table below as the shape of the rate card rather than a frozen quote. Pull the live numbers from your org's billing model list before you build a budget on them.

Model tier Typical use Relative credit rate Cost character
Base / included model Default chat, simple edits 1x (baseline) Often bundled at the lowest rate; the safe default
Mid-tier (e.g. a Sonnet-class or GPT mid model) Most day-to-day chat and refactors ~3-5x baseline The sweet spot for quality per credit
Frontier (e.g. an Opus-class or top GPT model) Hard reasoning, large multi-file work ~10-20x baseline Worth it for the 10% of tasks that need it, expensive for the other 90%

The single biggest budgeting mistake teams make is leaving every developer defaulted to a frontier model for tasks a mid-tier model would answer identically. That one setting is usually the difference between a flat bill and a surprising one.

Worked example 1: a chat question

A developer asks "why is this function returning undefined?" and pastes a 40-line function. The request sends roughly 600 input tokens (question plus code plus system prompt) and gets back a 250-token explanation.

  • On a mid-tier model: about 850 metered tokens at a mid-tier rate lands near 1 to 2 credits. One or two cents.
  • On a frontier model: the same 850 tokens at a frontier rate is closer to 4 to 8 credits. Still small in isolation.

A single chat is cheap either way. The lesson here is not the absolute number, it is the 4x multiplier for an answer that would have been identical on the cheaper model.

Worked example 2: a 200-line refactor via Edits

Now the developer asks Copilot Edits to refactor a 200-line module. Input is the file plus instructions, roughly 3,000 tokens. Output is the rewritten file, roughly 2,800 tokens. Call it 5,800 metered tokens.

  • Mid-tier: roughly 8 to 15 credits. Eight to fifteen cents for a real refactor. Cheap.
  • Frontier: roughly 50 to 100 credits. Half a dollar to a dollar for one edit.

This is where the included allotment starts to feel finite. A Pro user with 1,000 monthly credits who does ten frontier-model refactors a day exhausts the envelope in a few days.

Worked example 3: an Agent Mode loop

Agent Mode is the one that surprises people. It is not one request. It is a loop: read files, plan, edit, run, observe, repeat, re-sending the growing conversation each turn. A medium agent task ("add validation to this endpoint and write tests") might run 8 to 15 turns, each re-sending an expanding context.

  • Mid-tier, 10 turns, growing context: easily 150 to 400 credits. One to four dollars for one agent task.
  • Frontier, same task: 800 to 2,000+ credits. The single afternoon that burns through a Pro+ allotment.

If your dashboard shows a developer who spent thousands of credits in a day, the cause is almost always frontier-model Agent Mode on broad scopes. That is the request shape to put a budget around first.

What stays free

Code completions and Next Edit Suggestions do not touch credits. They are unlimited on every paid plan. This is the load-bearing detail of the whole model: if your team is 90% tab-completion and 10% chat, the credit system is nearly invisible to you. The teams that feel the change are the ones who shifted their workflow into Chat and Agent Mode, which is exactly the cohort getting the most value, and exactly the cohort that needs visibility.

How cached tokens cut the bill

The underlying model providers all offer prompt caching, and a cache hit is metered at a steep discount rather than the full input rate. In practice this means focused, repetitive sessions cost less per turn than scattered ones, because the stable prefix of the conversation keeps hitting cache. It is a real lever: keeping an agent session scoped and on-topic does not just produce better answers, it lowers the per-turn credit burn. We walk through the provider-level mechanics in the prompt caching cost guide.

How to read your own credit burn

Three numbers tell you everything about whether the new model will hurt:

  1. Completions-to-chat ratio. The higher the completion share, the less credits matter. If you do not know it, you cannot budget.
  2. Frontier-model share of billable requests. This is the dial. Every point you can move from frontier to mid-tier without losing answer quality is a near-linear cost reduction.
  3. Agent Mode credits per developer per week. This is where the outliers live. A team-wide average hides the two or three people generating most of the burn.

GitHub's own billing and admin surfaces are the authoritative place to inspect Copilot consumption. If a per-developer or per-request slice is not exposed there, an external meter cannot recreate it after the fact without a source event. UsageBox does not import Copilot usage. For AI products you build yourself, emit the usage event at request time so the customer/workload attribution exists before billing.

The honest take

The credit unit is not the hard part. One credit is one cent, and the included allotment maps to dollars cleanly. The hard part is that the cost of a request varies by more than 100x depending on model choice and request shape, and almost nobody knows their own distribution across that range. The teams that win under credit billing are not the ones who use Copilot less. They are the ones who can see, per developer and per request type, where the credits go, and who put a budget around the one shape (frontier-model agent loops) that produces the outliers.

Related reading

If you are passing credits on to your own customers

Reselling a credit-priced product is where the accounting gets awkward, because the unit you buy in and the unit you sell in are rarely the same. A credit balance is a ledger rather than a counter — grants keep their identity, drawdown order is a policy decision, and expiry is the top source of complaints — and none of that survives being modelled as a number that goes down.

Frequently asked questions

How much is one GitHub Copilot AI Credit worth?

One credit equals one US cent ($0.01). A plan's included allotment maps directly to its price: Pro at $10/month includes 1,000 credits, Pro+ at $39 includes 3,900, Business at $19/seat includes 1,900. Past the allotment, paid plans buy more credits at the same one-cent rate.

How are credits per request calculated?

Credits scale with metered tokens: input plus output plus cached/context tokens, multiplied by the model's per-token rate, then converted at 1 credit = $0.01. Output tokens and the chosen model rate are the two biggest drivers; a frontier model can cost 10-20x a mid-tier model for the identical request.

Why did one developer burn thousands of credits in a day?

Almost always frontier-model Agent Mode on a broad scope. Agent Mode is a multi-turn loop that re-sends a growing context every turn, so a single task can run 8-15 turns and 800-2,000+ credits on a frontier model. That request shape produces nearly all the outliers.

What Copilot usage is still free under credits?

Code completions and Next Edit Suggestions are free and unlimited on every paid plan and do not consume credits. Teams whose usage is mostly tab-completion barely notice the credit system; the cost lands on Chat and Agent Mode usage.

How do I lower credit burn without using Copilot less?

Default chat and edits to a mid-tier model and reserve the frontier model for genuinely hard tasks, scope Agent Mode to specific files instead of the whole repo, and keep sessions focused so the provider's prompt cache fires more often. Moving frontier-model share down is the single largest lever.

Key Topics

  • •GitHub Copilot
  • •AI Credits
  • •usage based billing
  • •cost reference
  • •Agent Mode
  • •June 2026

Related Articles

Explore more articles on similar topics to deepen your understanding of usage-based billing.

The Tokenpocalypse: AI Coding's Flat-Rate Era Ended in 2026 (and What Survives the Meter)

June 2026 is when AI coding stopped being a flat subscription and became a metered utility. GitHub Copilot flipped every...

11 min readRead more

GitHub Copilot Business vs Enterprise Billing After the Credit Switch (2026)

The credit switch changed the org-buyer math from seat count to usage shape. What each tier includes, why Enterprise cre...

9 min readRead more

GitHub Copilot Pricing & Billing 2026: Plans, AI Credits & Overages

GitHub Copilot pricing for 2026, verified against GitHub's plans page: Free $0, Pro $10/mo (includes $15 credits), Pro+ ...

13 min readRead more

Explore More Articles

Discover our complete collection of usage-based billing guides and implementation patterns.

View all articles