Software and SaaS
RelationshipDraft

Which AI models power Cursor, GitHub Copilot and other coding assistants?

AI coding assistants are mostly built on foundation models bought by the token from model companies such as Anthropic, OpenAI and Google, sometimes alongside the tool's own smaller models. GitHub Copilot, Cursor, Windsurf and JetBrains AI let users pick among several vendors' models; the tool vendor pays the API bill, adds context, editor integration and agents, and resells it as a subscription, which makes model costs the biggest pressure on coding tools' gross margins.

.md
Fig. What flows between them
  1. Foundation model & AI API providers
    ↓ Model access through APIs and cloud platforms
    Developer tool & code platform vendors
  2. Foundation model & AI API providers
    ↓ Model updates, rate limits and early-access releases
    Developer tool & code platform vendors
  3. ↓ Per-token API fees and committed spend contracts
    Foundation model & AI API providers
The questions people ask

Quick answers

Which AI model powers Cursor?

Cursor lets users choose among models from several providers, including Anthropic's Claude, OpenAI's GPT models and Google's Gemini, and also runs its own models for tasks such as autocomplete. The model mix changes frequently.

Which AI model powers GitHub Copilot?

GitHub Copilot started on OpenAI models and since late 2024 has offered a choice of models from OpenAI, Anthropic and Google, listed in GitHub's documentation. Organizations can restrict which models their developers use.

How much do LLM API calls cost coding tools?

Model providers charge per million input and output tokens, with prices published on their pricing pages, and coding agents consume many tokens because they send large amounts of code as context. Heavy users can cost a tool more in API fees than they pay in subscription.

Are AI coding tools profitable?

Margins are thin or negative for many, because the tool pays model providers for each request while charging a flat subscription. Vendors respond with usage limits, premium request pricing, cheaper in-house models and caching.

Do AI model companies compete with coding tools?

Yes. Anthropic sells Claude Code and OpenAI sells Codex directly to developers, competing with the tools that buy their models. That creates supplier-competitor tension, as seen when Anthropic restricted Windsurf's direct access to Claude in 2025.

01

How the relationship works#

01.1

The coding tool is a reseller with added value: it buys model calls wholesale, wraps them in editor integration, codebase context and agents, and sells a subscription. The model company is both its key supplier and a potential competitor.[1][2][3]

Consensus Link
  1. ↓ token fees
    AI model company
  2. Dev tool vendor
    ↓ coding assistant
    Engineers
How model providers supply coding assistants.
01.2

Most major tools are now multi-model.[3][4][5]

Consensus Link
GitHub Copilot
  • 1OpenAI, Anthropic, Google models
  • 2Admin model policies
Cursor
  • 1Multi-vendor plus own models
  • 2Usage-based premium tier
JetBrains AI
  • 1Multi-vendor models
  • 2Own Mellum completion model
Model companies' own tools
  • 1Claude Code (Anthropic)
  • 2Codex (OpenAI)
Which models the main coding assistants use.
02

What flows between them#

02.1

Model access flows to the tool through direct APIs or cloud platforms (Amazon Bedrock, Azure, Google Vertex AI). Money flows back per token, often under a committed-spend deal. Tools also feed back evaluations and, where allowed, usage signals.[6]

Consensus Link
  1. ↓ API via cloud
    Dev tool vendor
  2. ↓ token fees
    AI model company
The two routes models reach coding tools.
02.2

Each request follows a path that drives cost.

Consensus Link
  1. 1
    Developer asks or types
    Engineer
  2. 2
    Tool gathers context
    Coding tool
    Files, repo index
  3. 3
    Route to a model
    Coding tool
    Cheap or frontier
  4. 4
    Model generates
    Model provider
  5. 5
    Tool applies edits
    Coding tool
  6. 6
    Tokens billed
    Model provider
What happens, and what is billed, on each coding assistant request.
03

Commercial structure#

03.1

Model providers price per million input and output tokens, with lower prices for cached input and batch jobs. Frontier models cost several times more than small ones, so routing simple tasks to cheaper models is the main cost lever.[1][2]

Inferred Link
Small model
Mid-size model
Frontier model
Relative scale · each block ≈ 4% of the largest
Relative per-token cost of model tiers (judgment from public price lists).
03.2

