Skip to content
Google · Gemini

gemini-3-flash-preview-thinking API

Build reasoning-focused chat workflows with Google's Gemini Flash preview model on APISea.

ReasoningChat & TextSynchronousPrompt caching
Model id
gemini-3-flash-preview-thinking

gemini-3-flash-preview-thinking API pricing

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

Token typeAPISeaOfficialSave
Input per 1M tokens$0.44$0.50−12%
Cached input per 1M tokens$0.044$0.05−12%
Output per 1M tokens$2.64$3.00−12%

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

Google's gemini-3-flash-preview-thinking is a Gemini chat and reasoning model available through APISea. Its Flash naming positions it as a lighter, faster tier, while the thinking suffix suggests extended reasoning. It is suited to workflows such as analyzing long documents, answering questions across supplied context, and developing multi-step explanations. As a preview model, it may change. Requests use conversation messages with role and content fields, and responses contain generated assistant text.

The model supports up to 1,048,576 input tokens, up to 65,536 output tokens, and prompt-cache reads. APISea provides an OpenAI-compatible Chat Completions interface with streaming and non-streaming responses and documented controls such as temperature and max_tokens. Pay-as-you-go rates are $0.44 per 1M tokens for input, $0.044 per 1M tokens for cached input, and $2.64 per 1M tokens for output. The default configuration is about 12% below provider list price, and APISea bills only successful requests.

gemini-3-flash-preview-thinking highlights

Large Input Capacity

Supply up to 1,048,576 input tokens for context-heavy chat and reasoning workflows.

Extended Output Capacity

Generate up to 65,536 output tokens. Use max_tokens to set a smaller response budget when appropriate.

Prompt Cache Reads

The model supports prompt-cache reads, priced at $0.044 per 1M tokens for cached input on APISea.

Compatible Chat Interface

Use the OpenAI-compatible Chat Completions format with role-based messages. Choose streamed SSE output or a complete response.

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

  1. 01

    Get an API key

    Sign in to APISea, top up from $50, and create an sk-sea key in the console.

  2. 02

    Set the base URL

    Use https://api.apisea.ai/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-flash-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://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3-flash-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-flash-preview-thinking

Document Question Answering

Build a chat interface that answers questions using long documents supplied in the conversation. Ask for supporting passages to make answers easier to review.

Multi-Step Analysis

Use this reasoning-focused model to work through requirements, compare alternatives, and explain conclusions from supplied information.

Conversation-Based Assistance

Build assistants that retain context by sending previous user and assistant messages alongside the next question.

Long-Form Drafting

Generate structured reports or detailed explanations from source material, with an explicit output budget and requested section outline.

Tips for better results

  • 01

    Set an Output Budget

    Choose max_tokens for the response length your application needs, rather than always requesting the maximum. Output costs $2.64 per 1M tokens.

  • 02

    Tune One Sampling Control

    Start with temperature or top_p rather than adjusting both. The chat documentation recommends lower temperature values for more deterministic output.

  • 03

    Plan for Cache Reads

    For workflows that reuse prompt material, check prompt-cache behavior in the documentation. Supported cache reads cost $0.044 per 1M tokens, compared with $0.44 per 1M tokens for input.

  • 04

    Choose Streaming Explicitly

    Set stream to true for SSE responses or false for a complete response. Explicitly setting it avoids relying on the endpoint's default.

Limits and things to know

  • Input is limited to 1,048,576 tokens per request.

  • Output is limited to 65,536 tokens per request.

  • This is a preview model and may change.

gemini-3-flash-preview-thinking API FAQ

How much does gemini-3-flash-preview-thinking cost on APISea?

Input costs $0.44 per 1M tokens, cached input costs $0.044 per 1M tokens, and output costs $2.64 per 1M tokens. The default configuration is about 12% below provider list price; APISea uses pay-as-you-go billing and charges only for successful requests.

How do I call this model through APISea?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a Chat Completions request with model set to gemini-3-flash-preview-thinking and a messages array. Authenticate with your APISea key using a Bearer token in the Authorization header.

What parameters can I use?

The general Chat API documents temperature, max_tokens, stream, top_p, frequency_penalty, presence_penalty, stop, and n. Messages contain role and content fields; check the model documentation for model-specific parameter behavior.

What are its token limits, and does it support caching?

The maximum input is 1,048,576 tokens, and the maximum output is 65,536 tokens. Prompt-cache reads are supported.

Can I use the model commercially?

Commercial use is subject to the provider's terms. Review the applicable Google and APISea terms for your intended application.

How does it compare with the other callable names?

The facts also list gemini-3-flash-preview and gemini-3-flash-preview-nothinking as callable names. By naming, thinking suggests extended reasoning and nothinking suggests a non-thinking configuration, but the supplied documentation does not establish separate performance or pricing differences.

Related models

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

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

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