Gemini 3.1 Flash-Lite
Availablegemini-3.1-flash-liteGoogle AI StudiotextCheapest 1M-context tier. Great for high-volume agents.
Input / Output per 1M tokens
$0.25 / $1.50
Context window
1M
Provider routes
1
Capabilities
StreamingToolsVision
Providers
Choose a route to view its rates and API example.
API example
Connect with your existing OpenAI-compatible SDK.
chat.ts
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.miavo.xyz/v1',
apiKey: process.env.MACAW_API_KEY!,
});
const res = await client.chat.completions.create({
model: 'gemini-3.1-flash-lite',
messages: [
{ role: 'user', content: 'Write me a haiku about gateways.' },
],
});
console.log(res.choices[0].message.content);