API versions explained

Source: https://ai.google.dev/gemini-api/docs/api-versions

Retrieved: 2025-08-15

Summary

Differences between v1 and v1beta endpoints.

Google AI Studio quickstartUsing Gemini API keysGemini API libraries (Google GenAI SDK)Gemini modelsAuthentication with OAuth quickstartOpenAI compatibilityOverviewPricingQuickstartRate 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.