Gemini 3.7 Flash

google/gemini-3.7-flash

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

Context
1M tokens
Input, 1M tokens
$0.9
Output, 1M tokens
$4.5
Benchmark
—

Uptime and speed

Loading…

Pricing

Charged from your prepaid balance for the tokens actually used.

Input tokens$0.9 per 1M tokens
Output tokens$4.5 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.7-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.7-flash',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Questions

How much does the Gemini 3.7 Flash API cost?

$0.9 per 1M input tokens and $4.5 per 1M output tokens, charged from a prepaid US-dollar balance for the tokens actually used. There is no subscription.

What is the context window of Gemini 3.7 Flash?

1,048,576 tokens (1M), with up to 65,536 tokens in one reply.

How do I call Gemini 3.7 Flash through the API?

Send an OpenAI-compatible request to https://getmegabrain.com/api/gateway/v1/chat/completions with "model": "google/gemini-3.7-flash" and your MegaBrain API key as a Bearer token. The official OpenAI SDKs, LangChain and any client with a base URL setting work; the same key also reaches image and video models.

What input does Gemini 3.7 Flash accept?

It accepts Text, Images, Video, Files, and Audio and produces Text.

Can I try Gemini 3.7 Flash before paying?

Sign-up is free and open to everyone. Adding a card (nothing is charged) gives $1.00 of credit to try any model; after that every model is charged from a balance you top up by card.

Start using Gemini 3.7 Flash

Create an account, top up from $10, get a key in your dashboard and send your first request.