Gemini CLI 0.71: Power-User Guide to Token Heatmaps, Themes and Timeouts

Last updated: November 26, 2026

Gemini CLI 0.71, Google’s stable release from November 23, 2026, caps four weekly updates. Together they add a /stats heatmap of daily token use, standalone theme.json files, an adjustable API timeout, an extension validation command, visible rate-limit countdowns and tighter policy and sandbox checks.

Contents

What changed from 0.68 to 0.71

Gemini CLI is Google’s open-source terminal coding agent. Our last guide covered Gemini CLI 0.67 and its new models command. Since then Google has shipped four stable releases. According to the Gemini CLI release notes, 0.68.0 arrived on November 10, 0.69.0 on November 18, 0.70.0 on November 19 and 0.71.0 on November 23 (all dates Eastern Time). A 0.71.1 patch followed the same evening and is now the version npm installs by default.

Most entries are bug fixes. The table lists the changes that matter most.

Area Change Version
Usage tracking /stats heatmap shows daily token use as a calendar 0.69.0
Themes Custom themes load from a standalone theme.json 0.69.0
Timeouts 60-second API header timeout can be raised in every auth mode 0.69.0
Extensions New validation command; concurrent installs are serialized 0.68.0
Rate limits 429 cool-down timers appear in the loading indicator 0.68.0
Hooks SubagentStop hook event supported 0.68.0
Policy engine Regex rules evaluated in linear time with re2js 0.70.0
MCP security System MCP servers with insecure command permissions are skipped 0.70.0
Windows PowerShell commands parsed asynchronously to stop spinner freezes 0.71.0

The /stats heatmap command

The /stats command already showed session, model and tool statistics. Version 0.69 adds a heatmap subcommand. The command reference describes it as a calendar heatmap of daily token usage across local chat sessions, with an optional breakdown for one day.

  • /stats heatmap shows the calendar view.
  • /stats heatmap today or /stats heatmap yesterday breaks down a single day.
  • /stats heatmap 2026-11-20 breaks down a specific date.

Because the data comes from local session files, the heatmap covers only the current machine.

Standalone theme.json files

Custom themes used to live inside settings.json under ui.customThemes. Starting with 0.69, the themes documentation says Gemini CLI also discovers themes in two standalone files:

  1. ~/.gemini/theme.json (or $GEMINI_CLI_HOME/.gemini/theme.json)
  2. $XDG_CONFIG_HOME/gemini/theme.json, falling back to ~/.config/gemini/theme.json

A file can hold one theme object or a map of named themes. If the same name appears in more than one place, ~/.gemini/theme.json wins over the XDG path and over inline themes in settings.json. You then select the theme with "ui": {"theme": "your-theme-name"}. This suits palettes generated by tools such as pywal or matugen, which can rewrite the color file without touching other settings. Version 0.68 also added the missing active and focus keys to the custom theme schema.

Request timeouts and network hangs

Long-thinking requests could fail because Gemini CLI waits only 60 seconds for the API to start responding. The 0.69.0 release makes that limit adjustable in all authentication modes through the model.requestTimeoutMs setting or the GEMINI_API_HEADERS_TIMEOUT_MS environment variable. Both take milliseconds, and the setting requires a restart.

The same release fixes silent multi-minute loading hangs during network failures and stops quota retries that could run for hours. Version 0.70 scales the HTTP body timeout when your request timeout is longer than the 300-second default and reports accurate output token limits in model listings. Version 0.68 shows the 429 rate-limit cool-down as a countdown in the loading indicator, so you can see when a request will be retried.

Extension validation and safer installs

Extension authors get a validation command in 0.68. The CLI reference lists it as gemini extensions validate <path>, which checks an extension’s structure before you publish or link it. The same release serializes concurrent installs with a per-extension lock and handles stream failures during release downloads.

Hook users gain support for the SubagentStop event, with hook definitions merged across sources, so scripts can run when a subagent finishes.

Policy, sandbox and MCP safety changes

