google/gemini-3.1-flash-liteClosed APILow-latency Gemini model for high-volume multimodal and agent workloads
TECHNICAL SPECIFICATIONS
MODEL CONTEXT PROTOCOL (MCP) READINESS
✓ Gemini 3.1 Flash Lite natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.
MCP Context Window Recommendations
With a context capacity of 1,048,576 tokens, this model can handle extremely large MCP resource manifests, complete database schemas, and multiple active server tool definitions simultaneously without degradation.
API CALL INVOCATION EXAMPLE
// Example: Calling Gemini 3.1 Flash Lite via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.GOOGLE_API_KEY,
});
const response = await client.chat.completions.create({
model: "google/gemini-3.1-flash-lite",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
This model supports prompt caching at $0.03 / 1M tokens, saving up to 90% on repetitive MCP tool definitions and system instructions.
MODEL RESOURCES
More Models by Google
Alternative and family models from the same lab
Fast Gemini model balancing multimodal reasoning, tool use, and cost
Fast Gemini workhorse for multimodal apps where latency and price matter
Video generation and editing model for scene extension, frame interpolation, and reference-guided multimodal control