Gemini 3 Flash Preview API on MaxAPI
Gemini 3 Flash Preview is a Gemini language model exposed through MaxAPI's Gemini-compatible generateContent endpoint. It is intended for chat, text generation, reasoning, and structured responses, with billing based on returned token usage.
Common use cases
- Generate and transform text through multi-turn chat prompts
- Produce structured JSON responses for application workflows
- Summarize, classify, and extract information from supplied content
- Support reasoning, coding, and high-volume language tasks according to the selected model tier
Endpoints
Text generation uses the Gemini-compatible generateContent endpoint and returns the provider-compatible response shape.
- POST /v1beta/models/gemini-3-flash-preview:generateContent
Lineage
Source family: Google Gemini language models. MaxAPI exposes the Gemini-native /v1beta/models/<id>:generateContent request and response shape with MaxAPI authentication and billing.
Available routes
This model runs on a single route: official-cheap. Call it with an API key that permits the official-cheap route (route_mode defaults to official-cheap; sending a different route_mode is rejected).
- official-cheap — lower-cost MaxAPI-configured route on the same upstream model, billed at a reduced rate.
Pricing
Pricing is per route mode. Failed requests are not charged. 1 credit = 1 USD.
- official-cheap: input $0.2059 per 1M tokens
- official-cheap: output $1.2353 per 1M tokens
- official-cheap: audio_input $0.4118 per 1M tokens
- official-cheap: cache_read $0.0206 per 1M tokens
Quick example
curl -X POST "https://api.maxapi.dev/v1beta/models/gemini-3-flash-preview:generateContent" \
-H "Authorization: Bearer $MAXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [
{ "role": "user", "parts": [ { "text": "Explain how transformers work in one paragraph." } ] }
]
}'
FAQ
How do I call Gemini 3 Flash Preview on MaxAPI?
Send a Gemini-compatible request to POST /v1beta/models/gemini-3-flash-preview:generateContent with an Authorization: Bearer header.
How do I switch between route_mode options?
Gemini 3 Flash Preview runs on a single route: official-cheap. There is nothing to switch — call it with an API key that permits the official-cheap route.
How is billing handled?
Failed requests don't charge credits. Per-image, per-call, and per-generation pricing is billed on completion; token-priced routes settle from upstream usage. 1 credit = 1 USD.
What does the language endpoint return?
The Gemini-compatible response contains candidates and usageMetadata. MaxAPI uses the reported input and output token counts for billing.
Provider source: Google Gemini model documentation
Full API reference