Gemini 3.8 Flash

by Google
google/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.
MeterPer 1M tokens
InputPrice: $1.65
OutputPrice: $8.25
Cache readPrice: $0.165
Cache writePrice: $1.65

Every response carries its own cost. Balance and per-call records: /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

Questions