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 日間で 160 件のリクエスト