Skip to navigation

Choosing a Model for Coding Agents: Flagship vs Balanced vs Fast

In short: Choosing a coding-agent model is a tier decision: flagship for hard planning, balanced for daily work, fast for sub-agents, often mixed to cut cost.

Published 7 min read
On this page

In short:

  • Flagship models earn their price on ambiguous, multi-step work where a wrong turn is expensive: architecture, large refactors, hard debugging, long unattended runs.
  • Balanced models are the right default for most day-to-day coding.
  • Fast models are ideal for the high-volume parts of agent work: searching, reading, summarising, sub-agents and background tasks.
  • The best setup is usually a mix: a stronger model to plan, a cheaper one to execute and explore. Test on your own tasks rather than trusting anyone’s leaderboard, including ours.

The best model setup for a coding agent is usually a mix: a flagship model to plan and untangle hard problems, a balanced model for daily work, and a fast model for sub-agents and background tasks. Coding agents such as Claude Code, Codex CLI and Cline do not make one model call per task. They run a loop: read files, plan, edit, run a command, read the output, and repeat, often dozens of times. Each step is a model request that re-sends a growing context. So the model you choose affects both the quality of each decision and the number and cost of the steps. This guide gives a practical, honest framework for choosing, using the models in our catalogue as examples. We deliberately do not quote benchmark scores; they change quickly, and they rarely predict how a model behaves on your codebase.

What are the three model tiers in our catalogue?

Our catalogue has three model tiers, flagship, balanced and fast, grouped based on their intended use and price. These are the current members of each, straight from our model data:

Flagship

  • Claude Opus 5.5 (Anthropic, $2.80 in / $14 out per 1M tokens): Anthropic's Opus model for long agentic coding sessions, deep refactors and hard reasoning.
  • GPT-6.1 Sol (OpenAI, $0.70 in / $3.50 out per 1M tokens): OpenAI's latest flagship, tuned for tool use and long-context coding with Codex.
  • GPT-6 Astra (OpenAI, $3.50 in / $17.50 out per 1M tokens): OpenAI's flagship for demanding end-to-end work: deep research, software engineering and long agentic tasks.
  • GPT-5.6 Sol (OpenAI, $4 in / $20 out per 1M tokens): High-effort GPT reasoning model for difficult multi-step problems.
  • Grok 4.7 (xAI, $1.40 in / $4.20 out per 1M tokens): xAI's newest Grok, with a 500K context window, vision input and tool calling.
  • Kimi K3 (Moonshot AI, $0.353 in / $5.67 out per 1M tokens): Moonshot AI's open-weight multimodal reasoning model, strong at large repositories, tool use and debugging.
  • Step 5 (StepFun, $0.00 in / $0.00 out per 1M tokens): Free StepFun reasoning model with a 1M-token context window and image input. Counts as 3 requests of the daily free allowance (33 a day).
  • GPT-6.2 Astra (OpenAI, $0.00 in / $0.00 out per 1M tokens): GPT-6.2 Astra on the free lane: $0 per token, counted in the daily free allowance.
  • GPT-6.2 Astra (OpenAI, $0.00 in / $0.00 out per 1M tokens): GPT-6.2 Astra on the free lane (lane 2): $0 per token, counted in the daily free allowance.
  • DeepSeek V4.1 Flash (DeepSeek, $0.00 in / $0.00 out per 1M tokens): DeepSeek V4.1 Flash on the free lane: $0 per token, counted in the daily free allowance.
  • Nemotron 3 Ultra 550B (NVIDIA, $0.00 in / $0.00 out per 1M tokens): Nemotron 3 Ultra 550B on the free lane: $0 per token, counted in the daily free allowance.
  • Kimi K3.1 Pro (Moonshot AI, $0.00 in / $0.00 out per 1M tokens): Kimi K3.1 Pro on the free lane: $0 per token, counted in the daily free allowance.
  • Nemotron 3 Ultra 550B (NVIDIA, $0.00 in / $0.00 out per 1M tokens): Nemotron 3 Ultra 550B on the free lane (lane 2): $0 per token, counted in the daily free allowance.
  • Nemotron 3 Ultra 550B Uncensored (NVIDIA, $0.00 in / $0.00 out per 1M tokens): Nemotron 3 Ultra 550B Uncensored on the free lane: $0 per token, counted in the daily free allowance.
  • Mistral Large 4 (Mistral, $0.00 in / $0.00 out per 1M tokens): Mistral Large 4 on the free lane: $0 per token, counted in the daily free allowance.
  • K2 Horizon 375B Uncensored (K2, $0.00 in / $0.00 out per 1M tokens): K2 Horizon 375B Uncensored on the free lane: $0 per token, counted in the daily free allowance.
  • K2 Horizon 375B (K2, $0.00 in / $0.00 out per 1M tokens): K2 Horizon 375B on the free lane: $0 per token, counted in the daily free allowance.
  • Claude Fable 5.1 (Anthropic, $7 in / $35 out per 1M tokens): Anthropic's model for long-running agent workflows, front-end code, analysis and knowledge work.
  • Gemini 4 Argon (Google, $0.525 in / $2.63 out per 1M tokens): Google's flagship reasoning model for software engineering, maths, science and multi-step agents.
  • Muse Wonder (Meta, $2.80 in / $14 out per 1M tokens): Meta's frontier reasoning model for complex agent tasks, with text, image, audio and video input.
  • MiMo V2.6 Pro (Xiaomi, $0.3045 in / $0.609 out per 1M tokens): Xiaomi's omnimodal flagship for coding, long agent workflows and visual tasks.
  • Step 5 Preview (StepFun, $0.70 in / $1.89 out per 1M tokens): StepFun's sparse frontier model for production agents, software engineering and long tool use.

