Okapi Okapi

Gemini API · Model retirement

gemini-pro

Stopped working

Calls to the model gemini-pro on Gemini API stopped working on October 16, 2026.

What to use instead of gemini-pro

gemini-2.5-pro, named first, is closed to some callers (Google: "we are limiting access to the 2.5 models to users who have actively used them in the past." Projects that already called it keep it; new projects are told to use 3.5 Flash-Lite or 3.8 Flash.). No replacement that holds is named yet. Nothing about a 1.0-era integration survives unchanged: the SDK, the request shape and the safety-setting enums have all been replaced since.

Facts

API
Gemini API generativelanguage.googleapis.com
Model
gemini-pro
Kind
Model retirement
Takes effect
October 16, 2026
Calls after that day
Fail
Source
models.dev
Last updated

More from Gemini API

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub