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.
åºå ž: gemini_x0.5 · ç¢ºèªæ¥ 2026-06-05
ãã£ãã·ã¥èªã¿åã $0.1/M · ãã£ãã·ã¥æžã蟌㿠â/M
| ãã£ã¢ | å ¥å | ãã£ãã·ã¥èªã¿åã | ãã£ãã·ã¥æžã蟌㿠| åºå |
|---|---|---|---|---|
| Standard â€200K | $1 | $0.1 | â | $6 |
| Standard >200K | $2 | $0.2 | â | $9 |
ã©ã¡ãã® ID ã䜿ã£ãŠã API ã§ãã®ã¢ãã«ãåŒã³åºããŸãã
google/gemini-3.1-pro-previewONEHOP_KEY ãã¬ãŒã¹ãã«ããŒããèªèº«ã® API Key ã«çœ®ãæããŠãã ããã äœæãã â
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)éå» 30 æ¥éã§ 92 ä»¶ã®ãªã¯ãšã¹ã