Back to models
vertex_ai

Gemini 3.1 Flash Lite

gemini-3.1-flash-lite
vertex_ai1.0M context$0.25 / 1M tokens (input)$1.50 / 1M tokens (output)

Gemini 3.1 Flash Lite supports Text, Image input and Text output through OpenAI.

Total Context1.0M
Input Price$0.25
Output Price$1.50

Providers for Gemini 3.1 Flash Lite

AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

vertex_ai
Total Context1.0M
Input Price$0.25
Output Price$1.50

Sample code and API for Gemini 3.1 Flash Lite

AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.

Create API key

Choose an operation and language that match this model.

ResponsesOpenAI compatible

Call the standard operation supported by this model.

/v1/responses
curl 'https://api.anyint.ai/v1/responses' \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
  "model": "gemini-3.1-flash-lite",
  "input": "Describe a calm futuristic city at sunrise."
}'