Language model by Google

Gemini 3.1 Flash Lite API

model: gemini-3.1-flash-lite

Call Gemini 3.1 Flash Lite with your KeelRouter API key, the same key you use for every other model. From $0.30 / $1.80 per 1M tokens, paid per call from a prepaid balance. Failed calls are free.

Pricing

OptionPrice
Input$0.30 per 1M tokens
Output$1.80 per 1M tokens

Call it

OpenAI-compatible endpoint /v1/chat/completions.

curl https://api.keelrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $KEELROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-3.1-flash-lite",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the sea."
    }
  ]
}'

Parameters

NameTypeNotes
modelstringRequired. gemini-3.1-flash-lite
messagesarrayRequired. OpenAI chat format
max_tokensintegerOutput cap; also sets the hold
streambooleanServer-sent events; usage is billed at the end
temperaturenumberPassed through
toolsarrayPassed through when the model supports them

FAQ

How much does the Gemini 3.1 Flash Lite API cost on KeelRouter?
From $0.30 / $1.80 per 1M tokens. You pay per call from a prepaid USD balance; failed calls are not charged.
How do I call Gemini 3.1 Flash Lite?
Send an OpenAI-compatible request to /v1/chat/completions with model "gemini-3.1-flash-lite" and your KeelRouter API key.
Is this the official Gemini 3.1 Flash Lite API?
No. KeelRouter is an independent API gateway. Requests run on Gemini 3.1 Flash Lite through our upstream providers, and the language model keeps its own safety filters.
How long are results kept?
We keep request records (tokens and cost), not your prompts or answers.

More from Google

KeelRouter is an independent service and is not affiliated with Google. Gemini 3.1 Flash Lite is a trademark of its owner, used here only to name the model a request runs on.