Skip to content
Google · Gemini

gemini-3-pro-preview-thinking API

Use Google's Gemini chat and reasoning model on Openrouter API for long-context text generation.

ReasoningChat & TextSynchronous
Model id
gemini-3-pro-preview-thinking

gemini-3-pro-preview-thinking API pricing

All prices in USD. Openrouter API rates compared with the official list price for the same unit.

Token typeOpenrouter APIOfficialSave
Input per 1M tokens$1.76$2.00−12%
Output per 1M tokens$10.56$12.00−12%

What is gemini-3-pro-preview-thinking?

Google's gemini-3-pro-preview-thinking is a Gemini chat and reasoning model, positioned by its pro and thinking naming as a higher-capability tier for extended reasoning. It is suited to applications that need to work through complex questions or synthesize substantial text inputs. The listed limits are 1,048,576 input tokens and 65,536 output tokens. As a preview model, it may change, so evaluate it against your application's requirements before relying on consistent behavior.

Call it through Openrouter API's OpenAI-compatible Chat Completions interface with a model name and conversation messages. The interface supports system, user, and assistant roles, streaming or complete responses, and controls such as temperature and max_tokens. Openrouter API charges $1.76 per 1M tokens for input and $10.56 per 1M tokens for output. The default configuration is about 12% below the developer's list price, with pay-as-you-go billing only for successful requests.

gemini-3-pro-preview-thinking highlights

Large Input Capacity

Accepts up to 1,048,576 input tokens, providing room for substantial source text and conversation history.

Generous Output Limit

Supports up to 65,536 output tokens. Use max_tokens to set a smaller generation budget when needed.

Streaming Response Control

Choose streaming responses with stream set to true, or receive a complete response with stream set to false.

Below List Pricing

Input costs $1.76 per 1M tokens and output costs $10.56 per 1M tokens. The default configuration is about 12% below the developer's list price.

How to call the gemini-3-pro-preview-thinking API in 4 steps

  1. 01

    Get an API key

    Sign in to Openrouter API, top up from $50, and create an sk-ora key in the console.

  2. 02

    Set the base URL

    Use https://openrouterapi.ru/v1 as the base URL in your SDK or HTTP client.

  3. 03

    Send the request

    Call POST /v1/chat/completions with "model": "gemini-3-pro-preview-thinking" and the parameters below.

  4. 04

    Handle the response

    Read the response (or stream tokens with stream: true). Usage and cost appear in your console.

curl https://openrouterapi.ru/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTERAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3-pro-preview-thinking",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredgpt-5Model name
messagesarrayRequired—List of conversation messages
rolestringRequireduserRole type
contentstringRequired—Message content
temperaturenumberOptional—Controls output randomness, range 0-2
max_tokensintegerOptional—Maximum number of tokens to generate
streambooleanOptional—Whether to use streaming output
top_pnumberOptional—Nucleus sampling parameter, range 0-1
frequency_penaltynumberOptional—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberOptional—Presence penalty, range -2.0 to 2.0
stopstring or arrayOptional—Stop sequences
nintegerOptional—Number of completions to generate

What you can build with gemini-3-pro-preview-thinking

Document Synthesis

Build a text-based assistant that compares supplied documents and produces summaries organized around your team's questions.

Decision Support

Use the reasoning-positioned model to examine constraints, outline alternatives, and draft trade-off analyses for human review.

Long-Running Conversations

Build chat workflows that include prior user and assistant messages, keeping relevant conversation history within the input limit.

Detailed Draft Generation

Generate structured reports or explanations from supplied text, using a system message to define the audience and requested format.

Tips for better results

  • 01

    Set an Output Budget

    Set max_tokens to match the expected answer length rather than using the full 65,536-token output allowance. Output is priced at $10.56 per 1M tokens.

  • 02

    Tune One Sampling Control

    Use temperature for randomness or top_p for nucleus sampling; the documentation recommends choosing one. Lower temperature values make output more deterministic, but do not guarantee identical results.

  • 03

    Choose Streaming Explicitly

    Set stream to true for SSE output or false for a complete response. Specifying it explicitly avoids depending on the endpoint's default.

  • 04

    Define the Task Clearly

    Use a system message to specify behavior and user messages to supply the task and source text. Include previous assistant messages when conversation context matters.

Limits and things to know

  • Maximum input is 1,048,576 tokens; maximum output is 65,536 tokens.

  • The preview designation means model behavior may change.

  • Alternate callable names are listed, but their reasoning behavior is not specified in the published documentation.

gemini-3-pro-preview-thinking API FAQ

How much does gemini-3-pro-preview-thinking cost on Openrouter API?

Openrouter API input pricing is $1.76 per 1M tokens, and output pricing is $10.56 per 1M tokens. Developer list prices are $2.00 per 1M tokens for input and $12.00 per 1M tokens for output; the default configuration is about 12% below list price. Billing is pay-as-you-go and only for successful requests.

How do I call gemini-3-pro-preview-thinking through Openrouter API?

Use the OpenAI-compatible base URL https://openrouterapi.ru/v1 and send a POST request to /chat/completions with model set to gemini-3-pro-preview-thinking and a messages array. Authenticate with your Openrouter API key as a Bearer token.

Which generation parameters can I use?

The Chat Completions interface documents temperature, max_tokens, stream, top_p, frequency_penalty, presence_penalty, stop, and n. Messages contain role and content fields, with system, user, and assistant roles supported.

What are the input and output token limits?

The maximum input is 1,048,576 tokens, and the maximum output is 65,536 tokens. You can request a smaller output budget with max_tokens.

Can I use this model commercially?

Commercial use is subject to the model developer's terms and applicable Openrouter API terms. Review those terms for your intended application before deployment.

How does it compare with gemini-3-pro-preview and gemini-3-pro-preview-nothinking?

Openrouter API lists gemini-3-pro-preview and gemini-3-pro-preview-nothinking as alternate callable names. The thinking name positions this model for extended reasoning, but the published documentation does not establish behavioral or performance differences between these names.

Related models

Depth: 250+ models · Minimum top-up $50

Start building with gemini-3-pro-preview-thinking

One key, pay as you go from $50, billed only for successful requests.