20% off all GPT ๐ŸŽ‰ 30% off DeepSeekLearn more

Google: Gemini 3.1 Pro Preview

Chat
google/gemini-3.1-pro-preview

Gemini 3.1 Pro Preview is the next generation of Google's Gemini series: a natively multimodal reasoning model positioned as Google's most advanced option for complex tasks. It can comprehend vast datasets and difficult problems spanning several information sources at once โ€” text, audio, images, video and entire code repositories โ€” and adds tool use, prompt caching, PDF input and web search on top. Context window: 1M tokens, output: 64K. This is a preview release, so behaviour may still change. Available via OpenAI and Gemini protocols.

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

Vertexprovider.type: "google_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/completions
gemini

Code Examples

from google import genai
client = 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

Benchmarks

LMArena โ†—Evaluated as gemini-3.1-pro-preview

Google: Gemini 3.1 Pro Preview scores 1486 in the Overall category of the LMArena text leaderboard (style control), ranking #9 of 374 models based on 79,682 human preference votes (updated 2026-07-12).

Benchmark scores for gemini-3.1-pro-preview on LMArena
CategoryArena Score95% CIRankVotes
Overall14861482โ€“1489#9 of 37479,682
Hard Prompts15061502โ€“1511#9 of 37450,878
Coding15211515โ€“1527#18 of 36921,775
Math14911481โ€“1501#12 of 3624,320
Creative Writing14781472โ€“1485#8 of 37213,330
Instruction Following14811476โ€“1486#10 of 37426,008
Chinese15271517โ€“1538#11 of 3444,170

Source: LMArena ยท CC BY 4.0 ยท Updated 2026-07-12 ยท Methodology โ†— ยท Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.

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.