Skip to main content
Version: Next (v1.11)

Google AI Models

To use a language model hosted on Google AI, specify google in the from field.

To use a specific model, include its model ID in the from field (see example below). If not specified, the default model is gemini-2.0-flash-exp.

The following parameters are specific to Google AI models:

ParameterDescriptionDefault
google_api_keyThe Google AI API key.-

Example spicepod.yml configuration:

models:
- from: google:gemini-2.0-flash-exp
name: flash
params:
google_api_key: ${ secrets:GEMINI_API_KEY }

See Google AI Models for a list of supported model names.

See Large Language Models for additional configuration options: