[ Google ]

Gemini 3.1 Flash Lite Preview

Gemini 3.1 Flash Lite Preview from Google: a text model for chat and completions, with a 1,048,576-token context window and up to 65,536 output tokens. Routed to the cheapest provider. At or below list. Pay per token in USDF, with no subscription and no minimum. Streaming and the OpenAI-compatible request format are supported.

Google logoGooglegemini-3.1-flash-lite-previewAvailabletextContext window: 1,048,576 tokens

Input

$0.25

per 1M tokens

Output

$1.50

per 1M tokens

Cached input

$0.025

per 1M tokens

Context window

1,048,576

tokens

Model ID
gemini-3.1-flash-lite-preview
Modality
text
Unit
USD per 1M tokens
Endpoints
/v1/chat/completions
Max output
65,536 tokens
Saving vs list
4.76%
Cache write (5 min)
$0.0833 / 1M

Data policy

Retains dataNo training

Make your first request

Use any OpenAI-compatible SDK. Change the base URL, keep everything else. Responses include a receipt with the exact cost. No key yet? Create one.

No account: send the same request to /x402/v1/chat/completions without credentials and the gateway answers 402 with the quote. Pay per request.

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