Try Hanzo
Google

Gemini 3.1 Pro Preview (batch)

Gemini 3.1 Pro Preview (batch), through one API key.

POST /v1/chat/completions
example
{ "model": "google/gemini-3.1-pro-preview:batch", "messages": [{ "role": "user", "content": "Who are you?" }] }
Gemini 3.1 Pro Preview (batch)

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...

1Mtext

Specifications

Context Window1M
Modalitiestext
Price…
Model IDgoogle/gemini-3.1-pro-preview:batch
TypeScript
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})

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

console.log(response.choices[0].message.content)
…

More from Google

Use Gemini 3.1 Pro Preview (batch) via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

Build what’s next.