Model API
Gemini 3.8 Flash API
Google's newest Flash model for fast agentic workflows, long-context multimodal reasoning, and tool use.
Model ID
gemini-3.8-flash
Provider
Capability
chat
Status
Available
Pricing and limits
tokens in
$1.50 / 1M input tokens
tokens out
$7.50 / 1M output tokens
- Context length
- 1,048,576
- Max output
- 65,536
- Release date
- 2026-09-02
Use this model
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.AIDUCT_API_KEY,
baseURL: "https://api.aiduct.ai/v1",
});
const response = await client.chat.completions.create({
model: "gemini-3.8-flash",
messages: [{ role: "user", content: "Say hello in one sentence." }],
});Supported parameters
messagestemperaturetop_pmax_tokensstreamstoptoolstool_choiceresponse_formatuserthinking
This model page is backed by the live Aiduct model catalog. Long-form generated notes are not available for this slug yet, but the model ID, provider, pricing rows, and supported parameters above are still crawlable.