Balanced

  • Claude Sonnet 5 (Anthropic, $2 in / $10 out per 1M tokens): The everyday workhorse: strong coding quality at a fraction of flagship cost.
  • GPT-5.6 Terra (OpenAI, $2 in / $12 out per 1M tokens): Balanced GPT model with solid coding and writing at moderate cost.
  • Grok 4.6 (xAI, $2 in / $6 out per 1M tokens): An earlier xAI Grok with fast responses. Grok 4.7 is newer and costs less.
  • Claude Sonnet 5.5 (Anthropic, $1.40 in / $7 out per 1M tokens): The newest Sonnet: near-flagship coding and agent work at the mid-range price.
  • DeepSeek V4 Pro (DeepSeek, $0.49 in / $0.98 out per 1M tokens): DeepSeek's larger V4 model for harder coding and reasoning, text input only.
  • GLM 5.3 (Z.ai, $0.396 in / $0.77 out per 1M tokens): Z.ai's general model for coding help, reasoning, writing and translation, with a 1M context window.
  • MiniMax M3 (MiniMax, $0.161 in / $0.672 out per 1M tokens): MiniMax's multimodal model for long agentic work, coding and tool use, with text, image and video input.
  • GPT-6 Luna (OpenAI, $0.00 in / $0.00 out per 1M tokens): GPT-6 Luna on the free lane: $0 per token, counted in the daily free allowance.
  • GPT-6 Luna (OpenAI, $0.00 in / $0.00 out per 1M tokens): GPT-6 Luna on the free lane (lane 2): $0 per token, counted in the daily free allowance.
  • MiniMax M3.1 Flash (MiniMax, $0.00 in / $0.00 out per 1M tokens): MiniMax M3.1 Flash on the free lane: $0 per token, counted in the daily free allowance.
  • DeepSeek V4 Flash 0731 Thinking (DeepSeek, $0.00 in / $0.00 out per 1M tokens): DeepSeek V4 Flash 0731 Thinking on the free lane: $0 per token, counted in the daily free allowance.
  • Beam 1.0 (Beam, $0.00 in / $0.00 out per 1M tokens): Beam 1.0 on the free lane: $0 per token, counted in the daily free allowance.
  • GLM 5.3 (Z.ai, $0.00 in / $0.00 out per 1M tokens): GLM 5.3 on the free lane: $0 per token, counted in the daily free allowance.
  • GLM 5.3 Uncensored (DealignAI, $0.00 in / $0.00 out per 1M tokens): GLM 5.3 Uncensored on the free lane: $0 per token, counted in the daily free allowance.
  • Gemma 4 31B (Google, $0.00 in / $0.00 out per 1M tokens): Gemma 4 31B on the free lane: $0 per token, counted in the daily free allowance.
  • Gemma 4 31B Alt (Google, $0.00 in / $0.00 out per 1M tokens): Gemma 4 31B Alt on the free lane: $0 per token, counted in the daily free allowance.
  • Laguna XS 2.1 (Poolside, $0.00 in / $0.00 out per 1M tokens): Laguna XS 2.1 on the free lane: $0 per token, counted in the daily free allowance.
  • LongCat 2.5 (Meituan, $0.00 in / $0.00 out per 1M tokens): LongCat 2.5 on the free lane: $0 per token, counted in the daily free allowance.
  • Laguna XS 2.1 (Poolside, $0.00 in / $0.00 out per 1M tokens): Laguna XS 2.1 on the free lane (lane 2): $0 per token, counted in the daily free allowance.
  • Laguna XS 2.1 Uncensored (Poolside, $0.00 in / $0.00 out per 1M tokens): Laguna XS 2.1 Uncensored on the free lane: $0 per token, counted in the daily free allowance.
  • Llama 3.3 70B Instruct (Meta, $0.00 in / $0.00 out per 1M tokens): Llama 3.3 70B Instruct on the free lane: $0 per token, counted in the daily free allowance.
  • Nemotron 3.5 Super VL (NVIDIA, $0.00 in / $0.00 out per 1M tokens): Nemotron 3.5 Super VL on the free lane: $0 per token, counted in the daily free allowance.
  • Jais 3 Mova 36B (Inception, $0.00 in / $0.00 out per 1M tokens): Jais 3 Mova 36B on the free lane: $0 per token, counted in the daily free allowance.
  • Roleplay Chat (Community, $0.00 in / $0.00 out per 1M tokens): Roleplay Chat on the free lane: $0 per token, counted in the daily free allowance.
  • Muse Spark Open (Meta, $0.875 in / $2.98 out per 1M tokens): Meta's open-weight model for coding and agent workflows, with text and image input.
  • Mistral Large 4 (Mistral AI, $0.476 in / $1.43 out per 1M tokens): Mistral's open-weight multimodal model for reasoning, coding, tool use and structured output.

