Models

Gemini 3.1 Flash Lite

tools vision

gemini-3.1-flash-litePowerful model from Google's Gemini series.

Input / 1M tokens

$0.25

$0.00000025 / token

Output / 1M tokens

$1.5

$0.0000015 / token

Cached input / 1M

$0.025

Uptime · 24h

—

No traffic yet

Details

Type
Chat
Input
text, image, video, file, audio
Output
text
Context
1,048,576 tokens

Supported parameters

max_tokenstemperaturetop_pstopseedpresence_penaltyfrequency_penaltyresponse_formatpluginstoolstool_choiceparallel_tool_calls

Last 24 hours

Requests per hour; red = provider errors.

Avg latency
—
Avg first token
—
Throughput
—

Use it

curl https://api.ultragpt.pro/v1/chat/completions \
  -H "Authorization: Bearer $ULTRAGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-lite",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Anthropic SDK / Claude Code

curl https://api.ultragpt.pro/v1/messages \
  -H "x-api-key: $ULTRAGPT_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-lite",
    "max_tokens": 1024,
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

More Google models

All Gemini API models and prices

Compare Gemini 3.1 Flash Lite

FAQ

How much does the Gemini 3.1 Flash Lite API cost?

$0.25 input / $1.5 output per 1M tokens; cached input $0.025 per 1M tokens. You pay per use from a prepaid balance - no subscription, and every response reports its exact cost in usage.cost.

How do I call Gemini 3.1 Flash Lite through the API?

Create an UltraGPT API key, point the official OpenAI SDK (or any OpenAI-compatible client) at https://api.ultragpt.pro/v1 and pass "gemini-3.1-flash-lite" as the model. Anthropic SDKs and Claude Code work too, through /v1/messages.

What is the context window of Gemini 3.1 Flash Lite?

Gemini 3.1 Flash Lite accepts up to 1,048,576 tokens of context on UltraGPT.

Does Gemini 3.1 Flash Lite support tools, vision and reasoning?

Tool / function calling: yes. Image input (vision): yes. Reasoning: no. Input: text, image, video, file, audio; output: text.