gemini-3-flash API

At provider list price streamingvisionfunction-calling

Gemini 3 Flash is Google's fast, budget-priced frontier model with a 1M-token context window. Call it on CaMeL Hub with any OpenAI SDK — base_url https://api.camel-hub.com/v1, model gemini-3-flash — at $0.50 per 1M input tokens and $3.00 per 1M output tokens.

Pricing

per 1M input tokensper 1M output tokens
CaMeL Hub$0.5$3.00
Provider list price$0.5$3.00

Prices are the public default-group rate in USD per 1M tokens; input and output are billed separately. · Provider list price · verified 2026-07-11

Specifications

Provider
Google
Context window
1048576 tokens
Max output
65536 tokens
Capabilities
streaming, vision, function-calling
Endpoints
gemini, openai
Gemini 3 Flash is the speed-and-cost tier of Google's Gemini 3 generation, positioned by Google as delivering frontier-class performance rivaling much larger models at a fraction of the cost. It pairs a 1,048,576-token input context with up to 65,536 output tokens, which puts it in a small club of models that can ingest entire codebases, book-length documents, or hours of meeting transcripts in a single request while still being priced for high-volume production traffic. The pricing shape matters as much as the headline numbers: input tokens cost $0.50 per million while output costs $3.00 per million, a 6x spread. That asymmetry makes Gemini 3 Flash especially economical for prompt-heavy workloads — RAG pipelines that stuff large retrieved contexts, document analysis where you feed hundreds of pages and get back a short structured answer, or classification jobs where output is a few tokens. Workloads that generate long-form output pay proportionally more, so it is worth estimating your input:output ratio before comparing it against alternatives. On CaMeL Hub, Gemini 3 Flash is exposed through two endpoint styles: the OpenAI-compatible /v1/chat/completions route (works with the official OpenAI SDKs in Python, Node.js, and any tool that lets you override base_url) and a Gemini-native route for clients built against Google's request format. Streaming responses, image/vision input, and function calling are all supported, so it drops into existing agent frameworks and chat UIs without code changes beyond the base URL and API key.

What it is good for

Quickstart

OpenAI-compatible: set base_url to https://api.camel-hub.com/v1 and use your CaMeL Hub API key. No SDK changes needed.

cURL

curl https://api.camel-hub.com/v1/chat/completions \
  -H "Authorization: Bearer $CAMEL_HUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python

from openai import OpenAI

client = OpenAI(
    api_key="$CAMEL_HUB_KEY",
    base_url="https://api.camel-hub.com/v1",  # <-- the only change vs. the OpenAI default
)

resp = client.chat.completions.create(
    model="gemini-3-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.CAMEL_HUB_KEY,
  baseURL: "https://api.camel-hub.com/v1", // <-- the only change vs. the OpenAI default
});

const resp = await client.chat.completions.create({
  model: "gemini-3-flash",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);

Get an API key Browse integration guides

Frequently asked questions

How is Gemini 3 Flash billed on CaMeL Hub?

Input and output tokens are billed separately: $0.50 per 1M input tokens and $3.00 per 1M output tokens on the default group. Usage is metered per request and deducted from your prepaid balance — there is no seat fee or minimum commitment, and every call is itemized in your usage log.

What context window and output limit does Gemini 3 Flash support?

Google documents an input token limit of 1,048,576 tokens (about 1M) and an output limit of 65,536 tokens for Gemini 3 Flash. In practice that is enough for several hundred pages of input text in a single request.

Does Gemini 3 Flash support streaming, vision, and function calling?

Yes to all three via CaMeL Hub: set stream: true for token-by-token streaming, pass images as image_url content parts for vision input, and define tools/functions in the standard OpenAI format for function calling. These work on both the OpenAI-compatible and Gemini-native endpoints.

How do I start calling gemini-3-flash?

Create an account at https://api.camel-hub.com/console, generate an API key, then point any OpenAI SDK at base_url https://api.camel-hub.com/v1 with model "gemini-3-flash". No Google Cloud project or separate Gemini API key is required — one CaMeL Hub key covers this and every other model on the platform.

Should I use the OpenAI-compatible endpoint or the Gemini-native endpoint?

Use the OpenAI-compatible endpoint if your code already uses OpenAI SDKs or tools like LangChain — only the base_url changes. Use the Gemini-native endpoint if your client was written against Google's own request format and you want to keep request bodies unchanged. Pricing is identical on both.

More from Google

Compare with other models