googleVision

Google: Gemini 3.1 Pro Preview

Try in chat →

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation...

Context
1M tokens
Input / 1M tokens
$1
Output / 1M tokens
$6
Benchmark

Uptime & performance

Loading…

Pricing

Input tokens$1 per 1M tokens
Output tokens$6 per 1M tokens
Cache read$0.10 per 1M tokens
Cache write$0.19 per 1M tokens
Image$1 per image

Apps and activity

Loading…

Technical details

Model IDgoogle/gemini-3.1-pro-preview
Context window1M tokens
Input modalitiesaudio, file, image, text, video
Output modalitiestext
TokenizerGemini
Max output tokens65,536

Use with MegaBrain

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.1-pro-preview',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Google: Gemini 3.1 Pro Preview?

Try it in the browser first, then get an API key and start making requests in minutes.