contenox

Which AI provider for coding agents? A decision guide

Updated

MODELS AND COST Which AI provider?

The right AI provider for a coding agent depends on three questions more than on any benchmark: how you want to pay, where your code is allowed to go, and which agent you already use. If you pay for ChatGPT, start with that subscription. If your company runs on AWS or Google Cloud, use Bedrock or Vertex AI. If code must not go to a model company, run the model yourself, on your own machine or on rented GPUs. If you want to try many models with one key, use OpenRouter.

The model matters too, but it changes every few weeks. These three questions don’t.

The short version

  • You already pay for ChatGPT: use the ChatGPT subscription in Codex CLI or OpenCode. No API key, no per-token bill.
  • You already pay for Claude Pro, Max or Ultra: use it in Claude Code, or in an app that runs Claude Code for you, such as Contenox. Max and Ultra also include monthly API credits for an Anthropic API key in other agents; they don’t cover Claude Code itself. See Anthropic.
  • You already pay for GitHub Copilot: OpenCode signs in with it; Contenox only after you enable unofficial sign-ins. See GitHub Copilot subscription.
  • Your company is on AWS: Bedrock, billed and governed like everything else in the account.
  • Your company is on Google Cloud: Vertex AI, same idea.
  • Code must not go to a model company: run the model yourself with Ollama on your own computer, or vLLM on a team server or rented GPUs.
  • You want to try many models: OpenRouter, one key for most of them.
  • You want DeepSeek’s models: use the DeepSeek API directly, in DeepSeek’s own agent DeepSeek Harness or any agent in the table below, or through OpenRouter. Read where its data is processed first.

How do you want to pay?

SubscriptionAPI keyYour cloud accountRun the model yourself
ExamplesChatGPT, Claude, GitHub Copilot and Ollama Cloud plansAnthropic, OpenAI, Gemini, DeepSeek, Mistral, OpenRouterAWS Bedrock, Vertex AIOllama or vLLM on your computer, a team server, or rented GPUs
You payA flat monthly feePer tokenPer token, on the cloud billThe hardware you own, or the GPU hours you rent
When you hit the limitWait for the reset, or buy moreYour own spend limit stops youAccount quotasYour GPUs are busy: requests queue and slow down, until you add capacity
Good forDaily use by one personUneven use, teams, automationCompanies with existing cloud rulesPrivate code, steady heavy volume, models no provider offers

Running the model yourself doesn’t mean owning a GPU. You can rent one, or a whole cluster, from a GPU cloud by the hour and run vLLM on it. You then pay for the time the machines run, not per token, which gets cheaper the more of that time your team keeps them busy.

Agent sessions use far more tokens than chat, because the whole conversation is resent every step. That makes a subscription attractive for daily use, and per-token billing painful when a session runs away. AI coding costs explains where the tokens go, and prompt caching how to keep the bill down on per-token providers.

Where is your code allowed to go?

Everything the agent reads, including your files, command output and sometimes secrets, is sent to whoever runs the model.

  • A provider’s API or subscription: to that provider, under their terms for your plan. Read the data-use terms. Google’s Gemini API terms, for example, say free-tier prompts may be used to improve Google’s products and may be read by human reviewers, and tell you not to send confidential information on the free tier.
  • DeepSeek: its privacy policy says data is processed and stored in the People’s Republic of China.
  • OpenRouter: to whichever provider serves the request. You can restrict routing to providers with zero data retention.
  • Bedrock or Vertex AI: your company’s existing cloud agreements apply, in the region you choose.
  • Ollama or vLLM on your own computer or server: nowhere. The model runs on hardware you control.
  • vLLM on rented GPUs: to the machines you rent, which you control, under the GPU provider’s terms. No model company sees it.
  • Ollama Cloud: to Ollama’s servers. It is a hosted service, like any other provider.

If your employer or client has rules about this, they decide the shortlist before quality does.

Which providers work in my agent?

ProviderClaude CodeCodex CLIOpenCodeContenox
ChatGPT subscriptionNoYesYesYes
AnthropicYes, plan or keyNoKeyPlan (runs Claude Code) or key
GitHub Copilot subscriptionNoCodex VS Code extension, Pro+ and MaxYesUnofficial sign-in, off by default
OpenAI APINoYesYesYes
GeminiNoNoYesYes
DeepSeekWorks, unsupportedYesYesYes
Qwen (Alibaba Cloud Model Studio)Works, unsupportedYesYesYes
MistralNoYesYesYes
OpenRouterClaude models onlyYesYesYes
AWS BedrockClaude modelsOpenAI modelsYesYes
Vertex AIClaude modelsNot documentedYesGemini models
OllamaWorks, unsupportedYesYesYes
vLLMWorks, unsupportedYesYesYes

“Works, unsupported” means the provider documents a setup, but Anthropic doesn’t support Claude Code with non-Claude models, so some features may break. Each provider page has the exact steps for every agent. For the choice of agent itself, see the AI coding harness comparison.

Three patterns stand out:

  • Claude Code is for Claude. It runs Claude models through Anthropic, Bedrock, Vertex AI or Microsoft Foundry. Other models only work through setups Anthropic doesn’t support.
  • Codex CLI is for OpenAI first. It takes other providers only if they speak OpenAI’s Responses API, which rules out some, such as Gemini through its own API.
  • OpenCode takes almost anything. Of the three, it is the one to pick if model choice is your priority.

Which model, then?

Once the provider is settled, pick the model by testing two or three on your own work, not by leaderboards. How to choose a model for coding has a one-afternoon method. A common setup is two: a strong model for planning and hard bugs, and a faster, cheaper one for routine edits. Given how far apart session costs are, that split matters: see AI coding costs.

Can I use more than one?

Yes, and it is common: a subscription for daily work, an API key or OpenRouter for when the subscription runs out, a local model for private code. OpenCode and Contenox let you connect several providers and switch per session; with Claude Code or Codex you switch by changing settings or environment variables.

Related

Esc to close