Gemini

Google: Gemini 3.1 Pro Preview

Chat
google/gemini-3.1-pro-preview

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
Поддерживаемые протоколы:OpenAIopenaiGeminigemini
Доступные провайдеры:GoogleCloudVertex
Возможности:ЗрениеFunction CallingРассуждениеКэширование промптовВеб-поискАудио-входВидео-входPDF-вход

Providers

GoogleCloudVertex
Входные токены
$2/M
Выходные токены
$12/M
Чтение кэша
$0.2/M
Запись кэша
$4.5/M
Вход: аудио
$2/M
Кэш: аудио
$0.2/M
Веб-поиск
$0.014/R
Protocols
OpenAIopenai/v1/chat/completions
Geminigemini

Примеры кода

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

Часто задаваемые вопросы

Google: Gemini 3.1 Pro Preview на Ofox.ai стоит $2/M за миллион входных токенов и $12/M за миллион выходных токенов. Оплата по потреблению, без абонплаты.