New version available

Refresh to update

Could not apply changes

Gemini 3.8 Flash

vertex_ai-language-models
google/gemini-3.8-flash

Fast Google Gemini model for interactive chat, content generation, summarization, and general-purpose tasks. Routed through OpenRouter and optimized for workloads where low latency is more important than maximum reasoning depth.

Quick start

TypeScript
cURL
import OpenAI from 'openai'

const openai = new OpenAI({
  apiKey: process.env.CODEPLATFORM_API_KEY,
  baseURL: 'https://ai.codeplatform.net/v1',
})

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

API details

Send requests to the OpenAI-compatible /v1/chat/completions endpoint.

Capabilities

Pricing

Input tokens (per 1M)$0.75
Output tokens (per 1M)$3.75
Cached input (per 1M)$0.075

Limits

Context length1,048,576 tokens
Max output65,536 tokens