Model News · As of 2026-11-25

Gemini Price Increase and Gemini CLI Changes: Coding Alternatives and a Migration Guide (December 2026)

Per Google's official blog, the Gemini 4 Carbon API intro price of $2 / $10 per million input / output tokens ends on 2026-11-30, and $4 / $20 applies from 2026-12-01. Gemini CLI stopped serving free personal accounts and Google AI Pro / Ultra subscribers on 2026-06-18, and new Gemini Code Assist Standard / Enterprise subscriptions stopped selling on 2026-10-09. If your coding workflow runs mostly on Gemini, now is a good time to redo the math: Claude Sonnet 5.5 and GPT-6.2 Sol both list at $2 / $10, Chinese models such as GLM-5.3 and Qwen3.8-Max are also available, and most of the migration work is tool config, context files and prompt habits.

To be clear up front: QCode is an independent third-party API service with no official or partner relationship with Google, Anthropic, OpenAI, Zhipu or Alibaba. QCode does not offer Gemini models. This page is a factual price and migration comparison. Gemini remains a strong option; whether you should move depends on your budget and your tools.

Updated 2026-11-26

Key facts

  • 2026-12-01: Gemini 4 Carbon API pricing goes from $2 / $10 to $4 / $20 (Google blog, 2026-11-10).
  • 2026-06-18: Gemini CLI and the Code Assist IDE extensions stopped serving Google AI Pro / Ultra and free individual users. Google points those users to Antigravity CLI (Google Developers Blog, 2026-05-19).
  • 2027-01-31 and 2027-12-31: last annual renewal (and last date to add licenses) and last monthly renewal of Code Assist Standard / Enterprise (Google Cloud deprecations page).
  • Same-price alternatives: Claude Sonnet 5.5 and GPT-6.2 Sol are $2 / $10. Claude Opus 5.5 is $4 / $20, the same as Carbon after the increase (vendor pricing pages, as of 2026-11-25).
  • On QCode: claude-sonnet-5-5, claude-opus-5-5, gpt-6.2-sol, glm-5.3, qwen3.8-max and more. One key covers the Anthropic and OpenAI protocols. Anthropic and OpenAI models are billed at official price ×1.0; Chinese models are billed at the rate shown on /models.

Timeline of Gemini changes that matter for coding

Only changes that affect day-to-day coding are listed. "Official" means Google's own page; "Reported" means press or a third-party tracker. Re-check reported items before you rely on them.

Date Change Who it affects Source
2026-05-19 Antigravity CLI opens to everyone; Google announces the transition from Gemini CLI All Gemini CLI users Official: Google Developers Blog
2026-06-18 Gemini CLI and Code Assist IDE extensions stop serving AI Pro / Ultra and free individuals; no new org installs of Code Assist for GitHub Individuals and consumer subscribers Official: Developers Blog, Code Assist deprecation page
2026-10-09 No new Code Assist Standard / Enterprise subscriptions Enterprise teams Official: Google Cloud feature deprecations
2026-11-10 Gemini 4 Carbon GA at an intro price of $2 / $10 API users Official: blog.google
2026-12-01 Carbon moves to $4 / $20 API users Official: blog.google
2027-01-31 Last annual Code Assist renewal; last date to add licenses Enterprise teams Official: Google Cloud feature deprecations
2027-12-31 Last monthly Code Assist renewal Enterprise teams Official: Google Cloud feature deprecations

Two details are easy to miss. Google has not published a shutdown date for Code Assist Standard / Enterprise, and existing contracts stay supported until they end. Users with paid Gemini API keys can also still run Gemini CLI. So "Gemini CLI stopped working" is true only for some accounts. If you are seeing a client error, start with our page on the Gemini CLI "client no longer supported" error.

What the increase means per coding task

Per-million prices are easy to misread, so here is one typical agentic coding task: 200K input tokens read across the session and 20K output tokens, with no caching. This is list-price arithmetic, not a benchmark.

Model Input / output ($ per 1M) Est. cost per task On QCode
Gemini 4 Carbon (before 12-01) $2 / $10 $0.60 No
Gemini 4 Carbon (from 12-01) $4 / $20 $1.20 No
Claude Opus 5.5 $4 / $20 $1.20 claude-opus-5-5
Claude Sonnet 5.5 $2 / $10 $0.60 claude-sonnet-5-5
GPT-6.2 Sol $2 / $10 $0.60 gpt-6.2-sol
GLM-5.3 see /models — glm-5.3
Qwen3.8-Max see /models — qwen3.8-max

Three corrections matter more than the headline price:

  1. Caching. Agents re-read the same files, so cache hit rates tend to be high. With Sonnet 5.5, if 150K of the 200K input tokens hit the cache ($0.10 per 1M), the task costs about $0.32 instead of $0.60.
  2. Tokenizers differ. Anthropic's pricing page notes that the Claude 4.7+ tokenizer produces roughly 30% more tokens for the same text. The same repo is a different number of tokens on different models.
  3. Thinking tokens. Every vendor bills reasoning tokens as output. "Tokens needed to finish the task" matters more than the unit price. The reliable method is to run a few real tasks on your own repository and compare bills.

