Tier
Context & Specs
Evaluation
Price per 1M tokens
Small (est.) · 1M context
gemini-2.5-flash-lite. Compare provider offers, token prices, and published task evidence below.
1 connected provider
Choose a provider. Code examples, Playground and Routes use its selected model.
gemini-2.5-flash-litegemini-2.5-flash-lite. Compare provider offers, token prices, and published task evidence below.
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-2.5-flash-lite",
messages=[{"role": "user", "content": "Hello! How can you help me today?"}],
)
print(reply.choices[0].message.content)https://api.taskrouter.com/v1Header: Authorization: Bearer $TASKROUTER_API_KEY