Skip to content

fix(gemini-api-dev): use GA model codes, drop retired -preview suffixes - #54

Open
0xgerel wants to merge 1 commit into
google-gemini:mainfrom
0xgerel:fix/gemini-api-dev-ga-model-codes
Open

fix(gemini-api-dev): use GA model codes, drop retired -preview suffixes#54
0xgerel wants to merge 1 commit into
google-gemini:mainfrom
0xgerel:fix/gemini-api-dev-ga-model-codes

Conversation

@0xgerel

@0xgerel 0xgerel commented Jun 15, 2026

Copy link
Copy Markdown

What

The gemini-api-dev skill's Current Models (Use These) list recommends three preview model codes that are now retired or superseded by their GA releases. This swaps them for the stable GA codes:

Skill listed (preview) GA code Note
gemini-3.1-flash-lite-preview gemini-3.1-flash-lite the -preview build shut down 2026-05-25; GA is stable
gemini-3-pro-image-preview gemini-3-pro-image GA "Nano Banana Pro"; -preview shuts down 2026-06-25
gemini-3.1-flash-image-preview gemini-3.1-flash-image GA "Nano Banana 2"; -preview shuts down 2026-06-25

gemini-3.1-pro-preview is intentionally left unchanged — no stable GA code exists for it yet.

Why

A skill whose explicit purpose is "current model specifications" was steering callers onto a model code that has already been shut down (gemini-3.1-flash-lite-preview), which fails at call time, plus two image codes about to be retired in favor of their GA names.

Verification

Checked each code against the live docs at https://ai.google.dev/gemini-api/docs:

  • models and pricing pages list gemini-3.1-flash-lite, gemini-3-pro-image, and gemini-3.1-flash-image as the stable GA codes.
  • deprecations page / changelog: gemini-3.1-flash-lite-preview shutdown 2026-05-25; the two -image-preview codes shutdown 2026-06-25.

Three-line change, no behavior beyond the model list.

🤖 Generated with Claude Code

The Current Models list recommended preview model codes that are retired or
superseded by their GA releases on ai.google.dev:

- gemini-3.1-flash-lite-preview -> gemini-3.1-flash-lite
  (the -preview build shut down 2026-05-25; GA is stable)
- gemini-3-pro-image-preview -> gemini-3-pro-image
  (GA 'Nano Banana Pro'; -preview shuts down 2026-06-25)
- gemini-3.1-flash-image-preview -> gemini-3.1-flash-image
  (GA 'Nano Banana 2'; -preview shuts down 2026-06-25)

Verified against the live models, pricing, and deprecations pages at
https://ai.google.dev/gemini-api/docs. gemini-3.1-pro-preview is left as-is
(no stable GA code exists yet).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@google-cla

google-cla Bot commented Jun 15, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the model names in skills/gemini-api-dev/SKILL.md by removing the -preview suffix from several Gemini models, including gemini-3.1-flash-lite, gemini-3-pro-image, and gemini-3.1-flash-image. There are no review comments, and I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant