Gemini 3.1 Pro Preview Search

gemini-3.1-pro-preview-search · Google

Gemini-3.1-pro-preview-search integrates Google's official search functionality; the search feature incurs an additional separate fee log directly incorporated into the scoring, but the log details are not displayed; this will be fixed in the future to show the details; it only supports OpenAI-compatible format calls and does not support the Gemini SDK; for the Gemini native SDK, please directly set the official search parameters.

API Pricing

Input$2 / 1M tokens
Output$12 / 1M tokens
Cache read$0.5 / 1M tokens

Specifications

Context1.05M tokens
Modalitiestext, image, video, audio, PDF
CapabilitiesThinking, Tool calling, Web search, URL context, Code interpreter, File search, Structured outputs, Prompt caching
Endpointschat_completions

Frequently asked questions

What is Gemini 3.1 Pro Preview Search?

Gemini-3.1-pro-preview-search integrates Google's official search functionality; the search feature incurs an additional separate fee log directly incorporated into the scoring, but the log details are not displayed; this will be fixed in the future to show the details; it only supports OpenAI-compatible format calls and does not support the Gemini SDK; for the Gemini native SDK, please directly set the official search parameters.

What is the context length of Gemini 3.1 Pro Preview Search?

Gemini 3.1 Pro Preview Search has a 1,048,576 token context window.

How much does Gemini 3.1 Pro Preview Search cost?

On AIHubMix, Gemini 3.1 Pro Preview Search costs $2 per million input tokens and $12 per million output tokens. Cached input reads are billed at $0.5 per million tokens.

What modalities does Gemini 3.1 Pro Preview Search support?

Gemini 3.1 Pro Preview Search accepts text, image, video, audio and PDF input.

What capabilities does Gemini 3.1 Pro Preview Search support?

Gemini 3.1 Pro Preview Search supports thinking, web search, deep search, tool calling, function calling, structured outputs and long context. Per-protocol parameter support is listed in the capability table on this page.

How do I call Gemini 3.1 Pro Preview Search via API?

Gemini 3.1 Pro Preview Search is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to gemini-3.1-pro-preview-search — no other code changes needed.

Who created Gemini 3.1 Pro Preview Search?

Gemini 3.1 Pro Preview Search is developed by Google. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

When was Gemini 3.1 Pro Preview Search released?

Gemini 3.1 Pro Preview Search was released on February 19, 2026 by Google.

More models from Google

See all Google models →

Gemini Nano Banana 2.1

by Google

Gemini Nano Banana 2.1 (gemini-nano-banana-2.1) is Google's latest high-efficiency image…

$1.5/1M in · $7.5/1M out
65,536 tokens context

Gemini 3.8 Flash Lite Tts

by Google

Gemini 3.8 Flash-Lite TTS (gemini-3.8-flash-lite-tts) is Google's fast and affordable…

$1/1M in · $1/1M out
8,192 tokens context

Gemini 3.8 Flash Tts

by Google

Gemini 3.8 Flash TTS (gemini-3.8-flash-tts) is Google's 3.8 Flash text-to-speech audio…

$0.5/1M in · $9/1M out
8,192 tokens context

Gemini 3.8 Flash

by Google

Gemini 3.8 Flash is Google's most intelligent Flash-series model, designed for…

$0.75/1M in · $3.75/1M out
1,048,576 tokens context

Gemini 3.7 Flash

by Google

Gemini 3.7 Flash is Google’s natively multimodal reasoning model for coding, agents, web…

$0.75/1M in · $3.75/1M out
1,048,576 tokens context

Gemini 3.6 Flash

by Google

Gemini 3.6 Flash provides sustained frontier-level intelligence optimized for real-world…

$1.5/1M in · $7.5/1M out
1,048,576 tokens context

Use Gemini 3.1 Pro Preview Search via the AIHubMix unified API — one interface for every major LLM.