Quickstart
Quickstart
Source: https://ai.google.dev/gemini-api/docs/quickstart
Retrieved: 2025-08-15
Summary
Install the Google GenAI SDK and make your first request with Gemini models.
Quick links
Google AI Studio quickstart • Using Gemini API keys • API versions explained • Gemini API libraries (Google GenAI SDK) • Gemini models • Authentication with OAuth quickstart • OpenAI compatibility • Overview • Pricing • Rate limits
Notes
- See Pricing and Rate limits for cost and throughput considerations.
- Prefer the Google GenAI SDK unless you have a strong reason to use raw REST or compatibility layers.
- Review Safety settings and Usage policies before shipping.