Google: Gemini 3.1 Pro Preview
Chatgoogle/gemini-3.1-pro-previewGemini 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
Context Window
1M
Max Output Tokens
66K
Released
2026-02-19
Capabilities
VisionFunction CallingReasoningPrompt CachingWeb SearchAudio InputVideo InputPDF Input
Available Providers
Vertex
Supported Protocols
openaigemini
Providers
Vertex
Input Tokens
$2/M
Output Tokens
$12/M
Cache Read
$0.2/M
Cache Write
$4.5/M
Audio Input
$2/M
Cached Audio
$0.2/M
Web Search
$0.014/R
Protocols
openai
/v1/chat/completionsgemini
Code Examples
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "base_url": "https://api.ofox.io/gemini"},)response = client.models.generate_content(model="google/gemini-3.1-pro-preview",contents="Hello!",)print(response.text)
Uptime & Status
Related Models
More from google
Frequently Asked Questions
Google: Gemini 3.1 Pro Preview on Ofox.ai costs $2/M per million input tokens and $12/M per million output tokens. Pay-as-you-go, no monthly fees.
Google: Gemini 3.1 Pro Preview supports a context window of 1M tokens with max output of 66K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
Google: Gemini 3.1 Pro Preview supports the following capabilities: Vision, Function Calling, Reasoning, Prompt Caching, Web Search, Audio Input, Video Input, PDF Input. Access all features through the Ofox.ai unified API.