Public beta. Coverage is source-backed and intentionally scoped. Rankings are metadata views, not universal quality claims. Read the data policy

Google — quickstart

Best long-context-per-dollar in the market and native multimodal that handles video, audio, and images first-class. Pick Google when you're processing big documents, doing video analysis, or need very cheap per-token rates at long context.

Recommended starting model Gemini 3.1 Pro gemini-3.1-pro

Get a key

  1. Create an API key at aistudio.google.com
  2. Set it as `GEMINI_API_KEY` env var

Make a request

Three equivalent ways to call the recommended model. Pick the one that matches your stack.

curl
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-pro:generateContent?key=$GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{
      "parts": [{"text": "Summarize the last week of AI model releases."}]
    }]
  }'
python pip install google-genai
from google import genai

client = genai.Client()
res = client.models.generate_content(
    model="gemini-3.1-pro",
    contents="Summarize the last week of AI model releases.",
)
print(res.text)
node npm install @google/genai
import { GoogleGenAI } from "@google/genai";

const client = new GoogleGenAI({});
const res = await client.models.generateContent({
  model: "gemini-3.1-pro",
  contents: "Summarize the last week of AI model releases.",
});
console.log(res.text);

Pricing

Gemini 3.1 Flash-Lite is the cost leader in this catalog for 1M-context workloads. Pro tier costs more but handles complex reasoning + agentic loops better.

Alternatives in this lineup

Gotchas