Agents read and write far more tokens than autocomplete, so the cost of a heavy user can exceed a flat subscription. That is why tools introduced usage-based tiers and premium request limits in 2025.[4][7]

Consensus Link
  1. 1Agents use more tokens
  2. 2API bill rises
  3. 3Flat fee no longer covers
  4. 4Usage tiers and limits
  5. 5User backlash
How agentic coding squeezes tool margins.
04

How they communicate#

04.1

Large tools work with model companies through enterprise account teams, shared Slack channels, early-access programs for new models and joint launch announcements. Rate limits and capacity are negotiated, not just bought.

Consensus Link
  1. 1
    Enterprise API agreement
    Model sales
  2. 2
    Rate limit and capacity planning
    Both
  3. 3
    Early model access
    Model company
  4. 4
    Evals on coding benchmarks
    Tool vendor
  5. 5
    Joint launch
    Marketing
How model providers and coding tools coordinate.
05

Power dynamic#

05.1

Model companies hold capability and capacity; tools hold distribution and developer habit. Being multi-model lets tools switch suppliers, and building their own models reduces dependence.

Consensus Link
Model providers
Their levers
  • Best models
  • Capacity and rate limits
  • Own coding products
  • Can cut access
Dev tool vendors
Their levers
  • Millions of developers
  • Multi-model switching
  • Own small models
  • Editor integration
VS
Who holds which levers between model providers and coding tools.
05.2

Access can be cut when a tool becomes a competitor's asset: in 2025 Anthropic limited Windsurf's first-party access to Claude amid reports that OpenAI would acquire Windsurf (a deal that did not close).[8]

Consensus Link
  1. 1Tool talks to rival lab
  2. 2Supplier sees risk
  3. 3Access restricted
  4. 4Tool reroutes models
How supplier risk plays out between labs and tools.
06

Friction & conflict#

06.1

Friction comes from cost, capacity and competition.

Inferred Link
1
Token costs
Margin pressure
2
Rate limits
Capacity at peak
3
Model deprecation
Forced migrations
4
Direct competition
Claude Code, Codex
5
Data use
Training on prompts
6
Outages
Single-provider risk
Where model providers and coding tools clash.
06.2

Model companies moving into coding products changes the relationship from supplier to rival, pushing tools to train their own models and diversify.

Inferred Link
  1. 1Lab launches coding agent
  2. 2Competes with customers
  3. 3Tools build own models
  4. 4Multi-vendor routing grows
Why model providers and coding tools are drifting apart.
07

Regional variations#

07.1

In the US and Europe, tools rely on US model labs (plus Mistral in Europe). In China, coding tools use domestic models (DeepSeek, Alibaba's Qwen, Zhipu) because US APIs are restricted there. Japan and Korea buyers increasingly ask for local hosting through Azure or AWS regions.

Consensus Link
  • 1Anthropic, OpenAI, Google
  • 2Mistral in Europe
  • 1DeepSeek, Qwen, Zhipu
  • 2US APIs restricted
  • 1US models via local regions
  • 2Local LLM efforts
Which models coding tools use by region.
07.2

Where code may be sent matters: EU and Japanese enterprises often require that prompts are processed in-region, so tools route through cloud-hosted model endpoints in local regions.

Inferred Link
  1. 1Code is sensitive
  2. 2Data residency rule
  3. 3Regional cloud endpoint
  4. 4Higher cost or fewer models
How data residency shapes model routing.
09
Live · coming next

Pulse

What's happening with foundation model & AI API providers and developer tool & code platform vendors

Every headline, story, and sentiment shift about foundation model & AI API providers and developer tool & code platform vendors: updated continuously, tagged to the map, and linked back to how it works.

Footnotes

Sources

  1. 1Claude pricing , Anthropic
  2. 2OpenAI API pricing , OpenAI
  3. 3GitHub Copilot documentation (including supported AI models) , GitHub
  4. 4Cursor pricing , Anysphere (Cursor)
  5. 5JetBrains , JetBrains
  6. 6Amazon Bedrock , Amazon Web Services
  7. 7GitHub Copilot plans and pricing , GitHub
  8. 8Anthropic newsroom , Anthropic
Before you go

Did you find what you came here for?