According to the release notes, several changes harden how the agent runs commands:

  • Policy engine. Version 0.70 evaluates policy regex patterns with re2js in linear time and matches prefix and regex rules against top-level command arguments.
  • System MCP servers. Servers whose command files have insecure permissions are skipped.
  • IDE discovery. IDE companion discovery uses per-user directories with atomic port writes.
  • Sandboxes. Folder trust is resolved before entering the macOS Seatbelt sandbox (0.69), and rootless Podman sandboxes get --userns=keep-id so created files stay owned by your user (0.68).
  • Windows. Version 0.71 parses PowerShell commands off the main UI loop and caches the parse results, which ends spinner freezes and redundant shell spawns.

How to upgrade and try the new features

  1. Update. Run gemini update, or npm install -g @google/gemini-cli@latest. Homebrew users can run brew upgrade gemini-cli.
  2. Confirm the version. Run gemini --version and look for 0.71.1.
  3. Raise the timeout if needed. Add "model": {"requestTimeoutMs": 180000} to ~/.gemini/settings.json for a three-minute wait, then restart.
  4. Try the heatmap. Start gemini and type /stats heatmap.
  5. Move your theme. Put custom colors in ~/.gemini/theme.json and keep only ui.theme in settings.json.
  6. Validate extensions. Run gemini extensions validate ./my-extension before linking or sharing it.

The update commands come from the Gemini CLI cheatsheet.

Gemini CLI 0.71 vs. 0.67

Area Gemini CLI 0.67 Gemini CLI 0.71
Token usage view /stats session, model and tool views Adds /stats heatmap by day
Custom themes Inline in settings.json or a theme file path Also auto-discovered theme.json files
API response wait 60-second limit not adjustable in every auth mode Adjustable in all auth modes
Rate limits Retry without a visible timer Cool-down countdown in the loading indicator
Extensions Install, link, update, new Adds validate and install locking
Policy regex Standard regex evaluation Linear-time re2js evaluation

Competing terminal agents moved quickly in the same weeks. Compare these releases with our guides to Codex CLI 0.172, Claude Code 2.1.332 and Qwen Code 0.28, which began as a Gemini CLI fork.

Who Gemini CLI is for now

Since June 18, 2026, Gemini CLI has been aimed at organizations using Gemini Code Assist Standard or Enterprise, Code Assist for GitHub and legacy paid API or Vertex AI keys. Free individual users and Google AI Pro and Ultra subscribers were moved to Antigravity CLI, covered in our Antigravity CLI guide. If data use is a concern for your team, see whether Gemini CLI trains on your code.

Frequently asked questions

What is the latest version of Gemini CLI?

As of November 26, 2026, the latest stable Gemini CLI release is 0.71.1, a patch published on November 23, 2026, about two and a half hours after 0.71.0. The preview channel is on 0.72.0-preview.0.

How do I update Gemini CLI to the latest version?

Run gemini update, or reinstall the stable channel with npm install -g @google/gemini-cli@latest. Homebrew users can run brew upgrade gemini-cli. Check the result with gemini –version.

How do I see daily token usage in Gemini CLI?

Since version 0.69, type /stats heatmap in an interactive session. It shows a calendar heatmap of daily token usage across your local chat sessions. Add today, yesterday or a date in YYYY-MM-DD format to see that day in detail.

How do I fix Gemini CLI request timeouts?

Version 0.69 lets you raise the 60-second wait for the API to start responding in every authentication mode. Set model.requestTimeoutMs in settings.json or the GEMINI_API_HEADERS_TIMEOUT_MS environment variable, then restart the CLI.

Where do I put a custom theme.json for Gemini CLI?

Gemini CLI 0.69 and later read ~/.gemini/theme.json, then $XDG_CONFIG_HOME/gemini/theme.json (or ~/.config/gemini/theme.json). The file in ~/.gemini wins if the same theme name appears in several places. Select the theme by name with ui.theme in settings.json.

Sources

Featured image: Google Gemini logo via Wikimedia Commons, public domain (trademarked). Gemini is a trademark of Google LLC; FreeAnswers is not affiliated with Google.

Related answers

Leave a Comment