Gemini CLI Version Tracker: Environment Variables, Models & Features#

Published by

We analyze Google's Gemini CLI releases to document the environment variables, model IDs, and feature surface of each build. Because Gemini CLI is fully open source, every finding is grounded in the published source at the release tag and the official release notes.

Tracking the other agents too? See the Claude Code Version Tracker, Codex CLI Version Tracker, OpenCode Version Tracker, and Amp Version Tracker.

Version History#

v0.71.1 — November 24, 2026#

GEMINI_IPC_SECRET · A2A bearer-token auth · PowerShell spinner fix

v0.71.1 hardens the A2A server in packages/a2a-server: clients must send a bearer token in the Authorization header, read from GEMINI_IPC_SECRET or CODER_AGENT_AUTH_TOKEN, and a request without a match gets a 401 while a server with no token configured returns 500 for every request. Host and Origin are validated as loopback, unauthenticated requests are rate-limited after 100 per minute, createTask ignores a client-supplied isTrusted so trust is decided server-side, and restore rejects checkpoint paths outside the checkpoint directory. The intervening v0.71.0 parses PowerShell commands asynchronously so the spinner no longer freezes while a command is parsed.

v0.70.0 — November 19, 2026#

command policy matching · ASK_USER on unresolved expansion · worktree-safe auth restart · re2js argsPattern · 300s body timeout

Gemini CLI v0.70.0 is a maintenance release centered on the shell command policy engine and session restart state. The commandPrefix and commandRegex rules match against the top-level command argument, commands with unresolved expansion keep the ASK_USER decision, argsPattern evaluation moves to re2js for linear-time matching, and system MCP servers with insecure command permissions are skipped. The selected worktree is preserved across authentication restarts, workspace directories restore only after resumeChat succeeds, the undici bodyTimeout scales when a request timeout exceeds the 300-second default, and the models list reports accurate output token limits.

v0.69.0 — November 19, 2026#

GEMINI_API_HEADERS_TIMEOUT_MS · /stats heatmap · standalone theme.json · bounded quota retries

v0.69.0 makes the 60-second API headers timeout configurable through the model.requestTimeoutMs setting or the GEMINI_API_HEADERS_TIMEOUT_MS environment variable, across all authentication modes. A /stats heatmap subcommand charts daily token usage, custom themes can now load from a standalone theme.json file, and the /model command validates model names and accepts one as a direct argument. The fixes concentrate on long and unattended runs: silent multi-minute network hangs, multi-hour quota retries now capped with ACP retry notifications, recursive interactive sessions in shell mode, PDF and telemetry memory retention, and headless aborts that now kill child processes and preserve the signal exit code.

v0.68.0 — November 10, 2026#

model choice across fallback/rewind · extension validation command · 429 countdown · SubagentStop hook

v0.68.0 is a maintenance release over v0.67.0 with no configuration or model-surface changes. It keeps a session's selected model from being swapped during transient fallback, cancel, and rewind, preserves an explicit gemini-2.5-flash through dynamic model resolution, and lists Auto in /model when dynamic model configuration is on without preview access. It adds a command to validate extensions, serializes concurrent extension installs with a per-extension lock, shows a 429 rate-limit cool-down countdown in the loading indicator, maps the SubagentStop hook event, and supplies --userns=keep-id for rootless podman, alongside Windows path and IDE-lookup fixes and rendering fixes for terminal width changes and symlink globbing.

v0.67.0 — November 4, 2026#

models command · --list-models JSON output · IDE companion in sandboxes · non-interactive cancellation fixes

