The Most Expensive Model Isn't Always the Best One for your work.

Every week, a new AI model comes out. Bigger context windows, higher benchmark scores, better reasoning capabilities. And almost immediately, the conversation shifts to which coding agent has access to the latest and most powerful model.
But when you're actually building software, how much of that matters?
As developers, we don't necessarily care how many tokens an agent consumes or how powerful its underlying model is. We care about whether it gets the job done correctly, how much intervention it requires, and what it ultimately costs us.
At OxCode, we've been exploring a slightly different approach to building coding agents. Rather than relying on a single powerful model to handle everything, we believe there's more value in understanding which model is needed, when it's needed, and what it's being asked to do.
We decided to put that approach to the test.
Putting four coding agents to work
We took MiniPay, a small TypeScript-based payments API, and gave four coding agents the same five everyday engineering tasks:
- Rename a concept across the codebase.
- Identify and fix a bug.
- Implement a new API endpoint.
- Write tests.
- Refactor a module without changing its behaviour.
Nothing particularly groundbreaking. These are the kinds of tasks developers encounter regularly, which is precisely why we chose them.
We tested Claude Code, Codex, Antigravity and OxCode within VS Code, repeating the experiments with different combinations to check for consistency rather than relying on a single run.
Here's what we observed.
| Agent | Model | Total tokens | Estimated cost |
|---|---|---|---|
| Claude Code | Claude Opus 5.5 | 3.17M | ₹254 |
| Codex | GPT-5.6-sol | 1.64M | ₹157 |
| Antigravity | Gemini 3.8 Flash | 2.21M | ₹53 |
| OxCode | Multiple models, selected per step | 4.75M | ₹0.41* |
Competitor costs are estimated using pay-as-you-go API prices as of 17 November 2026. OxCode's figure represents the allocated value of five runs under its ₹99/month Starter launch offer, assuming full plan utilisation.
The interesting part wasn't simply that OxCode was cheaper for the user under this pricing comparison. It was that OxCode consumed the most tokens across the five tasks.
That might seem counterintuitive, particularly when token efficiency is often presented as a measure of how well a coding agent operates.
But token consumption and the cost of completing a task are two different things.
Not every engineering decision needs the strongest model
Think about how a software engineer actually spends their day.
Some tasks require substantial reasoning: understanding an unfamiliar architecture, investigating a complex bug, or deciding how a change might affect other parts of the system.
Others are relatively straightforward: locating a file, interpreting test output, renaming a variable or making a well-defined modification.
A coding agent encounters the same spectrum of work.
Using a frontier reasoning model for every interaction may be convenient, but it isn't necessarily the most economical way to complete a task.
Our approach with OxCode is to select models according to the work being performed. More demanding reasoning can be handled by more capable models, while simpler operations can be delegated to less expensive ones.
The objective isn't to minimise tokens at all costs. It's to make effective use of the intelligence available without unnecessarily increasing the cost of engineering work.
We believe model selection should be a responsibility of the agent, rather than another decision the developer has to make.
Cost means very little if the work is wrong
Of course, none of this matters if a cheaper agent leaves behind broken code that a developer has to spend hours fixing.
That's why we were equally interested in how the agents approached verification.
During the experiment, three instances of OxCode's behaviour stood out to us.
It established that the bug actually existed before fixing it.
OxCode wrote eight regression tests and ran them against the original, broken implementation. The tests exposed the discrepancy: an expected value of 1200 was returning 800. After implementing the fix, it ran the tests again and confirmed that they passed.
It tested the new API endpoint beyond the code itself.
Rather than relying solely on implementation and unit tests, OxCode started the server and called the endpoint over HTTP. The task concluded with all 44 tests passing.
It verified that the refactor preserved existing behaviour.
OxCode retrieved the original implementation from Git and replayed 40 cases against both versions. The results were identical across those cases.
OxCode wasn't alone in demonstrating good engineering practices. Claude Code also verified its fix against the broken implementation and produced the most tests on two of the tasks.
These observations matter because the real value of a coding agent isn't just its ability to generate a solution. It's also its ability to establish whether that solution works.
What does ₹99 actually get you?
To put the pricing into perspective, we calculated how many times the same five-task workload could be covered by a ₹99 budget.
| Agent | Equivalent five-task workloads |
|---|---|
| Claude Code | 0.4 |
| Codex | 0.6 |
| Antigravity | 1.9 |
| OxCode | 240 |
The estimated cost breakdown for individual tasks was as follows:
| Task | Claude Code | Codex | Antigravity | OxCode |
|---|---|---|---|---|
| Rename | ₹27 | ₹37 | ₹4 | ₹0.08 |
| Bug fix | ₹36 | ₹21 | ₹8 | ₹0.08 |
| New API | ₹42 | ₹28 | ₹16 | ₹0.08 |
| Tests | ₹57 | ₹33 | ₹10 | ₹0.08 |
| Refactor | ₹92 | ₹38 | ₹14 | ₹0.08 |
The competitor figures are estimates derived from each task's share of total token consumption. OxCode's figures are based on one run per task under the Starter launch offer.
There is an important distinction here. We're comparing estimated API consumption costs against the effective per-run price of an OxCode subscription. Developers using Claude Code, Codex or Antigravity through their respective subscription plans may experience very different economics.
This isn't a comparison of what it costs each company to operate its agent, nor does it establish that OxCode is hundreds of times more computationally efficient.
What it does illustrate is the amount of engineering work a developer could potentially access at a given price under these specific pricing assumptions.
Where we think coding agents are heading
We don't believe the future of coding agents will be decided exclusively by which company has access to the most powerful foundation model.
Models will continue improving. New ones will emerge, existing ones will become cheaper, and today's leading model may no longer be the leading model a few months from now.
The more interesting engineering challenge is figuring out how to turn that intelligence into a reliable software engineer.
An agent needs to understand the project it's working on, recognise the implications of its decisions, know when it has enough information to proceed, and know when it should stop and ask the developer. It also needs to validate its own work rather than treating code generation as the end of the job.
These are the problems we're working on at OxCode.
We want developers to be able to delegate engineering work without having to constantly think about model selection, token consumption or whether the agent has actually verified what it claims to have done.
We're not there yet. But this experiment gives us another reason to believe that building a better coding agent is about more than simply putting a better model behind it.
Methodology and limitations
We want to be transparent about what this experiment does and doesn't demonstrate.
- Scope: The experiment covers one small application and five relatively straightforward engineering tasks. It is not a comprehensive benchmark of agent capabilities.
- Pricing comparison: Competitor costs are estimated using standard pay-as-you-go API pricing, rather than their subscription offerings.
- OxCode pricing: The Starter launch offer provides 1,200 runs per month, limited to 40 runs per day, for ₹99. The effective cost of ₹0.0825 per run assumes full utilisation of the plan.
- Cache-write charges: These are excluded from the estimates. Including them could increase the estimated costs for Claude Code and Codex by up to approximately 7%.
- Promotional pricing: The OpenAI and Google prices used include promotional pricing scheduled to end on 30 November 2026 and 31 December 2026, respectively. Under the subsequent Google pricing, Antigravity's estimated workload cost would rise to approximately ₹105.
Token consumption
Token usage was obtained from our internal test logs, including input tokens, cached input tokens and output tokens.
| Agent | Input tokens | Cached input | Output tokens | Estimated cost |
|---|---|---|---|---|
| Claude Code | 3,095,822 | 2,910,073 | 69,533 | ₹254 |
| Codex | 1,612,877 | 1,496,750 | 30,819 | ₹157 |
| Antigravity | 2,159,038 | 1,869,727 | 54,749 | ₹53 |
| OxCode | 4,748,572 total | — | — | ₹0.41 of plan value |
API pricing
Prices used in the calculation, in USD per million tokens, as of 17 November 2026:
| Model | Input | Cached input | Output |
|---|---|---|---|
| Claude Opus 5.5 | $4.00 | $0.20 | $20.00 |
| GPT-5.6-sol | $4.00 | $0.40 | $20.00 |
| Gemini 3.8 Flash | $0.75 | $0.075 | $3.75 |
Calculation formula:
Estimated cost = (uncached input × input price) + (cached input × cache-read price) + (output × output price), with token quantities expressed in millions.
Exchange rate: ₹93.57 per USD, based on the RBI/FBIL reference rate for 17 November 2026.
Pricing sources:
OxCode is an AI software engineer being built by a team in India with a simple ambition: to make reliable AI-powered software engineering accessible to every developer.
Try OxCode at oxcode.ai.