查看中文版 →

Deutsche Version ansehen →

Открыть русскую версию →

Ver versión en español →

Log in
Blog · Costs and limits

Claude Code, Codex and Gemini CLI Pricing: the cheapest setups that work

All three start near $20 a month on paper, yet real monthly bills vary by 5x once 5-hour caps, free tiers and API rates kick in. Here is what each costs for light, full-time and multi-agent coding.

Terminal coding agents have settled into three main options: Anthropic's Claude Code, OpenAI's Codex CLI and Google's Gemini CLI. On paper, all three entry-level paid plans sit right around $20 a month. Over a real month of shipping code, though, your bill can swing by 5x depending on how you hit rate limits and how you combine tools.

The gap comes down to the fine print. Claude Code and Codex CLI both exclude their free tiers from terminal use, and their $20 plans enforce rolling 5-hour caps that full-time developers regularly hit by mid-afternoon. Gemini CLI gives away up to 1,000 requests a day on a personal Google account, yet it cannot run Claude or GPT. Below are the verified late-2026 prices, API rates and real monthly bills across three coding intensities.

Cheapest setups by budget: At $0/mo, use the Gemini CLI free Google account tier (up to 1,000 requests/day). At $10–$20/mo, pair Gemini CLI free with CodingPass Go ($10, $60 pool across Claude Code and Codex) for far more headroom than a single $20 official plan. At $100+/mo for heavy multi-agent work, combine Claude Max ($100, includes $100 in API credits) or ChatGPT Pro ($100+, refunded in API credits) with Gemini CLI free for high-volume subagents, or put everything under CodingPass Pro ($100).

Official plans, free quotas and API rates compared

All figures were verified against official pricing pages and documentation in November 2026. CodingPass sits in the last column so you can compare a single multi-model pool directly against vendor subscriptions.

FeatureClaude Code (Anthropic)Codex CLI (OpenAI)Gemini CLI (Google)CodingPass (Multi-model pool)
Free CLI tierNone (Free tier excludes Claude Code)None (Free and $8 Go exclude CLI)Yes: 1,000 req/day via Google account; 250 req/day via free API keyNo free tier; $1 7-day trial available
Entry paid tierPro $20/mo ($17/mo billed annually)ChatGPT Plus $20/moGoogle AI Pro $19.99/mo (1,500 req/day)Go $10/mo ($60 pool)
Heavy tiersMax $100/mo (5x Pro); Ultra $200/mo (10x Pro)ChatGPT Pro $100 / $200 / $500/moGoogle AI Ultra $99.99–$199.99/mo (2,000 req/day)Plus $30 ($200); Pro $100
5-hour rolling capYes on Pro and Max; none on verified Ultra accountsYes on Plus; none on Pro tiersDaily request cap plus per-minute rate limits5-hour and weekly caps shared across all models
Core coding modelsClaude Sonnet 5.5, Opus 5.5, Fable (Max+)GPT-6.2 Sol, GPT-6.1 Sol, GPT-6.2 AstraGemini 4 Hydrogen, Neon, Carbon / Argon25 models (Claude, GPT, Gemini and open-weight)
API pricing (per 1M tokens)Sonnet 5.5: $2 in / $10 out / $0.10 cache read; Opus 5.5: $4 / $20 / $0.20GPT-6.2 Sol: $2 in / $10 out / $0.10 cached; GPT-6.2 Astra: $8 / $40Hydrogen: $1.50 / $7.50; Neon: $3 / $15; Carbon / Argon: $4 / $20 (half off through Nov 30)Metered from monthly pool at official API rates (cache reads included)
Notable extrasMax includes $100 API credits; Ultra includes $200 API creditsPro returns full fee in API credits; Plus includes cloud PR reviewAI Pro includes 5 TB storage and $10/mo Cloud creditsOne key for Claude Code, Codex and OpenCode; no overage charges

