BACK

The Real Cost of AI Coding Tools (And Why You're Overpaying)

AI Agents1#ai#developer-experience#productivity#software
TL;DR

OpenCode data shows 58% of real coding sessions run on Chinese models at $0.05/session. The frontier model race is a distraction — workflow, tooling, and being intentional with your agent matter way more than which model you pick.

I keep seeing the same conversation online. "Have you tried the new Opus?" "Gemini 3.5 is unbelievable." "You need the $200/mo plan or you're leaving money on the table."

Then I look at the actual usage data from OpenCode — a terminal-based coding agent platform — and the picture is completely different.

Market share by model author over the last eight weeks:

  1. DeepSeek — 58.4%
  2. Moonshot — 24.6%
  3. Qwen — 5.9%
  4. Zhipu — 5.5%
  5. MiniMax — 3.5%
  6. Xiaomi — 2.1%

Every single one is Chinese. Every single one is cheap. Average session cost: $0.05. Token cost per million: $0.14 input, $0.28 output. Cache ratio: 97%. Tokens per session: 4.8 million.

The models everyone on Twitter is hyping? Barely on the board. Real developers, doing real work, voting with their wallets.

This isn't a "China vs the world" thing. It's a cost-to-value thing. Frontier models are expensive — $2–$15 per session depending on what you're doing. But the vast majority of coding work doesn't need frontier intelligence. Writing a test, refactoring a function, debugging a type error — these are handled perfectly well by models that cost a nickel per session. The only thing holding them back was the tooling.

The Harness Is the Unlock

I've been using Pi — a minimal terminal harness for coding agents. You bring your own models, tools, and workflows. It supports fifteen-plus providers, so you can switch between a cheap model for daily work and a frontier model for the hard stuff. The harness doesn't care.

People use Claude Code and OpenCode for the same reason: they want the agent to actually touch the code. Not suggest it. Edit it, run it, fix it. That's the real shift — terminal-native agents that operate on your project instead of just chatting about it.

But the deep truth about why people default to the most expensive tools is simple: it's the path of least resistance. Claude Code ships as a product. Pi is a harness you configure. One is an on-ramp, the other is a workshop. Most people take the on-ramp because it's there, not because they've calculated the cost.

The Insane Economics of AI Subscriptions

There's a question nobody wants to ask: why are we spending hundreds or thousands of dollars a month on AI tools to write code for projects that don't even have any users yet?

Let's look at the actual numbers.

Subscriptions:

  • Claude Pro: $20/mo. Max: $100/mo.
  • ChatGPT Plus: $20/mo. Pro: $100/mo.
  • GitHub Copilot Pro: $10/mo. Pro+: $39/mo. Max: $100/mo.
  • Cursor Pro: $20/mo. Ultra: $60/mo.

Stack two or three of these and you're at $200–$400/mo easily. Before you've written a single line of code. For a project with five GitHub stars, zero active users, no revenue.

Frontier API costs:

  • GPT-5.5: $5.00 input / $30.00 output per 1M tokens.
  • GPT-5.4: $2.50 input / $15.00 output.
  • Claude Opus class models: $5-15 input / $25-75 output per 1M tokens.

And what OpenCode data shows:

  • Average session cost with Chinese models: $0.05.
  • Token cost: $0.14 input / $0.28 output per 1M tokens.
  • Tokens per session: 4.8 million.

You can run a hundred sessions on cheap models for the cost of a single frontier session. And the Chinese models are capturing 100% of real usage on the platform. Not because they're sentimental — because they work.

And what are you getting for that $100/mo subscription? A copy-paste workflow from a browser tab. Maybe some agentic features if you use the premium tiers. But the economics make no sense. You're burning capital on inference that could be spent on a dozen cheaper models running in a proper harness.

Even worse — the more you spend, the less you learn. I see people generating thousands of lines of code they don't understand, shipping features they couldn't explain, building systems they couldn't debug. They're paying a premium to stay incompetent. The expensive model writes the code, the developer approves it blindly, and when something breaks, they have no idea where to start looking.

You know what forces you to understand your code? Reading it. Running it. Debugging it. A $200/mo model generating code you skim and accept doesn't make you productive — it makes you a manager of an intern you can't fire who writes code you can't read.

The people doing this right aren't the ones spending the most. They're the ones who picked a cheap model, configured a harness with real tools, and treat the agent like a junior developer they actually supervise. The cost is incidental. The workflow is the point.


Next up: Part 2 — How to Actually Use AI Agents (Stop Treating Them Like Magic Wands) — why "Build me a website" doesn't work, the vibe coder problem, and why supervised collaboration is the real paradigm.