Download

How to send quick coding tasks to a cheaper model

Tyler J. CagleUpdated 9 min read

Key facts

To send quick tasks to a cheaper model, use Auto, the Mac app for all your coding agents: on every turn it sends quick tasks to the cheapest capable model, which is often your plan or a low-cost open model. Commit messages, renames and one-line shell commands don't need the model you debug with. At list prices on October 22, 2026, Claude Haiku 5.5 costs a fortieth of Claude Opus 5.5 per uncached token on prompts up to 100,000 tokens, and GPT-6 Luna costs a hundredth of GPT-6 Astra, so the example quick turn below costs about 14 cents on Opus 5.5 and about a third of a cent on Haiku 5.5. You can also send those turns to a small model yourself with a subagent, a one-off command or a profile.

What does a quick turn cost on a frontier model?

A quick turn that sends 30,000 input tokens and gets 1,000 output tokens back costs about 14 cents on Claude Opus 5.5 and 35 cents on GPT-6 Astra at list prices on October 22, 2026, against about a third of a cent on Claude Haiku 5.5 or GPT-6 Luna. Those sizes, with no cache hits, are an assumption for the arithmetic. A commit-message turn carries the agent's system prompt, tool definitions and the diff, and thinking tokens bill as output. Each cell below is tokens times the published price per million. Meta's Muse Ember, released November 9, 2026, lists the same prices as Haiku 5.5; Muse Ember vs Claude Haiku 5.5: Meta's low-cost model for coding compares the two.

ModelInput / output per million tokens (October 22, 2026)One quick turn (30,000 in, 1,000 out)
Claude Opus 5.5$4 / $20$0.12 + $0.02 = $0.14
Claude Sonnet 5.5$2 / $10$0.06 + $0.01 = $0.07
Claude Haiku 5.5$0.10 / $0.50 for prompts up to 100,000 tokens$0.003 + $0.0005 = $0.0035
GPT-6 Astra$10 / $50$0.30 + $0.05 = $0.35
GPT-6.1 Sol$2 / $10$0.06 + $0.01 = $0.07
GPT-6 Luna$0.10 / $0.50$0.003 + $0.0005 = $0.0035
DeepSeek V4.1 Flash$0.15 / $0.60 off-peak, $0.30 / $1.20 peak$0.0051 off-peak, $0.0102 peak

Inside a long session a frontier turn costs more, because every request also re-sends the conversation so far, which Claude Code reads from the prompt cache at $0.20 per million tokens on Opus 5.5 as of October 22, 2026. DeepSeek V4.1 Flash, the open-weight model in the table, is released under the MIT License; DeepSeek's API charges twice as much from 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays. Measured on real Claude Code runs, the gap is smaller than the per-token prices: in What common Claude Code tasks cost, measured on each model, Haiku 5.5 cost about a twenty-fifth of Opus 5.5 per task, because it took more turns.

Which tasks are quick enough for a small model?

A task is quick when the right result is clear before the model starts: a commit message for a staged diff, a rename, a one-line shell command, a lint fix, a summary of a log. The model makers draw the same line:

Anthropic's Claude Code best practices give a test for skipping the plan that works here too: if you could describe the diff in one sentence, the task is small. Keep unclear requests, bugs that cross services and tasks that grow harder on the larger model. Which model to use for which coding task maps the rest of your work to a model tier. Whether a cheaper model holds up on the rest is its own question, answered in Does model routing make your results worse?

How do you send quick tasks to a cheaper model in Claude Code?

Run them in a subagent or a one-off command on Haiku, and leave the main session's model alone. Each model keeps its own prompt cache, so after a /model switch the next request re-reads the whole conversation with no cache hits, while a subagent starts its own conversation and leaves the parent's cache intact.

One-off from the shell. Pipe the diff into print mode with the haiku alias, then commit with the message it prints:

git diff --staged | claude -p --model haiku "Write a one-line commit message for this diff"