Three details matter more than the headline monthly prices:

  • Neither Claude Code nor Codex CLI has a free terminal tier: getting into the CLI through official channels starts at $20/mo or a pay-as-you-go API key
  • Gemini CLI free limits depend on how you sign in: a personal Google account gets up to 1,000 requests/day with dynamic model routing (mostly lightweight Hydrogen variants), while an unpaid Google AI Studio API key drops to 250 requests/day on Flash-class models only
  • Thinking tokens bill at output rates: Gemini 4 models support adjustable reasoning budgets (low to xhigh), and every thinking token is billed as output, which can push pay-as-you-go bills up fast on Carbon or Neon

Monthly cost by real coding workload

In CLI coding sessions, prompt caching drives most of the API math. A typical multi-file turn uses roughly 100K total tokens: 85%–90% served from cache, 5K–10K fresh input tokens and 1K–2K output tokens.

At official Sonnet 5.5 or GPT-6.2 Sol rates ($2 input, $10 output, $0.10 cache read per 1M tokens), one heavy agent turn lands around $0.03–$0.045. On Opus 5.5 ($4 / $20 / $0.20), that climbs to roughly $0.06–$0.09 per turn. Plugging those numbers into three realistic monthly developer profiles shows where each pricing model wins.

WorkloadMonthly turnsPay-as-you-go APIOfficial subscriptionsCheapest realistic combo
Light / side projects
5–10 hours per week
300–500 / mo$10–$22/mo (Sonnet 5.5 / Sol)Claude Pro $20 or ChatGPT Plus $20Gemini CLI free ($0), or paired with CodingPass Go ($10)
Daily full-time coding
6–8 hours/day, mostly single-thread
1,500–2,500 / mo$55–$110/mo (mostly Sonnet 5.5 + occasional Opus 5.5)Claude Pro + ChatGPT Plus ($40) or Claude Max ($100)Gemini CLI free ($0) + CodingPass Go ($10) or Plus ($30)
Heavy multi-agent
Parallel subagents, long sessions, heavy reasoning
5,000+ / mo$180–$350+/mo (Opus 5.5 / Astra mix)Claude Ultra $200, or Claude Max $100 + ChatGPT Pro $100Gemini CLI free / AI Pro ($19.99) for subagents + Claude Max ($100) or CodingPass Pro ($100)

The table highlights a common trap: below 500 turns a month, a $20 subscription rarely beats a plain API key. Once you cross into full-time daily coding, raw API bills climb past $60 quickly, and flat-rate subscriptions or pooled allowances pull far ahead.

Rework cost matters just as much as token price. A cheaper model that takes four retries and manual cleanup costs more in time and tokens than letting Sonnet 5.5 or Opus 5.5 solve it on the first pass. The real savings come from routing easy tasks to free quota and keeping paid turns for hard problems.

Pairing Gemini CLI free tier with paid models

Running everything through a single paid subscription is the most expensive way to code in the terminal. Gemini CLI's 1,000 daily free requests can absorb more than half of your routine read-heavy work, leaving paid tokens for architectural edits and tough debugging.

A clean task split looks like this:

  • Route to Gemini CLI free ($0): codebase exploration, tracing call graphs, writing unit tests and mocks, scaffolding boilerplate, drafting changelogs and docs
  • Route to Claude Code (Sonnet 5.5 / Opus 5.5): multi-file refactors, tricky concurrency or state bugs, core business logic with strict edge cases
  • Route to Codex CLI (GPT-6.2 Sol / Astra): second-opinion PR reviews, isolating stubborn regressions, low-level script or algorithm tuning

With that split, a full-time developer typically sends only 50–80 turns a day to paid models (1,200–1,800 per month). Work that otherwise forces a $100 Claude Max upgrade fits comfortably inside a $10–$30 monthly budget.

One caveat on Codex CLI: signing in with an API key gives you the full CLI, SDK and IDE extensions, but excludes ChatGPT cloud features such as automated GitHub PR reviews and Slack integrations. If your team relies on cloud PR reviews, keeping a $20 ChatGPT Plus seat still makes sense.

