Blog / Warp
How to Reduce Token Usage in Warp
Warp hides token spend behind a 'credits' abstraction, but /cost and /usage still surface the real math underneath. Here's which of Warp's model routing, caching, and BYOK settings actually move your bill.
Published August 24, 2026
Warp’s pitch on token math is that you shouldn’t have to think about it: “you only need to monitor your credit usage, which is what’s measured against your plan limits,” per Warp’s own docs. That’s a fine abstraction until your credit balance empties faster than the work justifies — and Warp’s own token efficiency guide gives away that there’s real, checkable token math sitting underneath the credit number. Here’s what’s actually driving it.
1. Run /cost and /usage before guessing
/cost toggles a real per-turn breakdown directly in the conversation — model used, tool calls made, context window consumed, diffs applied. /usage shows overall consumption against your plan and the days until it resets. Both are one command away, and neither requires leaving the terminal to check a dashboard. This is the same discipline that matters in Claude Code: don’t guess at what a session cost, check the number Warp is already tracking for you.
2. Route routine work through Auto (Cost-efficient); save high-reasoning models for what needs it
Warp’s Auto (Cost-efficient) mode — auto-efficient — picks a cheaper model suited to routine work instead of defaulting to whatever’s pinned. A separate Auto (Open-weights) mode — auto-open — routes specifically to open-source models. Reserve a high-reasoning model like Opus for genuinely complex tasks, the same trade-off Gemini CLI’s Auto routing makes between Gemini Pro and Flash — different tool, same lever.
3. Don’t switch models mid-conversation — you’ll break prompt caching
Warp’s docs are explicit about this one: maintain the same model throughout a conversation specifically to preserve prompt caching. Swap models partway through a session and the cached prefix resets, so the next turn re-pays full input price for content that should have been a discounted cache hit. It’s the same “keep stable content consistent so caching actually fires” lesson as Codex CLI’s automatic prompt caching, just triggered by a different mistake.
4. Let a custom router pick the model instead of remembering to every time
Custom Routers let you route tasks automatically — by complexity tier (easy/medium/hard classifications) or by pairing natural-language task descriptions with specific models — with a cost-efficient default for anything unmatched. This is tip #2, automated: instead of remembering to switch to a cheaper model for routine work, you configure it once and Warp does the routing for every request after.
5. BYOK for heavy usage — your own key’s requests don’t touch Warp credits at all
Requests routed through your own API key don’t consume Warp credits — you’re billed directly by the model provider instead. Warp made BYOK available on every plan, including Free, in 2026. Once your usage regularly exceeds Build’s 1,500 credits (Warp’s own framing: $20 of included agent usage at API rates) or Max’s 18,000, BYOK stops being a workaround and becomes the cheaper default — the same bypass-the-markup lever OpenCode built its entire pitch around.
6. Keep AGENTS.md lean, and let /index do the exploring
/init generates a project AGENTS.md — the same file format Codex CLI reads — and it loads into every session automatically, so whatever you leave in it is a per-request tax, not a one-time setup cost. Keep it as short as Claude Code’s CLAUDE.md should be: only what Warp keeps getting wrong, not a running journal. Separately, /index builds semantic search over your repo so the agent can query it instead of manually reading files to figure out structure — every tool call and file read is tokens spent, and /compact (or /fork-and-compact if you want to keep a branch point) reclaims context before a long session drags stale exploration into every new turn.
7. Skip the screenshot when you mean a specific element
Warp’s Agent Mode runs in the terminal, but plenty of the work it’s doing is still frontend — reproducing a bug from a screenshot, matching a design change, fixing a layout issue described in a Slack message. Handing it a screenshot means the agent has to guess at the underlying selector before it can act, and a wrong guess is a full retry, paid for twice.
That’s the gap UICuts fills: point at any element on a live page and it copies the real selector, computed styles, and DOM structure as structured text, ready to paste into Warp instead of a screenshot. No guessing which element you meant, no retry.
Key lessons learned
- Warp abstracts spend into “credits,” but
/costand/usagestill expose the real per-turn token math — check it instead of guessing. - Model choice and model consistency are separate levers: routing cheap work to a cost-efficient model saves money, but switching models mid-conversation costs money by breaking prompt caching.
- AGENTS.md, generated by
/init, is a per-request tax exactly like CLAUDE.md in Claude Code or AGENTS.md in Codex CLI — keep it short on purpose.
Related reading
The same model-routing and prompt-caching trade-offs show up under different names across every agent — see how Gemini CLI’s Auto routing and Codex CLI’s config.toml levers handle it, and how OpenCode leans on provider flexibility instead. The AGENTS.md-as-recurring-cost pattern is the same one covered for Claude Code’s CLAUDE.md, and if you’re comparing Warp’s terminal-first approach against an IDE-integrated agent, Cursor’s mode choice is the closest analogue. For the primary source, Warp’s own token efficiency guide and pricing FAQ are worth reading directly, and current plan pricing is on Warp’s pricing page since credit allowances shift as Warp updates its plans.
Install UICuts free if UI feedback is part of your Warp workflow — thirty seconds to install, no account required.
Frequently asked
How much does Warp Agent Mode actually cost? +
It depends on your plan. Build runs $20/month for 1,500 credits, described by Warp as $20 of included agent usage at API rates. Max is $200/month for 18,000 credits, 12x Build's allowance. Business is $50 per seat/month (or $45 annually) with 1,500 credits per seat. Credits refill every 30 days from your signup date, and the Free plan doesn't include bundled AI usage for the Agent at all.
What's the difference between Auto (Cost-efficient) and Auto (Open-weights)? +
Both are automatic routing modes rather than a single pinned model. Auto (Cost-efficient) — auto-efficient — picks a cheaper model suited to routine work; Auto (Open-weights) — auto-open — routes specifically to open-weight models. Neither is the same as manually pinning a high-reasoning model like Opus, which you should reserve for work that actually needs that depth.
Does switching models mid-conversation cost extra in Warp? +
Indirectly, yes. Warp's own guidance says to maintain the same model throughout a conversation specifically to preserve prompt caching. Switch models partway through and you break the cached prefix, so your next turn pays full input price for content that should have been a cache hit.
Does BYOK actually save money over Warp's included credits? +
For heavy usage, yes. Requests routed through your own API key don't consume Warp credits at all — you're billed directly by the model provider at their raw rate instead of through Warp's plan. The trade-off is you lose whatever's already bundled into a paid plan's included credits, so it pays off once your usage regularly exceeds that allowance, not before.
Does Warp's AGENTS.md work the same way as Claude Code's CLAUDE.md? +
Yes. Running /init generates a project AGENTS.md that loads automatically into every session — the same file format Codex CLI reads. Anything you leave in it gets paid for on every request whether that task needs it or not, so it's a recurring cost to keep lean, not a one-time setup step.