- Home
- AI Gateway
- Gemini 3.8 Flash
Gemini 3.8 Flash
vertex_ai-language-models
google/gemini-3.8-flash
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