OpenAI-compatible — keep the SDK you already use
https://api.orcarouter.ai/v1https://api.orcarouter.aifrom openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key="$ORCAROUTER_API_KEY",
)
response = client.chat.completions.create(
model="google/gemini-3.1-flash-lite",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)| Input / 1M tokens | $0.250 |
| Output / 1M tokens | $1.50 |
| Cache read / 1M | $0.025 |
| Currency | USD |
Estimate based on list price
Estimate only — actual token counts depend on the provider's tokenizer.
GET /api/public/models/google/gemini-3.1-flash-liteOpen @misc{orcarouter_gemini_3_1_flash_lite,
title = {google/gemini-3.1-flash-lite API},
author = {google},
year = {n.d.},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/google/gemini-3.1-flash-lite}
}google. (n.d.). google/gemini-3.1-flash-lite API. OrcaRouter. https://www.orcarouter.ai/models/google/gemini-3.1-flash-lite