Model family
Gemini
Model details
Call Gemini gemini-3.1-flash-lite-preview via Infistar: inspect the exact model ID, declared endpoints (openai-response · anthropic · gemini), transparent CNY pricing, and ready-to-run examples.
Exact model IDgemini-3.1-flash-lite-preview
Gemini
openai-response · anthropic · gemini
text
Settled by actual token usage
Input ¥0.1429 / Output ¥0.8572 per 1M tokens, cache read ¥0.0143
Official: input ¥1.6703 / output ¥10.022
Up to 91% below official reference (never above official pricing)
Call gemini-3.1-flash-lite-preview via POST /v1/messages using your Infistar API key:
curl https://infistar.ai/v1/messages \
-H "x-api-key: $INFISTAR_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-3.1-flash-lite-preview","max_tokens":512,"messages":[{"role":"user","content":"Hello"}]}'import anthropic
client = anthropic.Anthropic(api_key="YOUR_INFISTAR_KEY", base_url="https://infistar.ai")
msg = client.messages.create(model="gemini-3.1-flash-lite-preview", max_tokens=512, messages=[{"role": "user", "content": "Hello"}])
print(msg.content[0].text)Models and prices may change. Sign in to check available models and review current pricing before calling.