A Haiku subagent for commits. Save this as .claude/agents/committer.md (subagent docs) and ask Claude to use the committer subagent when you're ready to commit:

---
name: committer
description: Writes a commit message for staged changes and commits them. Use for routine commits.
tools: Bash, Read
model: haiku
---
Run git diff --staged, write a one-line commit message that says what changed, and commit. Don't edit files.

A session of small jobs. For an hour of renames and cleanups, start on the small model with claude --model haiku instead of switching partway through a long conversation.

How do you do the same in Codex?

Run quick jobs as a separate codex exec call on GPT-6 Luna, or keep a profile that sets it as the model. OpenAI's Codex models page documents -m for a single run and /model for switching inside the CLI:

codex exec -m gpt-6-luna "Write a one-line commit message for the staged changes"

For a reusable setup, Codex 0.134.0 and later reads each profile from its own file. Save this as ~/.codex/quick.config.toml and start quick sessions with codex --profile quick:

model = "gpt-6-luna"

Done by hand, you sort every task yourself, and a task that grows harder stays on the small model until you move it. For the rest of what lowers a Claude Code or Codex bill, see How to cut Claude Code and Codex costs.

How does Auto send quick tasks to a cheaper model?

AutoRouter works out how hard each turn is and sends quick tasks to the cheapest capable model, which is often your plan or a low-cost open model. A model has to clear the quality bar for the task before its price counts, and your own rules decide a turn before any of that; How AutoRouter picks a model for each turn walks through the full order. You choose Auto once in your coding agent's model picker (the model menu in Codex, or /model in Claude Code). It works with every coding agent you use (Claude Code, Codex, Cursor, etc.) on macOS 14 or later, and it is in beta.

Routing across two of your subscriptions is free on Auto's Free plan, at $0 a month. Pro includes usage each month and adds every other model, billed at the provider's price plus 10%, from the included usage first and then from credits you top up. New accounts get a week of Pro, or until its included usage is spent, whichever comes first. Auto wrote this post. It earns the 10% on paid models and nothing on your plans, and price only decides between models that already clear the quality bar.

How much further does a plan go when quick turns move off it?

In the example week on Auto's landing page, as of November 6, 2026, the Free plan does 1.8× the work of using a frontier model for everything, and Auto Pro does 2.6×. That week is an illustration. It isn't a promise or a measurement of your work.

Example weekAssumption
Hard turns30%
Medium turns45%
Quick turns25%
PricesClaude Opus, Sonnet and Haiku 5.5 list prices, cached input at a tenth of input
Pro only85% of quick turns and 75% of medium turns go to open models, paid from included usage

Your own split will differ. For what else stretches a plan, see How Claude Code usage limits work, and how to make them last.

Questions

Can I lower the effort instead of changing the model?

Lowering effort helps, but every token still bills at Opus 5.5's $4 input and $20 output per million tokens as of October 22, 2026. Claude Code's cost guide suggests a lower /effort for simpler tasks, which cuts thinking tokens. On Opus 5.5, Sonnet 5.5 and Haiku 5.5 with an API key or a Claude subscription, changing effort keeps the cache.

Will a small model write worse commit messages?

Sometimes, and a commit message is easy to check before you push: read it, and rerun the task on a larger model when it misses. In Auto, rate the pick or choose the model yourself.

Do quick turns on Haiku still use my Claude plan?

Yes, when they run in Claude Code on your Claude plan. Anthropic's pricing page says how much you can do depends on the length and complexity of your conversations and the model you choose. Auto sends your plans the work that needs them, so the plans last longer.

How many of my turns are quick?

It depends on your work, and the 25% in Auto's example week is part of an illustration. In Claude Code, /insights writes a report on what you work on across recent sessions, and Auto shows which model handled each turn, what it cost and why.

What happens when my plan runs out?

When a plan hits its limit, Auto Pro keeps those turns going from the monthly usage until the plan resets. If that runs out too, Auto asks you to top up. Credits you buy never expire.

Sources