Gemini, Codex and Claude Together Burn Through Limits: An Agent Team Uses 15 Times More Tokens Than a Chat
Run Gemini, Codex and Claude together without a plan and subscriptions run dry within hours: Claude's limit is a five-hour window. According to Anthropic's measurements, a single agent uses 4 times more tokens (units of text that count against your quota) than a chat, and a team of agents uses 15 times more. Repeated codex exec calls also reset the cache, so the project gets re-read at full price. It is cheaper to call the second model once for a single complete run than to call it in a loop.
AI-processed from Habr AI; edited by Hamidun News
Imagine you connect Gemini 4 Neon, Codex and Claude Opus 5.5 to the same project at once, and by lunchtime your subscription is already used up. This happens because every subscription has a limit: Claude Code has a rolling five-hour window, and it is measured in tokens, the units of text the model reads and writes. According to Anthropic's measurements, a single agent uses roughly 4 times more tokens than a regular chat, and a group of agents uses 15 times more. The author of the Habr review works in this kind of setup every day and shows how to distribute roles without burning through quotas blindly.
Who Does What in the Setup
Gemini 4 Neon in Antigravity serves as the main agent. It grasps a task from a few words and does not take every phrase literally, as GPT and Claude sometimes do. Neon makes small edits itself and hands the rest to other console clients. Neon's weak spot is frontend work.
GPT-6.1 Terra in Codex handles the initial survey of the codebase and basic review. In quality it is close to the senior model, runs faster and costs half as many credits, but only if you give it one complete run rather than a dozen small calls.
GPT-6.2 Sol writes the backend, catches heavy bugs and removes duplicates during review. The author calls GPT-6.2 Astra only for the hardest architectural tasks, since it burns through the limit very quickly.
Claude Opus 5.5 is responsible for design from scratch, animations and complex frontend work, where Neon and GPT are noticeably weaker. If your main client is Claude Code, the scheme can be flipped: Claude is the lead, Codex takes the backend and review, and you ask Neon for a second opinion on the plan.
Four Orchestration Schemes and Where the Limits Go
The author distinguishes four approaches that are often conflated:
- Subagents inside a single client. The main model launches a helper for a one-off task and receives a short answer. The helpers do not communicate with each other.
- A console setup without MCP or plugins. The agent launches its neighbors with a single command: codex exec, claude -p or agy -p. It is enough to write "use Codex CLI for this" in the chat, and a rules file (AGENTS.md, CLAUDE.md, GEMINI.md) will keep that behavior between sessions.
- A unified shell with parallel windows. The free open-source clients T3 Code and Orca put a shared interface over the official utilities and place each branch in a separate git worktree.
- A full swarm. In Antigravity, the /swarm mode seats a coordinator and workers around a shared message board. Claude Code has a similar experimental mode, Agent Teams, enabled with the variable CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1.
Limits drain for two reasons. First, each new agent re-reads the system instructions and the history of files it has already opened, which is where both the 4x and the 15x consumption come from.
Second, the cache. Within one open session, familiar context is read almost for free: by the author's estimate, the saving is about 20x for a 100K context over 10 steps. But every codex exec call opens a new session with a new cache key, and the model reads the project from scratch at full price. The same happens when you switch models or reasoning depth. As a result, a continuous Sol session with a warm cache overtakes the "cheap" Terra as early as the third step, even though Terra costs half as much in credits.
Pitfalls of /swarm and the 12-Line Rules File
The author turns on a swarm when a task splits into two or three independent modules plus a separate review. Writing workers run in parallel, while a cold reviewer reads the final git diff and runs the tests. The advantage over subagents: the reviewer itself tells the code's author what broke, and the author fixes it right away.
Three pitfalls:
- A crowd of workers. Each holds its own context window, so the ceiling is two or three writers and one reviewer.
- A shared folder. Two agents in one working copy conflict over files and break Git locks. Each needs a separate copy through the share mode.
- Silent hangs. A worker can loop while writing or quietly hit the quota. It is simpler to stop it and spin up a fresh one.
The 12-line rules file requires the main model to: do the core work itself, not call the neighbor for edits in 1–3 files, pass along only the git diff, run the second model in read-only mode (--sandbox read-only, --permission-mode plan, --mode plan), double-check the other model's remarks, cap the back-and-forth at two rounds, never expose keys and .env files, and record when and why the second model was called.
For shared memory between agents, the author uses Beads, a local open-source tracker. It stores tasks, links and decisions alongside the code, so a new agent picks up context without digging through the repository. A plain TODO.md falls apart: parallel workers overwrite it, and stale items linger for weeks.
When Orchestration Loses
A single strong model wins in four cases: small edits, refactoring one related module, a free-form swarm of four to five workers with no step ceiling (it eats the five-hour window in half an hour), and checking Opus 5.5's or Neon's code with a lightweight model, which nitpicks working logic and adds its own bugs.
The author's conclusion: if a task fits in one window with a warm cache, he does not open a second model. He turns the setup on for a specific shortfall: frontend in Opus, blind review of a diff in Codex, or independent files in /swarm. The caveat: the calculations apply to regular subscriptions, not the API, and are based on a single workflow.
- Nov 30, 2026Claude blocked? How to run Claude Code on a ChatGPT subscription in 15 minutes
- Nov 30, 2026Sber's GigaChat 4 Fixes 80.89% of Real GitHub Bugs, Versus 64.7% for 3.5 Ultra
- Nov 30, 2026Apple Signs Deals with 20+ Publishers, Including BBC and CNN, So Siri AI Can Stay Current on the News
- Nov 30, 20269 Open-Source Repos That Can Replace Paid AI Subscriptions: From LibreChat to Langflow
Key Questions Answered
Who Does What in the Setup?
Gemini 4 Neon in Antigravity serves as the main agent. It grasps a task from a few words and does not take every phrase literally, as GPT and Claude sometimes do. Neon makes small edits itself and hands the rest to other console clients. Neon's weak spot is frontend work. GPT-6.1 Terra in Codex handles the initial survey of the codebase and basic review. In quality it is close to the senior model, runs faster and costs half as many credits, but only if you give it one complete run rather than a dozen small calls.
What are the key details on Four Orchestration Schemes and Where the Limits Go?
The author distinguishes four approaches that are often conflated: Subagents inside a single client. The main model launches a helper for a one-off task and receives a short answer. The helpers do not communicate with each other. A console setup without MCP or plugins. The agent launches its neighbors with a single command: codex exec, claude -p or agy -p. It is enough to write "use Codex CLI for this" in the chat, and a rules file (AGENTS.md, CLAUDE.md, GEMINI.md) will keep that behavior between sessions.
What are the key details on Pitfalls of /swarm and the 12-Line Rules File?
The author turns on a swarm when a task splits into two or three independent modules plus a separate review. Writing workers run in parallel, while a cold reviewer reads the final git diff and runs the tests. The advantage over subagents: the reviewer itself tells the code's author what broke, and the author fixes it right away. Three pitfalls: A crowd of workers. Each holds its own context window, so the ceiling is two or three writers and one reviewer. A shared folder.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
