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.

推理聊天與文字同步提示詞快取
模型 ID
gemini-3-flash-preview-thinking

gemini-3-flash-preview-thinking API 定價

所有價格皆以 USD 計價。比較 APISea 費率與相同計費單位的官方牌價。

Token 類型APISea官方節省
輸入 每 1M tokens$0.44$0.50−12%
快取輸入 每 1M tokens$0.044$0.05−12%
輸出 每 1M tokens$2.64$3.00−12%

什麼是 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 的特色

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.

4 個步驟呼叫 gemini-3-flash-preview-thinking API

  1. 01

    取得 API key

    登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。

  2. 02

    設定 base URL

    在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。

  3. 03

    傳送請求

    呼叫 POST /v1/chat/completions,並使用下方的參數及 "model": "gemini-3-flash-preview-thinking"。

  4. 04

    處理回應

    讀取回應(或使用 stream: true 串流接收 token)。使用量和費用會顯示在控制台中。

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
  }'

參數

參數類型必填預設說明
modelstring必填gpt-5Model name
messagesarray必填—List of conversation messages
rolestring必填userRole type
contentstring必填—Message content
temperaturenumber選填—Controls output randomness, range 0-2
max_tokensinteger選填—Maximum number of tokens to generate
streamboolean選填—Whether to use streaming output
top_pnumber選填—Nucleus sampling parameter, range 0-1
frequency_penaltynumber選填—Frequency penalty, range -2.0 to 2.0
presence_penaltynumber選填—Presence penalty, range -2.0 to 2.0
stopstring or array選填—Stop sequences
ninteger選填—Number of completions to generate

使用 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.

提升結果品質的技巧

  • 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.

限制與須知

  • 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 常見問題

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.

相關模型

涵蓋:250+ 個模型 · 最低儲值 $50

開始使用 gemini-3-flash-preview-thinking 開發

一把金鑰,$50 起按量付費,僅對成功的請求收費。