Coding agent harnesses compared: subscriptions, API costs, and BYOK
Updated Nov 30, 2026
The table uses catalog-verified offers and totals calculated from the full rates. A coding-agent harness is the app between your repository and a model. It gathers context, proposes edits and may run commands or tests. BYOK (bring your own key) means using credentials from your chosen provider. Before choosing a client, check who bills the model, what the subscription includes, and which features can use your key.
Ten coding-agent clients
Plan prices are monthly US dollar amounts from AI Rate Card. Features and usage terms were checked on 29 November 2026. The example plans are individual plans.
| Client | Where it runs and whose key it accepts | What the subscription buys and what we can compare |
|---|---|---|
| Claude Code | Terminal and editor integrations. Claude account, Anthropic API key, or an Anthropic Messages-compatible gateway. | Claude Pro is $20. Its allowance is shared with Claude. The monthly input/output entitlement for this workload is unspecified. Anthropic API-key usage is metered separately. |
| Codex | CLI, IDE and desktop. ChatGPT sign-in or an OpenAI API key for local work. Custom gateways are configurable. | ChatGPT includes Codex usage by plan, with extra credits on eligible plans. The catalog snapshot has no ChatGPT plan fee. The included allowance depends on the model, task and reset windows, so the API estimate below cannot price the same work inside ChatGPT. |
| DeepSeek Harness | Local web UI in developer preview. DeepSeek API key or custom OpenAI Chat Completions, OpenAI Responses, Anthropic Messages or Gemini endpoint. Ollama is another option. | The connected provider bills usage. Any cloud plan or credits belong to that provider. The direct DeepSeek API example below uses the off-peak rate. |
| OpenCode | Terminal client. Connect OpenRouter, Anthropic, OpenAI and compatible endpoints with your credentials. | Console offers pay-as-you-go. Go is a separate subscription with shared 5-hour, weekly and monthly limits. The catalog snapshot has model rates, with no Go plan fee. Matching a workload also takes the model's usage debit and the timing of requests across those windows. |
| Cline | IDE extension and CLI. OpenRouter, Anthropic, DeepSeek and other own-key providers are supported. | ClinePass is optional and includes access to selected models within its quota. Cline usage-billing is separate. The catalog has reference model rates with no monthly Pass fee or usable allowance for this scenario. |
| Kilo | IDE extensions and CLI. Bring a key for OpenRouter, Anthropic or OpenAI, or use Kilo Gateway. | Optional Kilo Pass starts at $19. The fee funds a balance and bonus credits depend on the plan and subscription history. A plan comparison needs the credited balance for that account and the Gateway rates for the models it uses. With BYOK the model vendor bills usage. |
| Roo Code | Archived VS Code extension. Its historical docs describe using an OpenRouter key. | The official extension was archived and Cloud and Router closed on 15 May 2026. There is no current official subscription to compare. |
| Aider | Terminal with Git. Uses your credentials for Anthropic, OpenAI, Gemini and OpenRouter, or a local backend such as Ollama. | For these connections you pay the chosen API provider or run the model on your hardware. |
| Cursor | AI editor. Own keys work for supported chat models from Anthropic, OpenAI, Google, Azure and AWS Bedrock. Tab uses built-in models. | The X Subscription lists Plus $8, Premium $30, Super $100 and Ultra $200 for new customers. Paid plans include a weekly Cursor/Grok pool. Premium and above use prepaid credit for third-party models. With individual BYOK the provider bills usage. Eligible team requests can also incur the Cursor Token Rate. A token-equivalent plan quote needs the pool debit for the selected model and the applicable prepaid balance. |
| TRAE | IDE and SOLO. TRAE documents using your Vercel AI Gateway key to select a custom model for the coding agent. | The catalog lists Pro $20, Pro+ $60 and Ultra $200. Managed AI requests draw from a monthly Usage balance. To compare a plan with the API example, you need the in-plan debit rate for the selected model and effective balance for that account. Vercel API usage has its own billing. |
One month on an API key
The catalog’s coding-agent calculator provides ways to size a workload. Here we use its catalog workload preset, 500 million uncached input tokens and 30 million output tokens per month. The estimates use standard interactive rates unless stated, with no batch, cache writes, long-context surcharges or taxes. Each monthly price is 500 times the input rate plus 30 times the output rate, in USD. The figures compare model metering. Actual agents can send different amounts of context or take different numbers of turns on the same task.
| API route and model | Input / output per million tokens | Monthly API cost |
|---|---|---|
| OpenRouter — DeepSeek V4.1 Flash | $0.051 / $0.567 | $42.51 |
| DeepSeek direct — V4.1 Flash, off-peak | $0.15 / $0.60 | $93.00 |
| Vercel AI Gateway — DeepSeek V4.1 Flash | $0.30 / $1.20 | $186.00 |
| Anthropic — Claude Sonnet 5.5 | $2.00 / $10.00 | $1,300.00 |
| OpenAI — GPT-6.1 Sol | $2.00 / $10.00 | $1,300.00 |
Source for rates and plan fees: AI Rate Card, 30 November 2026. The DeepSeek direct figure assumes all usage is off-peak. The catalog flags a disagreement on its cache-read rate, which is excluded here. OpenRouter’s listed rate depends on the provider route. Check the current offer for the upstream route and limits. Subscription fees, credits and any feature charges are outside these API amounts.
The same OpenRouter example applies before extra charges in OpenCode, Cline, Kilo or Aider if they send this exact token volume to that route. Claude Code and Codex have direct-key examples above. The Vercel row shows the gateway rate TRAE can use via its documented custom model path. Account and model compatibility still determine which features work.
Live offers for DeepSeek V4.1 Flash
| Provider | Model | Input, $ | Output, $ |
|---|---|---|---|
| kenari | DeepSeek V4.1 Flash | $0.04413 | $0.08147 |
| kilo | DeepSeek: DeepSeek V4.1 Flash | $0.051 | $0.48 |
| openrouter | DeepSeek: DeepSeek V4.1 Flash | $0.051 | $0.48 |
| aiml | DeepSeek V4.1 Flash | $0.0675 | $0.27 |
| requesty Relace | DeepSeek V4.1 Flash | $0.07 | $0.50 |
| huggingface | DeepSeek V4.1 Flash | $0.12 | $0.48 |
| deepinfra | DeepSeek V4.1 Flash | $0.14 | $0.42 |
| edenai APAC,EU,GLOBAL,US | DeepSeek V4.1 Flash | $0.14 | $0.42 |
| fastrouter | DeepSeek: DeepSeek V4.1 Flash | $0.14 | $0.42 |
| iteracompute | DeepSeek V4.1 Flash | $0.14 | $0.55 |
| standardcompute | DeepSeek V4.1 Flash | $0.14 | $0.42 |
| 302ai | DeepSeek V4.1 Flash | $0.15 | $0.60 |
| inferx | DeepSeek V4.1 Flash | $0.15 | $0.60 |
| neuralwatt | DeepSeek V4.1 Flash | $0.15 | $0.60 |
| orcarouter | DeepSeek V4.1 Flash | $0.15 | $0.60 |
Live data: this table is built from today's prices.
What to choose
- Already use Claude or ChatGPT? Start with Claude Code or Codex while the included allowance covers your work. Check the remaining allowance after a representative day before paying for extra usage.
- Want the same provider key across tools? Compare OpenCode or Aider in the terminal with Cline or Kilo in the editor. Try the same model and route on a representative task and log billed tokens and retries. For a first-party DeepSeek workflow, see the DeepSeek Harness setup guide.
- Want an editor with managed features? Choose Cursor or TRAE based on which features you need. Check whether those features use the included pool, prepaid credit, or your key. For an archived Roo Code installation, its publisher points to Cline as a supported alternative.
Official documentation
- Claude Code subscription · Claude Code gateway · Codex sign-in · Codex usage · Codex providers
- DeepSeek Harness providers · DeepSeek API pricing conditions · OpenCode providers · OpenCode Go · OpenCode Console
- Cline providers · ClinePass · Kilo BYOK · Kilo Pass · Roo Code sunset · Aider providers
- Cursor plans · Cursor BYOK · TRAE billing · TRAE and Vercel