Gemini 3.1 Pro Preview

Try in Playground
silvamux/gemini-3.1-pro-preview
Supported modalities
text
Input price$2-4per 1M tokens
Output price$12-18per 1M tokens
Context1M
Max output66K

Pricing

Tiers are determined by the input context length of each request; Tune and Pro share the same tiered prices.

Unit: per 1M tokens
Input contextInputOutputCache readCache write
≤ 200K tokens$2$12$0.2$2
> 200K tokens$4$18$0.4$4

Capabilities

Evaluation data not available yet

Performance

Performance data not available yet

Gemini 3.1 Pro Preview example code and API

Progemini-3.1-pro-preview
/api/v0/chat/completions/api/v1/chat/completions
UnifiedOpenAI
curl https://silvamux.io/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro-preview",
    "messages": [{"role": "user", "content": "Hello, please introduce yourself"}]
  }'