Mid · 1M context

Gemini 3.1 Flash-Lite

Gemini 3.1 Flash-Lite. Compare provider offers, token prices, and published task evidence below.

← All models

Choose a provider

1 connected provider · 2 coming soon

Choose one API ID. Code examples, Playground and Routes use your selection.

Provider and API ID

Google Vertex AI

Connected

Coming soon

Reference offers only. These providers cannot be called through our API yet.

OpenRouter

Coming soon

google/gemini-3.1-flash-lite

$0.25 in · $1.50 outReference · OpenRouter ·
View details →

TrustedRouter

Coming soon

google/gemini-3.1-flash-lite

$0.26 in · $1.58 outReference · TrustedRouter ·
View details →
Model ID
gemini-3.1-flash-lite
Live· Last check:

About this model

Gemini 3.1 Flash-Lite. Compare provider offers, token prices, and published task evidence below.

Input price
$0.25/ 1M tokens
Neurometric
Output price
$1.50/ 1M tokens
Neurometric
Context window
1Mtokens
1,048,576 max input
Architecture
Mid
Mid tier

Quick Start & OpenAI-compatible SDK usage

Call this model directly with any OpenAI-compatible SDK. Set base_url to the URL below and pass your API key. Sign up for an API key →

# pip install openai
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.taskrouter.com/v1",
    api_key=os.environ["TASKROUTER_API_KEY"],
)

reply = client.chat.completions.create(
    model="gemini-3.1-flash-lite",
    messages=[{"role": "user", "content": "Hello! How can you help me today?"}],
)
print(reply.choices[0].message.content)
Base URL: https://api.taskrouter.com/v1Header: Authorization: Bearer $TASKROUTER_API_KEY

Published task evidence

Each task has a minimum pass rate. A model passes the task when its pass rate reaches that minimum.

The Playground and task routes choose from all models that pass the task, so they may not use this model.