Gemini 3.8 Flash
google/gemini-3.8-flashThe most intelligent Flash model, engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows, taking text, images, audio, video, and documents.
- Text, Image, Audio, Video, File
- $1.50 / $7.50
- 1M
- Sep 2, 2026
Overview
The most intelligent Flash model, engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows, taking text, images, audio, video, and documents. It is billed from the same balance as every other model and API here, and the price of each call comes back in the response.
Pricing
The default plan, in USD per million tokens.
| Meter | Per 1M tokens |
|---|---|
| Input | $1.50 |
| Output | $7.50 |
| Cache read | $0.15 |
| Cache write | $1.50 |
Your balance and per-call records come from /v1/credits and /v1/generation.
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