Gemini API
The Gemini API is Google's developer surface for the Gemini model family — Pro / Flash / Flash-Lite, plus image, audio, and video models. You access it directly through ai.google.dev (API key auth, fast on-ramp, generous free tier) or through Vertex AI (cloud project auth, enterprise controls, regional residency). Two SDKs to know: the new unified google-genai Python SDK and @google/genai for TypeScript / JavaScript. The older google-generativeai package is being superseded — start with the new one. All entries below are sourced from the official docs.
- GAPI.1 Gemini API, plainly sourced
Five-minute orientation to the Gemini API — Google's developer surface for the Gemini model family. Two access paths (ai.google.dev with API key vs Vertex AI with cloud auth), one unified SDK (google-genai), where Gemini 3 fits vs Gemini 2.5, and the new Interactions API direction.
- GAPI.2 Getting started with the Gemini API sourced
End-to-end setup for the Gemini API — get an API key from AI Studio, install the new google-genai SDK (the older google-generativeai is deprecated), make your first call in Python and TypeScript, and graduate to streaming + system instructions.
- GAPI.3 Gemini API — model lineup sourced
The Gemini model family as of mid-2026 — Gemini 3 (current docs default, mostly preview), Gemini 2.5 (stable but scheduled for shutdown 16 October 2026), Gemini 2.0 (deprecated), naming patterns (stable / preview / latest aliases), pricing, and free-tier availability.
- GAPI.4 Gemini API — common patterns sourced
Multi-turn chat, streaming, system instructions (a separate parameter, not the first message), Files API for inputs over 100 MB, context caching for cost savings on repeated context, structured output with JSON schemas, and safety settings.
- GAPI.5 Gemini API — tool use sourced
Tool use in the Gemini API — function calling (single, multi-turn, parallel, sequential, automatic in Python), Google Search grounding ($14 per 1K queries after 5K free), code execution (Python sandbox), URL context, file search, and computer use (preview).