Setup
Usage
Available models
gemini-3-flash-preview- Fast and affordablegemini-3-pro- Most capablegemini-2.0-flash- Previous generation
Learn more about Mintlify
Enter your email to receive updates about new features and product releases.
Use Gemini models with Agno
pip install agno[google]
export GOOGLE_API_KEY="your-api-key"
from agno.agent import Agent
from agno.models.google import Gemini
agent = Agent(
model=Gemini(
id="gemini-3-flash-preview",
temperature=0.7
)
)
gemini-3-flash-preview - Fast and affordablegemini-3-pro - Most capablegemini-2.0-flash - Previous generation