Fast

  • Claude Haiku 4.5 (Anthropic, $1 in / $5 out per 1M tokens): Fast, low-cost Claude for sub-agents, classification and high-volume tasks.
  • DeepSeek V4 Flash (DeepSeek, $0.0392 in / $0.0784 out per 1M tokens): Low-cost DeepSeek model with a 1M context window and optional thinking.
  • GLM 5.3 Flash (Z.ai, $0.07 in / $0.21 out per 1M tokens): Z.ai's fast, low-cost GLM model for quick answers, drafting and simple tool calls.
  • Qwen3.8 27B (Qwen, $0.00 in / $0.00 out per 1M tokens): Free open-weight 27B Qwen vision-language model for coding, research and agent tasks.
  • Qwen3.8 27B Fast (Qwen, $0.00 in / $0.00 out per 1M tokens): Free open-weight 27B Qwen model on a fast lane (1,000 requests a day), for coding, research and agent tasks.
  • StepAudio 3 Chat Preview (StepFun, $0.00 in / $0.00 out per 1M tokens): Free StepFun audio-chat model that reasons over a request and streams an answer on the OpenAI chat endpoint.
  • DeepSeek V4 Flash 0731 (DeepSeek, $0.00 in / $0.00 out per 1M tokens): DeepSeek V4 Flash 0731 on the free lane: $0 per token, counted in the daily free allowance.
  • DeepSeek V4 Flash 0731 (DeepSeek, $0.00 in / $0.00 out per 1M tokens): DeepSeek V4 Flash 0731 on the free lane (lane 2): $0 per token, counted in the daily free allowance.
  • Qwen3.8 27B (Qwen, $0.00 in / $0.00 out per 1M tokens): Qwen3.8 27B on the free lane: $0 per token, counted in the daily free allowance.
  • Qwen3.8-27B Uncensored (Qwen, $0.00 in / $0.00 out per 1M tokens): Uncensored Qwen3.8 27B on the free lane: $0 per token, counted in the daily free allowance.
  • GLM 5.3 Flash Uncensored (DealignAI, $0.00 in / $0.00 out per 1M tokens): GLM 5.3 Flash Uncensored on the free lane: $0 per token, counted in the daily free allowance.
  • DeepSeek V4.1 Flash (DeepSeek, $0.00 in / $0.00 out per 1M tokens): DeepSeek V4.1 Flash on the free lane: $0 per token, counted in the daily free allowance.
  • GLM 5.3 Flash (Z.ai, $0.00 in / $0.00 out per 1M tokens): GLM 5.3 Flash on the free lane: $0 per token, counted in the daily free allowance.
  • ERNIE 5.5 Flash Preview (Baidu, $0.00 in / $0.00 out per 1M tokens): ERNIE 5.5 Flash Preview on the free lane: $0 per token, counted in the daily free allowance.
  • GLM 4.6V Flash (Z.ai, $0.00 in / $0.00 out per 1M tokens): GLM 4.6V Flash on the free lane: $0 per token, counted in the daily free allowance.
  • GLM 4.7 Flash (Z.ai, $0.00 in / $0.00 out per 1M tokens): GLM 4.7 Flash on the free lane: $0 per token, counted in the daily free allowance.
  • Hy4 Flash (Tencent, $0.00 in / $0.00 out per 1M tokens): Hy4 Flash on the free lane: $0 per token, counted in the daily free allowance.
  • DeepSeek V4.1 Flash Uncensored (DealignAI, $0.00 in / $0.00 out per 1M tokens): DeepSeek V4.1 Flash Uncensored on the free lane: $0 per token, counted in the daily free allowance.
  • DeepSeek V4 Flash (DeepSeek, $0.00 in / $0.00 out per 1M tokens): DeepSeek V4 Flash on the free lane: $0 per token, counted in the daily free allowance.
  • ERNIE 5.5 Flash Preview (Baidu, $0.00 in / $0.00 out per 1M tokens): ERNIE 5.5 Flash Preview on the free lane (lane 2): $0 per token, counted in the daily free allowance.
  • ERNIE 5.5 Flash Preview (Baidu, $0.00 in / $0.00 out per 1M tokens): ERNIE 5.5 Flash Preview on the free lane (lane 3): $0 per token, counted in the daily free allowance.
  • LFM 3.1 7B (Liquid AI, $0.00 in / $0.00 out per 1M tokens): LFM 3.1 7B on the free lane: $0 per token, counted in the daily free allowance.
  • Nemotron 3 Nano Omni 30B Reasoning (NVIDIA, $0.00 in / $0.00 out per 1M tokens): Nemotron 3 Nano Omni 30B Reasoning on the free lane: $0 per token, counted in the daily free allowance.
  • Nemotron 3.5 Lightning (NVIDIA, $0.00 in / $0.00 out per 1M tokens): Nemotron 3.5 Lightning on the free lane: $0 per token, counted in the daily free allowance.
  • Solar Mini 4 (Upstage, $0.00 in / $0.00 out per 1M tokens): Solar Mini 4 on the free lane: $0 per token, counted in the daily free allowance.
  • GLM 4.6V Flash (Z.ai, $0.00 in / $0.00 out per 1M tokens): GLM 4.6V Flash on the free lane (lane 2): $0 per token, counted in the daily free allowance.
  • GLM 4.7 Flash (Z.ai, $0.00 in / $0.00 out per 1M tokens): GLM 4.7 Flash on the free lane (lane 2): $0 per token, counted in the daily free allowance.
  • Grok 4.7 Fast (xAI, $0.00 in / $0.00 out per 1M tokens): Grok 4.7 Fast on the free lane: $0 per token, counted in the daily free allowance.
  • Claude Haiku 5.5 (Anthropic, $0.07 in / $0.35 out per 1M tokens): Anthropic's fast small model for summaries, classification, coding help and support chat.
  • GPT-6 Luna (OpenAI, $0.035 in / $0.175 out per 1M tokens): The fast, low-cost model in OpenAI's GPT-6 series, for high-volume chat and light agent work.

