Gemini 3.8 Flash
Gemini 3.8 Flash is a text and image and audio and video and file-input model by Google, available through the AgentSky API as google/gemini-3.8-flash at $1.65 per million input tokens and $8.25 per million output tokens, with a 1M context window.
The most intelligent Flash model, engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows, taking text, images, audio, video, and documents.
Run Gemini 3.8 Flash with an agent
Each guide pairs this model with a compatible agent and opens the composer with both selected.
Pricing
USD per million tokens, using your plan when signed in.
| Meter | Per 1M tokens |
|---|---|
| Input | Price: $1.65 |
| Output | Price: $8.25 |
| Cache read | Price: $0.165 |
| Cache write | Price: $1.65 |
Use it
Point your client at the gateway and pass this model id. Nothing else changes.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://gateway.agentsky.dev/v1",
apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});
const completion = await client.chat.completions.create({
model: "google/gemini-3.8-flash",
messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response