#23040: Upgrade default Google model to Gemini 3.1 Pro and add Venice catalog entry
commands
agents
size: XS
trusted-contributor
Cluster:
Gemini Provider Enhancements
## Context
Gemini 3.1 Pro (`gemini-3.1-pro-preview`) launched on 2026-02-19 with improved reasoning capabilities. The default model references in OpenClaw still point to `gemini-3-pro-preview`, meaning new installations and users who haven't pinned a specific model don't get the latest model.
## Changes
- **`src/config/defaults.ts`**: update `gemini` alias from `google/gemini-3-pro-preview` to `google/gemini-3.1-pro-preview`
- **`src/commands/google-gemini-model-default.ts`**: update `GOOGLE_GEMINI_DEFAULT_MODEL` to `google/gemini-3.1-pro-preview`
- **`src/agents/venice-models.ts`**: add `gemini-3.1-pro-preview` entry to the Venice catalog with 1M context window and 65K max output tokens
## What's NOT changed
- Users with explicit model config are unaffected
- `gemini-flash` defaults remain on `gemini-3-flash-preview` (no 3.1 Flash released yet)
- No changes to `normalizeGoogleModelId` (covered separately in #23034)
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Updates default Gemini model references from `gemini-3-pro-preview` to the newly released `gemini-3.1-pro-preview` (launched 2026-02-19) across config defaults and command defaults. Adds the new model to the Venice catalog with 1M context window and 65K max output tokens.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk
- The changes are straightforward model identifier updates across three files with consistent string replacements. The Venice catalog entry follows the exact pattern of the existing `gemini-3-pro-preview` entry. Tests already cover both model IDs, and the PR description clearly documents that users with explicit config are unaffected.
- No files require special attention
<sub>Last reviewed commit: 8a0fc13</sub>
<!-- greptile_other_comments_section -->
<!-- /greptile_comment -->
Most Similar PRs
#21181: fix(models): add gemini-3.1-pro-preview forward-compat for google-g...
by Mellowambience · 2026-02-19
82.8%
#21263: fix: add google-vertex support for Gemini 3.1 models
by pdd-cli · 2026-02-19
82.5%
#23034: Add Gemini 3.1 Pro to Google model normalizer and OpenCode Zen catalog
by Clawborn · 2026-02-21
82.2%
#22337: fix(models): add fallback Gemini 3.1 Pro Preview catalog entry
by AIflow-Labs · 2026-02-21
80.2%
#21257: # feat: add Gemini 3.1 Pro (low/high reasoning) model support
by GhadiSaab · 2026-02-19
79.8%
#22899: fix(models): synthesize antigravity Gemini 3.1 pro high/low models
by Phineas1500 · 2026-02-21
79.3%
#23129: build(deps): move @discordjs/opus to optionalDependencies
by Imccccc · 2026-02-22
78.1%
#23424: feat: add Gemini 3.1 Pro Preview support (google-gemini-cli)
by hongchanroh · 2026-02-22
78.1%
#11464: feat(models): add forward-compat fallback for gemini-3-pro-image
by ben-milanko · 2026-02-07
77.7%
#16687: fix(antigravity): default to Gemini 3 Pro and remove broken depreca...
by vincentkoc · 2026-02-15
76.9%