Model details

gemini-3.1-pro-preview API Model & Pricing

Call Gemini gemini-3.1-pro-preview via Infistar: inspect the exact model ID, declared endpoints (openai · openai-response · anthropic · gemini), transparent CNY pricing, and ready-to-run examples.

Exact model IDgemini-3.1-pro-preview

Endpoints and pricing

Model family

Gemini

Compatible endpoint

openai · openai-response · anthropic · gemini

Task type

text

Settlement

Settled by actual token usage

Lowest price (CNY)

Input ¥6.4504 / Output ¥38.7024 per 1M tokens, cache read ¥0.6451

Official reference price

Official: input ¥13.3627 / output ¥80.1761

Estimated savings

Up to 51% below official reference (never above official pricing)

Quickstart API example

Call gemini-3.1-pro-preview via POST /v1/chat/completions using your Infistar API key:

curl https://infistar.ai/v1/chat/completions \
  -H "Authorization: Bearer $INFISTAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-3.1-pro-preview","messages":[{"role":"user","content":"Hello"}]}'
from openai import OpenAI

client = OpenAI(api_key="YOUR_INFISTAR_KEY", base_url="https://infistar.ai/v1")
res = client.chat.completions.create(model="gemini-3.1-pro-preview", messages=[{"role": "user", "content": "Hello"}])
print(res.choices[0].message.content)

Before you use this model

Models and prices may change. Sign in to check available models and review current pricing before calling.

Related models and guides