Answer generation model versions and lifecycle

Vertex AI Search offers multiple model versions for you to choose whengenerating answers. You can choose the model versions when usingsearchsummaries andanswers andfollow-ups.

Available models

Vertex AI Search uses two types of models for question and answeringuse cases:

  • Vertex AI LLM models that have been tested on question andanswering tasks
  • Vertex AI Search models that are based on Vertex AI LLMmodels and further trained to address question and answering tasks

Vertex AI Search models share the same discontinuation date as theirbase Vertex AI LLM models. The base LLM model is available for sixmonths after the release date of the next version of the model, per theVertexAI model lifecyclepolicy.Leave enough time to migrate to new models before the discontinuation dates.

The following table lists model version specifications. When you set a modelspecification, the API uses the specified model to generate answers.

Model versionDescriptionContext windowDiscontinuation date
stable

The default model choice if the model version is not set.

Thestable model specification points togemini-2.5-flash/answer_gen/v1.

The model designated asstable changes periodically as new models and versions become available.

128KJune 17, 2026
gemini-3-pro-preview/answer_gen/v1

Thegemini-3-pro-preview model.

128KN/A
gemini-2.5-flash/answer_gen/v1

Thegemini-2.5-flash model.

The model is frozen after release.

128KJune 17, 2026
gemini-2.0-flash-001/answer_gen/v1

Thegemini-2.0-flash-001 model.

The model is frozen after release.

128KMarch 31, 2026
preview

The preview model specification points to thegemini-2.5-flash model. The preview model is subject to change without notification. If you usepreview as the model, you might see changes in the responses when the model changes. If you want consistency in the responses, select a specific model.

128KJune 17, 2026

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.