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 个 token$0.44$0.50−12%
缓存输入 每 1M 个 token$0.044$0.05−12%
输出 每 1M 个 token$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 密钥

    登录 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 起,仅对成功请求计费。