v0.67.0 adds model discovery from the command line: a models command and a --list-models flag list the available Gemini models and exit (#29880), and models list --output-format json prints each model with its input and output context-token limits, so a wrapper can read the model set from live output instead of a hardcoded identifier. The IDE companion is bridged into container sandboxes over exec stdio (#29858), with related fixes excluding IDE settings and GEMINI.md from open-file context (#29848) and resolving relative paths against the active IDE workspace root (#29838). The rest is fixes: termination signals handled and tool execution prevented after cancellation in non-interactive mode (#29849), continuation stream and auto-nudge stopped after a cancelled request (#29868), ${VAR} placeholders and Claude-style hook timeouts handled during settings migration (#29867, #29899), project spending cap errors classed as terminal quota errors (#29961), untrusted flag checks scoped to external output with approved flags remembered (#29833), and ACP permission requests carrying MCP server and tool metadata (#29910). Configuration variables and model identifiers are unchanged from v0.66.0.

v0.66.0 — October 27, 2026#

synchronized terminal output · preserved scrollback · git env hardening (#29760, #29832) · PATH-shadow update check (#29757) · MCP OAuth private endpoints (#29844)

v0.66.0 is a maintenance release over v0.65.0 with no change to its configuration variables, model identifiers, or experimental settings. The fixes concentrate on two areas: how the CLI draws to the terminal (synchronized output and isolated spinner rendering #29725, corrected debug console height and terminalBuffer flicker #29695, no right-hand border bleed in scrollable tool containers #29742, preserved scrollback during viewport refreshes #29792), and the environment it hands to the git and shell commands it spawns (interactive credential and SSH prompts disabled in getSafeGitEnv #29760, user-level ~/.gitconfig preserved #29832, Windows diff arguments quoted in openDiff #29753, termination signals forwarded from the bootstrap parent #29790). The self-updater now verifies the active binary to prevent a PATH-shadowing false success (#29757). On auth and config: false-positive matches in isAuthenticationError are dropped (#29835), MCP OAuth flows can opt in to private network endpoints (#29844), settings placeholders resolve after .env files load (#29750), keybindings.json accepts a keys array (#29773), and a banner notes the CLI is not optimized for Gemini 4 (#29774).

v0.65.0 — October 20, 2026#

GEMINI_TELEMETRY_OTLP_HEADERS · resume-safe sessions · no auth loops · read-only untrusted folders · faster ignore filtering

v0.65.0 is a reliability cut over v0.64.0. The one net-new configuration variable, GEMINI_TELEMETRY_OTLP_HEADERS, adds custom OTLP headers on telemetry export, alongside the existing endpoint and protocol variables. The fixes concentrate on two paths that can end a run on their own: a resumed session that duplicated tool turns or deleted its history on a quick exit, and an auth flow stuck in a verification or OAuth retry loop. The rest covers read-only workspace settings in untrusted folders, fewer command-trust false positives, an interactive prompt that hung on Enter, extensions that keep loading past an allowlist failure, and optimized ignore filtering with subtree pruning.

v0.64.0 — October 13, 2026#

atomic file writes · state recovery from backup · reliable Ctrl+C · ACP usage updates · headless folder trust · Windows fixes

v0.64.0 follows v0.63.0 with a release that spends its entire weekly cut on durability. File tool operations are serialized and writes made atomic, session state is persisted atomically and recovered from a backup when found corrupted, and the chat recording service moves to append-only delta patching. Ctrl+C now reaches the cancellation handler during an active operation, typing @ inside code no longer hangs, and selection lists confirm reliably. ACP clients receive token-usage updates and exact session resolution, headless runs keep their folder-trust decision, and two Windows fixes narrow the platform gap. No new models or environment variables shipped; the only net-new configuration is a pair of undocumented experimental keys for skills and extension management.

v0.63.0 — October 6, 2026#

GEMINI_CLI_AUTH_OVERRIDE · headless plan execution · auth loop fix · connection-retry progress · path-safety

v0.63.0 ships no new models and reads as reliability work. Plans run to completion in non-interactive mode, suiting scripted and CI use, and an auth fix ends the infinite login loop caused by credential-file contention, a headless keyring, and dropped supervisor state. The one new variable, GEMINI_CLI_AUTH_OVERRIDE, carries the chosen auth type across the CLI's self-relaunch so the selection is not lost. Connection recovery now shows retry progress, long-running agent loops bound tool output, the release aligns policy redirection gates and path validation, and it removes a diff.external override the notes flag as invalid.

v0.62.0 — September 29, 2026#

Gemini 3.8 Flash · 3.5 Flash Lite · OAuth token retention · Windows ConPTY fixes · safer TUI borders

v0.62.0 adds the Gemini 3.8 Flash and 3.5 Flash Lite models and pairs them with a round of reliability fixes. The headline fix keeps you signed in: a token refresh that returns a partial payload no longer wipes the stored credential's refresh token, and credential deletion is now idempotent. The rest is cross-platform hardening weighted toward Windows, including ConPTY process-exit synchronization, PTY file-descriptor cleanup, terminal buffer memory management, and correctly formatted Windows diagnostic paths. The TUI border renderer now guards against negative and non-finite widths instead of throwing, ACP mode emits the tool_call before the permission request, MCP tool-call titles render as structured signatures, and the VS Code companion preserves terminal focus when a diff tab closes.

v0.61.0 — September 24, 2026#

GEMINI_RESTRICTED_MODE · GOOGLE_CLOUD_WORKSTATIONS · MCP OAuth hardening

The eight stable releases from v0.53.1 to v0.61.0 concentrate on security. Restricted mode makes workspace trust fail closed and filters MCP servers out of untrusted workspaces, Cloud Workstations OAuth support lands, and the MCP OAuth path adds SSRF blocking and RFC 9207 issuer identification. Sandbox isolation (Docker sockets, per-container temp and settings dirs) and extension guards (loader path validation, env-var consent) tighten throughout, while no new production model IDs appear. Weekly stable cadence held, and part of the window went to Google's own caretaker triage and issue-fixing automation rather than the shipped CLI.

v0.53.1 — July 31, 2026#

sandbox + RCE hardening · JSON-safe edits · coreTools→tools.core

The v0.47.0 to v0.53.1 range is a consolidation window: no new env vars, model IDs, or feature flags, with the gemini-3.1 and 3.5 families already present at the baseline. Google spent six stable releases on the security boundary instead, moving macOS Seatbelt profiles to deny-default, making ~/.gitconfig read-only in the sandbox, fixing path-traversal on skill install and a symlink escape in the memory importer, and preventing RCE in the agent-to-agent server. Edit reliability improved (write_file and replace now skip LLM correction for JSON and IPYNB), coreTools migrated to tools.core, and a new caretaker-agent Cloud Run triage service appeared in tools/ outside the shipped CLI. Weekly stable cadence held.

v0.47.0 — June 18, 2026#

288 env vars · 39 model IDs · baseline snapshot

The first tracked Gemini CLI build. 288 environment-variable literals (about 160 of them telemetry attribute keys), 39 model-ID strings from the 1.5 to 3.5 families, 25 experimental flags, a built-in model router, and four auth backends. The surface every later post diffs against.

Gemini CLI coverage

Get the weekly digest

New Claude Code, Codex, Gemini CLI and OpenCode guides and release analyses, once a week, plus occasional notes.

One email a week plus occasional notes. Confirm by email; unsubscribe from any issue. Privacy