What does one agent turn cost?

One agent turn costs its context tokens at the input rate plus its output tokens at the output rate, so the tier you pick sets most of the bill. To make the price differences concrete, imagine a typical mid-session turn: the agent sends about 40,000 tokens of context (instructions, tool definitions, files read, earlier steps) and writes about 2,000 tokens (reasoning, a tool call, or an edit). These are illustrative numbers; your own usage log will show your real ones.

ModelTierPer turn, no cachePer turn, 90% cached input
Claude Opus 5.5flagship$0.140$0.046
Claude Sonnet 5balanced$0.100$0.035
Claude Haiku 4.5fast$0.050$0.018
GPT-6.1 Solflagship$0.035$0.013
GPT-6 Astraflagship$0.175$0.085
GPT-5.6 Solflagship$0.200$0.070
GPT-5.6 Terrabalanced$0.104$0.039
Grok 4.6balanced$0.092$0.038
Claude Sonnet 5.5balanced$0.070$0.023
Grok 4.7flagship$0.064$0.032
DeepSeek V4 Flashfast$0.002$0.000
DeepSeek V4 Probalanced$0.022$0.005
Kimi K3flagship$0.025$0.024
GLM 5.3balanced$0.017$0.012
MiniMax M3balanced$0.008$0.004
GLM 5.3 Flashfast$0.003$0.002
Qwen3.8 27Bfast$0.000n/a
Qwen3.8 27B Fastfast$0.000n/a
StepAudio 3 Chat Previewfast$0.000n/a
Step 5flagship$0.000n/a
GPT-6 Lunabalanced$0.000n/a
GPT-6.2 Astraflagship$0.000n/a
GPT-6 Lunabalanced$0.000n/a
GPT-6.2 Astraflagship$0.000n/a
DeepSeek V4.1 Flashflagship$0.000n/a
MiniMax M3.1 Flashbalanced$0.000n/a
DeepSeek V4 Flash 0731 Thinkingbalanced$0.000n/a
DeepSeek V4 Flash 0731fast$0.000n/a
DeepSeek V4 Flash 0731fast$0.000n/a
Beam 1.0balanced$0.000n/a
Qwen3.8 27Bfast$0.000n/a
Qwen3.8-27B Uncensoredfast$0.000n/a
GLM 5.3 Flash Uncensoredfast$0.000n/a
Nemotron 3 Ultra 550Bflagship$0.000n/a
GLM 5.3balanced$0.000n/a
DeepSeek V4.1 Flashfast$0.000n/a
GLM 5.3 Flashfast$0.000n/a
ERNIE 5.5 Flash Previewfast$0.000n/a
GLM 4.6V Flashfast$0.000n/a
GLM 4.7 Flashfast$0.000n/a
Hy4 Flashfast$0.000n/a
DeepSeek V4.1 Flash Uncensoredfast$0.000n/a
GLM 5.3 Uncensoredbalanced$0.000n/a
Kimi K3.1 Proflagship$0.000n/a
DeepSeek V4 Flashfast$0.000n/a
ERNIE 5.5 Flash Previewfast$0.000n/a
ERNIE 5.5 Flash Previewfast$0.000n/a
Gemma 4 31Bbalanced$0.000n/a
Gemma 4 31B Altbalanced$0.000n/a
Laguna XS 2.1balanced$0.000n/a
LFM 3.1 7Bfast$0.000n/a
LongCat 2.5balanced$0.000n/a
Laguna XS 2.1balanced$0.000n/a
Laguna XS 2.1 Uncensoredbalanced$0.000n/a
Llama 3.3 70B Instructbalanced$0.000n/a
Nemotron 3 Nano Omni 30B Reasoningfast$0.000n/a
Nemotron 3.5 Super VLbalanced$0.000n/a
Nemotron 3.5 Lightningfast$0.000n/a
Nemotron 3 Ultra 550Bflagship$0.000n/a
Solar Mini 4fast$0.000n/a
Nemotron 3 Ultra 550B Uncensoredflagship$0.000n/a
Jais 3 Mova 36Bbalanced$0.000n/a
Mistral Large 4flagship$0.000n/a
K2 Horizon 375B Uncensoredflagship$0.000n/a
K2 Horizon 375Bflagship$0.000n/a
GLM 4.6V Flashfast$0.000n/a
GLM 4.7 Flashfast$0.000n/a
Grok 4.7 Fastfast$0.000n/a
Roleplay Chatbalanced$0.000n/a
Claude Fable 5.1flagship$0.350$0.107
Gemini 4 Argonflagship$0.026$0.011
Muse Wonderflagship$0.140$0.046
MiMo V2.6 Proflagship$0.013$0.003
Step 5 Previewflagship$0.032$0.010
Claude Haiku 5.5fast$0.004$0.001
Muse Spark Openbalanced$0.041$0.015
Mistral Large 4balanced$0.022$0.010
GPT-6 Lunafast$0.002$0.001

