google/gemini-3.1-pro-preview
Google's GA flagship model. Ranks #1 on 12 of 18 tracked benchmarks. 2x+ reasoning improvement over Gemini 3 Pro. 1M-token context with strong coding, math, and multimodal input. Best for complex reasoning, advanced coding pipelines, and research-grade tasks.
Quelle: official_2026_10_x1.00 · Verifiziert am 2026-10-13
Cache-Lesezugriff $0.2/M · Cache-Schreibzugriff —/M
| Stufe | Eingabe | Cache-Lesezugriff | Cache-Schreibzugriff | Ausgabe |
|---|---|---|---|---|
| Standard ≤200K | $2 | $0.2 | — | $12 |
| Standard >200K | $4 | $0.4 | — | $18 |
Zum API-Aufruf kann jede der IDs verwendet werden.
google/gemini-3.1-pro-previewErsetzen Sie den Platzhalter ONEHOP_KEY durch Ihren API key. Erstellen →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="google/gemini-3.1-pro-preview",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)4 Anfragen in den letzten 30 Tagen