One pool across Claude Code, Codex and OpenCode

Paying separately for Anthropic and OpenAI subscriptions creates predictable waste: you hit Claude Pro's 5-hour cap on Tuesday while half of your ChatGPT Plus quota sits unused. A single dollar-metered pool avoids paying twice.

CodingPass takes that pooled approach:

  • Go ($10/mo): includes a $60 monthly pool — roughly 2,050 Claude Sonnet 5.5 requests if spent on Sonnet alone — and the same key switches to GPT-6.2 Sol, Gemini 4 and open-weight models
  • Plus ($30/mo): includes a $200 pool and unlocks Claude Opus 5.5 (about 3,420 requests if spent solely on Opus), built for full-time daily coding
  • Pro ($100/mo): built for heavy multi-agent sessions across all 25 models with higher concurrency

Every request is metered at the vendor's official API prices for input, output and cache reads. Hitting a cap returns HTTP 429 with the reset timestamp and never triggers surprise overage bills. One key plugs directly into Claude Code, Codex CLI and OpenCode.

You can inspect every supported model ID on the models page and review exact window rules under usage limits. CodingPass fits developers spending $10–$60 a month who want Claude and GPT under one roof; if you specifically need official web chat apps, cloud PR reviews or the $100/$200 API credit bundles on Claude Max and ChatGPT Pro, official plans remain the better match.

Decision table: cheapest combo by budget and workflow

Budget and workflowCheapest comboTrade-off or limit
$0, student or hobbyistGemini CLI free Google account tier (1,000 req/day)Dynamic model routing; complex refactors take extra prompts
~$10/mo, want Claude Code + CodexGemini CLI free + CodingPass Go ($10)5-hour and weekly caps apply; no Claude Opus 5.5
~$20/mo, prefer one official bundleClaude Pro ($20) or ChatGPT Plus ($20) + Gemini CLI freeTight 5-hour windows; locked to one vendor's models
~$30/mo, full-time + Opus 5.5Gemini CLI free + CodingPass Plus ($30)No official web chat apps or ChatGPT cloud PR review
$100+/mo, all-day multi-agentClaude Max ($100) or ChatGPT Pro ($100/$200) + Gemini CLI freeHigh fixed bill; best value only if you use the bundled API credits
CI/CD automation or sporadic useOfficial pay-as-you-go API key (Sonnet 5.5 / GPT-6.2 Sol)No hard monthly cap unless you configure billing alerts

FAQ

Is Gemini CLI really free for everyday coding?

Yes. Signing in with a personal Google account gives up to 1,000 requests per day at $0, and an unpaid Google AI Studio API key gives 250 requests per day on lightweight models. Keep in mind that free consumer tiers have different data-handling terms than paid Vertex AI or enterprise API tiers, so proprietary company repositories usually require a paid API tier with zero data retention.

Does ChatGPT Plus ($20) include Codex CLI, or do I need Pro?

ChatGPT Plus includes Codex CLI, IDE extensions and cloud code reviews; only the Free and $8 Go tiers exclude the CLI. You only need ChatGPT Pro ($100+) if you routinely hit Plus's 5-hour rolling cap, want no cooling-off limits, or need Pro-tier reasoning models.

When is pay-as-you-go API cheaper than a monthly subscription?

Pay-as-you-go API usually wins below 400–500 coding turns per month or for headless CI/CD pipelines, where bills stay under $10–$20. Once you code in the terminal every workday, flat-rate subscriptions or a dollar-metered pool like CodingPass cost less per turn and protect you from runaway agent loops.

Boarding

One allowance pool, Claude Code and Codex together.

Go is a month with a pool, about Claude Sonnet 5.5 requests, across models. No surprise charges, cancel anytime.

  • Request ID on every response
  • Full refund if you've used 5% or less
  • No surprise charges
Choose GoSee plans and pricing

$10/mo until you cancel.