Gemini 3.1 Pro is the next generation in the Gemini series of models, a suite of highly-capable, natively multimodal, reasoning models. Gemini 3 Pro is now Google’s most advanced model for complex tasks, and can comprehend vast datasets, challenging problems from different information sources, including text, audio, images, video, and entire code repositories
1M コンテキストウィンドウ
66K 最大出力トークン
リリース日: 2026-02-19
対応プロトコル:openaigemini
利用可能なプロバイダー:Vertex
機能:VisionFunction Calling推論プロンプトキャッシュWeb検索音声入力動画入力PDF入力
料金
| タイプ | 料金 |
|---|---|
| 入力トークン | $2/M |
| 出力トークン | $12/M |
| 音声入力 | $2/M |
| キャッシュ読込 | $0.2/M |
| キャッシュ書込 | $4.5/M |
| キャッシュ音声 | $0.2/M |
| Web検索 | $0.014/R |
コード例
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "url": "https://api.ofox.ai/gemini"},)response = client.models.generate_content(model="google/gemini-3.1-pro-preview",contents="Hello!",)print(response.text)
関連モデル
よくある質問
Ofox.aiでのGoogle: Gemini 3.1 Pro Previewの料金は、入力100万トークンあたり$2/M、出力100万トークンあたり$12/Mです。従量課金制、月額料金なし。
Google: Gemini 3.1 Pro Previewは1Mトークンのコンテキストウィンドウと最大66Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.ai/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
Google: Gemini 3.1 Pro Previewは以下の機能に対応:Vision, Function Calling, 推論, プロンプトキャッシュ, Web検索, 音声入力, 動画入力, PDF入力。Ofox.ai統合APIですべての機能にアクセスできます。