For a capability comparison rather than a price one, see Gemini 4 Neon vs Claude Opus 5.5 vs GPT-6.2 Sol.

First: do you actually need to leave Gemini?

Not everyone should move. Staying inside the Gemini ecosystem can make sense when:

  • you code mostly on an AI Pro / Ultra subscription and Antigravity or Antigravity CLI already covers what you need;
  • you are price-sensitive but like Gemini, in which case its cheaper tiers may be enough (check Google's pricing page);
  • your team relies heavily on Google Cloud identity, audit and billing.

Alternatives are worth a serious look when:

  • you pay per API token and Carbon is your main model, so your cost doubles in December;
  • you want to use models inside Claude Code, Codex CLI, Cursor or Cline rather than one vendor's client;
  • you want different models for different jobs (a strong model for planning, a cheaper one for bulk edits) under one key and one bill.

The alternatives, one by one

Claude Sonnet 5.5: the everyday default

Anthropic released Sonnet 5.5 on 2026-09-28 at $2 / $10 with $0.10 cache reads. Per Anthropic, output is about 30% faster than the previous generation, with lower cost per task. It is stable in Claude Code and is the closest same-price replacement for pre-increase Carbon. QCode model ID: claude-sonnet-5-5.

Claude Opus 5.5: hard problems and long runs

Opus 5.5 shipped on 2026-09-22 with a 1M context window at $4 / $20 and $0.20 cache reads, the same list price as Carbon after December 1. Use it for large refactors, cross-module debugging and long autonomous runs. Watch the breaking changes: thinking is adaptive and always on, so thinking: {"type":"disabled"} or a manual budget_tokens returns HTTP 400. A tool_choice of any or tool also returns 400; use auto with strict: true instead (Anthropic, "What's new in Opus 5.5").

GPT-6.2 Sol: the natural pick for Codex users

OpenAI launched GPT-6.2 Sol in the API and Codex on 2026-11-17 at $2 / $10 with $0.10 cached input. Codex CLI 0.171.0 makes Sol the default. For long-context rates, check OpenAI's pricing page before running very large jobs. QCode model ID: gpt-6.2-sol. Setup: Codex CLI with GPT-6.2 Sol.

GLM-5.3: cost-first, open weights

Zhipu's GLM-5.3 (August 2026) is an open-weights coding model, and Zhipu calls it one of the strongest in that class (vendor claim). It suits repetitive bulk edits, test generation and budget projects. QCode model ID: glm-5.3; it is billed at the rate shown on /models. GLM-5.4, released 2026-11-23, is currently only in Zhipu's own subscriptions with no public API price, and it is not on QCode /models as of 2026-11-26.

Qwen3.8-Max and Qwen4-Max: long context at a good price

Qwen3.8-Max (2026-08-03) has a 1M context window. QCode model ID: qwen3.8-max; it is billed at the rate shown on /models. Alibaba's Qwen4-Max (2026-11-16) is also 1M context with native vision, and Alibaba says it cuts cost per task by about 60% versus 3.8-Max. Qwen4-Max is not on QCode /models as of 2026-11-26; check /models.

Migration notes: tools, context files, prompts, context windows

5.1 Switch the tool config

On QCode, Chinese models work over both protocols. Claude models use only the Anthropic endpoint, and GPT models use only the OpenAI endpoint.

Claude Code (Anthropic protocol):

export ANTHROPIC_BASE_URL=https://api.qcode.cc/api
export ANTHROPIC_AUTH_TOKEN=cr_your_key
claude --model claude-sonnet-5-5

Codex CLI (OpenAI Responses protocol), ~/.codex/config.toml:

model_provider = "qcode"
model = "gpt-6.2-sol"

[model_providers.qcode]
name = "qcode"
base_url = "https://api.qcode.cc/openai"
wire_api = "responses"
requires_openai_auth = true

OpenAI-compatible SDK with a Chinese model:

from openai import OpenAI

client = OpenAI(base_url="https://api.qcode.cc/openai/v1", api_key="cr_your_key")
resp = client.chat.completions.create(
    model="glm-5.3",
    messages=[{"role": "user", "content": "Add unit tests for utils/date.py"}],
)
print(resp.choices[0].message.content)

To run GLM, Kimi or Qwen inside Claude Code itself, see Claude Code with DeepSeek, GLM, Kimi and Qwen.

5.2 Move your context file

Gemini CLI reads GEMINI.md by default. Codex reads AGENTS.md. Claude Code reads CLAUDE.md and supports @path imports. The simplest approach is one tool-neutral AGENTS.md:

cp GEMINI.md AGENTS.md              # keep your existing rules
printf '@AGENTS.md\n' > CLAUDE.md   # Claude Code reuses the same rules via import

While you are at it, delete instructions that only make sense for Gemini, such as thinking-level hints or Gemini-specific tool names.

5.3 Move your MCP servers

Gemini CLI keeps MCP servers under mcpServers in ~/.gemini/settings.json. Stdio entries (command, args, env) move almost one-to-one into Claude Code's .mcp.json or a Codex [mcp_servers.<name>] table. Remote HTTP entries use different field names in each tool, so rewrite them from the target tool's docs. Full examples: MCP servers for Claude Code and Codex.

5.4 Adjust prompts and parameters

  • Where the system prompt goes. The Gemini API uses systemInstruction; Anthropic Messages uses a top-level system field; OpenAI Responses uses instructions or a developer message. CLI tools handle this for you, but your own SDK code must change.
  • Thinking controls. Don't port Gemini thinking-level parameters. Claude Opus 5.5 takes an effort level and cannot turn thinking off. GPT-6.2 uses reasoning effort.
  • Tool definitions. Gemini functionDeclarations map to Anthropic tools (with input_schema) and OpenAI function tools (with parameters). The JSON Schema body usually carries over.
  • Append-only conversations. Opus 5.5 thinking blocks are bound to the model and the conversation. Editing earlier messages or the system prompt invalidates them and breaks the cache. Scripts that rewrite history mid-session need changes.

5.5 Context windows

Claude Opus 5.5 and Claude Sonnet 5.5 both have 1M context. Qwen3.8-Max is 1M. For GPT-6.2 long-context rates, check OpenAI's pricing page. In practice most coding tasks never get near 1M; what matters more is that your tool compacts context in time and avoids unnecessary file reads.

What QCode can and cannot do here

  • Cannot: QCode does not offer any Gemini model. If you want to stay on Gemini, use Google's own channels.
  • Can: one cr_ key for Claude, GPT and Chinese models. Anthropic and OpenAI models are billed at the official API price ×1.0; Chinese models (GLM / Kimi / DeepSeek / Qwen) are billed at the rate shown on /models. Pay with cards, Apple Pay / Google Pay, Alipay, WeChat Pay or crypto. Endpoints: api.qcode.cc, plus asia.qcode.cc and us.qcode.cc.

FAQ

When does the Gemini 4 Carbon price increase, and by how much?

Per Google's blog, the $2 / $10 intro price runs through 2026-11-30. From 2026-12-01 it is $4 per million input tokens and $20 per million output tokens. Google's blog covers Carbon; check Google's pricing page for other Gemini 4 models.

Does Gemini CLI still work?

Yes, for fewer accounts. Since 2026-06-18 it no longer serves free personal accounts or AI Pro / Ultra subscriptions. Holders of Code Assist Standard / Enterprise licenses or paid Gemini API keys can still use it, and consumer subscribers are pointed to Antigravity CLI.

When does Gemini Code Assist shut down?

Google has not published a shutdown date for Standard / Enterprise. Published dates are: no new sales from 2026-10-09, last annual renewal on 2027-01-31, last monthly renewal on 2027-12-31.

What should I use for coding at the same price as the new Carbon?

Claude Opus 5.5 has the same $4 / $20 list price. To keep your pre-increase cost, Claude Sonnet 5.5 and GPT-6.2 Sol are both $2 / $10. Other options include GLM-5.3 and Qwen3.8-Max; their rates are on /models. Your real bill on your own repo is the final answer.

Can I call Gemini through QCode?

No. QCode does not offer Gemini models, and there is no Gemini on the /models page. QCode's lineup is Claude, GPT and major Chinese models.

What happens to my GEMINI.md if I switch to Claude Code?

Copy it to AGENTS.md, then put a single @AGENTS.md line in CLAUDE.md. Codex and Claude Code then share one set of rules. Remove any Gemini-only parameter notes.

Will switching definitely cost less?

Not necessarily. Unit price is one factor; token usage depends heavily on the tokenizer, thinking tokens and cache hit rate. Compare a week of real tasks on a small budget before you choose a main model.

Try a week of real tasks on the trial plan

If you are evaluating coding models outside Gemini, start with the trial plan (from $9 for 30 days with $5 of quota per day; see /pricing). Run the same tasks in Claude Code or Codex with Sonnet 5.5, GPT-6.2 Sol and GLM-5.3, then decide from the bill. For occasional use without a subscription, use a pay-as-you-go pack. Live per-model prices are on /models.

Try a week of real tasks on the trial plan

One key for both the Anthropic Messages API and OpenAI-compatible APIs. Claude and GPT are billed at the official price ×1.0; live rates are on /models.

Not sure where to start?

Try it for a week

Small Pack: $4 for $30 of quota, valid 7 days

Use it every day

Starter: $9.00/month with $5 of quota every day — just $0.060 per $1 of quota, vs about $0.113 for the Medium Pack