For example, on Claude Opus 5.5 one uncached turn is (40,000 × $2.80 + 2,000 × $14) / 1,000,000 = $0.140. Multiply by the number of turns in a session, and by sessions per day, and the tier choice becomes the largest single factor in your bill. Our cost estimation guide walks through a full session.

But per-turn price is only half the picture.

What is the hidden cost of a cheaper model?

The hidden cost is extra turns and corrections: a cheaper model is not cheaper if it needs more turns, takes a wrong approach that you have to undo, or produces code you spend twenty minutes fixing. In agent work, mistakes compound: a wrong assumption in step three can waste the next twenty steps, all of which are billed.

That is the real argument for flagship models. On well-defined, local tasks, the gap between tiers is often small, and paying more buys little. On open-ended tasks, where the agent has to explore an unfamiliar codebase, weigh trade-offs or recover from its own errors, a stronger model is more likely to take a sensible path the first time. The total cost of finishing the task, including your time, is what matters.

When should you use each tier?

Use a flagship model for ambiguous or long-running work, a balanced model for most interactive coding, and a fast model for high-volume sub-agent and background tasks.

When should you use a flagship model?

Use a flagship model such as Claude Opus 5.5 when:

  • The task is ambiguous or spans many files: “migrate this service from callbacks to async/await”, “design the data model for this feature”.
  • You are debugging something subtle, where the agent must form and test hypotheses.
  • The agent will run for a long time without supervision, so each decision carries more weight.
  • A cheaper model has already failed at the task once.

