GoogleSees images

Gemini 3.8 Flash

google/gemini-3.8-flash

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

Context
1M tokens
Input, 1M tokens
$0.86
Output, 1M tokens
$4.31
Benchmark
—

Uptime and speed

Loading…

Pricing

Charged from your prepaid balance for the tokens actually used.

Input tokens$0.86 per 1M tokens
Output tokens$4.31 per 1M tokens
Cache read$0.09 per 1M tokens
Cache write$0.05 per 1M tokens
Image input$0 per image

Apps and activity

Loading…

Technical details

Model IDgoogle/gemini-3.8-flash
Context window1M tokens
AcceptsText, Images, Video, Files, Audio
ProducesText
TokenizerGemini
Max output tokens65,536

How to connect

The API is OpenAI-compatible: the official SDKs, LangChain and any client with a "base URL" field work.

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'google/gemini-3.8-flash',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Start using Gemini 3.8 Flash

Create a free account, get a key in your dashboard and send your first request. Top up your balance when you need it.