Software and SaaS
RelationshipDraft

Best LLM for coding: how AI coding agents and model APIs work for software engineers

Model companies sell software engineers two things: APIs priced per million tokens that developers build products on, and coding assistants and agents (Anthropic's Claude Code, OpenAI's Codex, Google's Gemini CLI and Jules, GitHub Copilot, Cursor, Windsurf, JetBrains AI, Amazon Q Developer and Kiro) that read codebases, write and edit code and run commands, sold as monthly subscriptions or by usage, while engineers argue over how much they really raise productivity.

.md
Fig. What flows between them
  1. ↓ Per-token API fees and coding-tool subscriptions
    Foundation model & AI API providers
  2. ↓ Docs, model cards and usage policies
    Software engineers & developers
The questions people ask

Quick answers

What is the best LLM for coding?

Rankings change every few months. Through 2025, Anthropic's Claude models, OpenAI's GPT-5 family and Google's Gemini models led public coding benchmarks such as SWE-bench Verified and were the default choices in tools like Cursor and GitHub Copilot. Most engineers try several and pick by task, speed and cost.

What are AI coding agents?

Coding agents are AI tools that can plan and carry out multi-step programming tasks: reading files, editing code across a repository, running tests and terminal commands, and opening pull requests, rather than only suggesting the next line. Examples include Claude Code, OpenAI Codex, GitHub Copilot's coding agent, Cursor's agent mode, Devin and Jules.

Will AI replace software engineers?

Not on current evidence. AI tools now write a large share of code at many companies, which shifts engineers toward specifying, reviewing and integrating work. Effects on productivity vary: a 2025 METR study found experienced open-source developers were slower with AI tools on their own repositories, while companies report gains on routine tasks.

How is LLM API pricing calculated?

APIs charge per million input tokens and per million output tokens, with output usually several times more expensive, plus discounts for cached input and batch processing. Larger, smarter models cost more per token than small, fast ones.

How many developers use AI tools?

Stack Overflow's 2025 Developer Survey found that a large majority of respondents use or plan to use AI tools in their work, although trust in the accuracy of AI output fell compared with earlier years.

Is my code used to train AI models?

API and business products from the major providers generally do not train on customer data by default. Consumer and individual plans may, depending on settings, so teams handling proprietary code usually use business or enterprise plans with training disabled.

01

How the relationship works#

01.1

Engineers relate to model companies as API customers (building apps on models) and as tool users (using coding agents to write software). Third-party tools such as Cursor and GitHub Copilot sit in between, buying model access and reselling it inside an editor.

Consensus Link
  1. Model provider
    ↓ API, coding agent
    Software engineer
  2. ↓ editor and agent
    Software engineer
  3. Employer
    ↓ seats, tokens
    Model provider
The two ways engineers use model providers.
01.2

Coding tools split into model-maker agents, AI-first editors and platform assistants.[1]

Consensus Link
Model-maker agents
  • 1Claude Code (Anthropic)
  • 2Codex (OpenAI)
  • 3Gemini CLI, Jules (Google)
AI-first editors
  • 1Cursor (Anysphere)
  • 2Windsurf
  • 3Zed
Platform assistants
  • 1GitHub Copilot
  • 2Amazon Q, Kiro
  • 3JetBrains AI
Kinds of AI coding tools.
02

What flows between them#

02.1

A coding agent works in a loop on the engineer's machine or a cloud sandbox.

Consensus Link
  1. 1
    Engineer gives task
    Engineer
  2. 2
    Agent reads codebase
    Agent
  3. 3
    Plans and edits files
    Agent
  4. 4
    Runs tests, commands
    Agent
  5. 5
    Engineer reviews diff
    Engineer
  6. 6
    Commit or pull request
    Engineer
How an AI coding agent completes a task.
02.2

Code context flows to the provider with every request; feedback (accepted or rejected edits) flows back to improve tools; documentation, model cards and policies flow out.

Consensus Link
  1. Engineer's repo
    ↓ code context, prompts
    Model API
  2. ↓ code edits
    Engineer's repo
  3. Open-source code
    ↓ public training data
    Model API
What data moves between engineers and model providers.
03

Commercial structure#

03.1

Engineers pay in three ways: API tokens (pay as you go), individual subscriptions (roughly US$10–20 a month for basic tiers, US$100–200 for heavy agent use), and team or enterprise seats paid by employers.[2][1]

Consensus Link
API tokens
  • 1Per million input/output
  • 2Cache and batch discounts
Individual plans
  • 1Copilot, Cursor, Claude Pro
  • 2Premium tiers for agents
Team / enterprise
  • 1Per seat
  • 2Admin, SSO, no training
How engineers pay for AI coding.
03.2

Heavy agent use costs providers a lot of compute, so flat-rate plans now come with rate limits; Anthropic added weekly limits for Claude Code in 2025 and tools such as Cursor moved toward usage-based pricing.[3]

Consensus Link
  1. 1Flat-rate plans launched
  2. 2Agents use huge token volumes
  3. 3Providers add usage limits
  4. 4Shift to usage-based pricing
Why AI coding plans added limits.
04

How they communicate#

04.1

Providers reach engineers through docs, changelogs, SDKs, developer relations, conferences (OpenAI DevDay, Google I/O, Anthropic's Code with Claude), Discord and GitHub; engineers answer back on social media, forums and issue trackers.

Consensus Link
  1. Developer relations
    ↓ guides, SDKs
    Docs and changelogs
  2. ↓ learning
    Engineers
  3. ↓ feedback, bugs
    GitHub, Discord, X
  4. ↓ sentiment
    Developer relations
How model providers and engineers communicate.
04.2

Public benchmarks are the shared language for comparing models.

Consensus Link
Coding benchmarks
  • SWE-bench VerifiedReal GitHub issues
  • Terminal-BenchCommand-line tasks
  • HumanEvalOlder, saturated
  • LMArenaHuman preference
  • Aider PolyglotMulti-language edits
Benchmarks engineers use to compare coding models.
05

Power dynamic#

05.1

A few providers own the best coding models, giving them power over price and limits, including over tool vendors that depend on them. Engineers' leverage is switching: tools like Cursor let them pick models, and open-weight models (Qwen, DeepSeek, Llama, Mistral) are a fallback.

Inferred Link
Model providers
Their levers
  • Best models
  • Rate limits and pricing
  • Own coding tools
Software engineers
Their levers
  • Multi-model tools
  • Open-weight models
  • Public feedback
VS
Levers each side holds.
05.2

Adoption is widespread but trust is lower than usage.[4]

Consensus Link
  1. 1Most developers use AI tools
  2. 2Trust in accuracy falls
  3. 3More review needed
  4. 4Shift toward reviewing, not writing
Developer AI adoption and trust (Stack Overflow 2025).
06

Friction & conflict#

06.1

Friction: wrong or insecure code, usage limits and price changes, code privacy, open-source licensing of training data (the GitHub Copilot lawsuit), and job anxiety, especially for junior roles.

Consensus Link
1
Code quality
Bugs, insecure code
2
Limits and prices
Changing plans
3
Privacy
Proprietary code
4
Licensing
Copilot lawsuit
5
Jobs
Junior hiring fears
Where engineers and model providers clash.
06.2

Evidence on productivity is mixed.[5][4]

Disputed Link
Vendor and company claims
  • 1Large share of code AI-written
  • 2Faster routine tasks
METR study (2025)
  • 1Experienced devs 19% slower
  • 2On own mature repos
Developer surveys
  • 1High use
  • 2Lower trust
What different sources say about AI coding productivity.
07

Regional variations#

07.1

US engineers get tools first; China blocks US models and uses domestic coding models (Qwen Coder, DeepSeek, Kimi, Zhipu GLM) and tools; India, with one of the largest developer populations, is a big market for low-cost plans; EU companies weigh data residency for code.

Consensus Link
  • 1First access
  • 2Highest spend
  • 1US models unavailable
  • 2Qwen, DeepSeek, GLM
  • 1Huge developer base
  • 2Price-sensitive
  • 1Code residency concerns
  • 2Mistral Codestral
How AI coding adoption differs by region.
07.2

Developer populations using AI coding tools are largest in the US, India and China.

Inferred Link
United States
Largest paying market
India
Large developer base
China
Domestic models
European Union
Large developer base
Brazil
Growing
Relative weight by region
Where AI coding tool users are concentrated (relative).
09
Live · coming next

Pulse

What's happening with foundation model & AI API providers and software engineers & developers

Every headline, story, and sentiment shift about foundation model & AI API providers and software engineers & developers: updated continuously, tagged to the map, and linked back to how it works.

Footnotes

Sources

  1. 1GitHub Copilot , GitHub
  2. 2Claude pricing , Anthropic
  3. 3Anthropic newsroom , Anthropic
  4. 4Stack Overflow Developer Survey 2025 , Stack Overflow
  5. 5Measuring the impact of early-2025 AI on experienced open-source developer productivity , METR
Before you go

Did you find what you came here for?