Why is a balanced model the daily driver?

A balanced model such as Claude Sonnet 5 is the sensible default for most interactive coding: implementing a well-described feature, writing tests, reviewing a diff, explaining code, fixing a clear bug. You stay in the loop, so if it goes off track you notice quickly and correct it. Most developers can spend the majority of their sessions here and switch up only when they hit something hard.

When is a fast model enough?

Fast models such as Claude Haiku 4.5 and GLM 5.3 Flash shine where the work is high volume and each step is simple:

  • Sub-agents that search the codebase, read files and report back a summary.
  • Background tasks like session titles, commit messages and short summaries.
  • Mechanical edits: renames, formatting fixes, adding types or docstrings across many files.
  • Batch jobs: generating test fixtures, classifying issues, triaging logs.

Because sub-agents and background tasks often consume a large share of tokens, moving them to a fast model can lower costs substantially without touching the quality of the main thread.

How do you mix tiers in practice?

You mix tiers by assigning different models to different roles, and most agent tools let you do this. A few verified examples:

Claude Code (Claude models only, Anthropic format):

  • The opusplan model alias uses the Opus model while in Plan Mode and the Sonnet model for execution.
  • CLAUDE_CODE_SUBAGENT_MODEL sets the default model for sub-agents.
  • ANTHROPIC_DEFAULT_HAIKU_MODEL sets the model behind the haiku alias, which Claude Code also uses for background work such as session titles.

Pin each alias to an exact model ID through the gateway so you know which rate applies. Our post on using Claude Code with a custom base URL shows the full settings.json. Note that Anthropic does not support using Claude Code with non-Claude models, so keep GPT, Grok and GLM for OpenAI-format tools.

Cline lets you configure separate models for its Plan and Act modes, which maps neatly onto “strong planner, cheaper executor”. See the Cline setup guide.

Codex CLI, Cursor and other OpenAI-format tools can use any model in our catalogue that supports the OpenAI format, including the GPT, Grok and GLM families. Setup is covered in the guides, for example Codex CLI and Cursor.

How do you run your own model evaluation?

You can run your own evaluation in an afternoon, because public benchmarks measure someone else’s tasks and your codebase, languages and conventions are what matter. A lightweight evaluation:

  1. Pick three to five real tasks from your backlog: one small bug, one feature, one refactor, one “figure out why this is slow”.
  2. Run each task on two or three models from different tiers, with the same prompt and the same starting commit.
  3. Record four things per run: did it finish; how many turns it took; the cost, from your usage log; and how much you had to fix by hand.
  4. Decide per task type, not overall. You will often find that a balanced model matches the flagship on small tasks, and that the flagship wins on the refactor.

Because One AI API Key uses one key and one prepaid balance for every model, switching models for a test is just a change to the model ID; you do not need separate accounts.

When should you move up or down a tier?

Move up when the agent loops (repeating the same failing fix), makes confident claims about code it has not read, ignores instructions in your project’s guidance file, or needs heavy correction on multi-file changes.

Move down when the tasks are routine and well-specified, you consistently accept the output with few edits, or most of the tokens are going to reading and searching rather than reasoning.

What defaults should you start with?

Start with a balanced main model, a flagship for hard tasks and a fast model for sub-agents, then adjust from evidence:

  • Interactive coding: a balanced model as the main model.
  • Hard tasks: switch to a flagship for the session, or use a plan-with-flagship, execute-with-balanced setup.
  • Sub-agents and background work: a fast model.
  • Every model: keep max_tokens reasonable, and let your tool’s prompt caching work by not editing early context unnecessarily.

Next steps

More in Guides

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
Claim $10 credit →