The fastest path from prompt to production with Gemini
AI Studio chat landing page
Sign up and get started
DiscoverDiscover
Explore all of Google’s AI models in one place
One easy playground for you to test your prompts with any of our models
Explore all of Google’s AI models in one place
Build
Go from idea to app with the power of Gemini
Start with a prompt, easily vibe code AI-powered apps, and share with the world
Go from idea to app with the power of Gemini
Operate
Stay on top of your resource usage
Manage your keys, billing, and projects in one space
Stay on top of your resource usage
Learn
Build directly with the SDK
Cookbooks, API references, and model capabilities in our docs
Build directly with the SDK

Start building with the API today

Developer quickstart
Set up your environment and make your first API request in minutes
4 min
1 2 3 4 5 6 7 8 9
from google import genai

client = genai.Client()

response = client.models.generate_content(
    model="gemini-2.5-flash",
    contents="Explain how AI works in a few words"
)
print(response.text)

Explore our models