gemini-3-flash-preview-thinking API
Build reasoning-focused chat workflows with Google's Gemini Flash preview model on APISea.
gemini-3-flash-preview-thinkingHarga API gemini-3-flash-preview-thinking
Semua harga dalam USD. Kadar APISea dibandingkan dengan harga senarai rasmi bagi unit yang sama.
| Jenis token | APISea | Rasmi | Jimat |
|---|---|---|---|
| Input bagi setiap 1M token | $0.44 | $0.50 | −12% |
| Input dicache bagi setiap 1M token | $0.044 | $0.05 | −12% |
| Output bagi setiap 1M token | $2.64 | $3.00 | −12% |
Apakah itu 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.
Sorotan 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.
Cara memanggil API gemini-3-flash-preview-thinking dalam 4 langkah
- 01
Dapatkan API key
Log masuk ke APISea, tambah nilai sekurang-kurangnya $50 dan cipta kunci sk-sea dalam konsol.
- 02
Tetapkan base URL
Gunakan https://api.apisea.ai/v1 sebagai base URL dalam SDK atau klien HTTP anda.
- 03
Hantar permintaan
Panggil POST /v1/chat/completions dengan "model": "gemini-3-flash-preview-thinking" dan parameter di bawah.
- 04
Urus respons
Baca respons (atau strim token dengan stream: true). Penggunaan dan kos dipaparkan dalam konsol anda.
Contoh permintaan
Dokumentasi: General Chat API (Default Streaming)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
}'Parameter
| Parameter | Jenis | Wajib | Lalai | Penerangan |
|---|---|---|---|---|
model | string | Wajib | gpt-5 | Model name |
messages | array | Wajib | — | List of conversation messages |
role | string | Wajib | user | Role type |
content | string | Wajib | — | Message content |
temperature | number | Pilihan | — | Controls output randomness, range 0-2 |
max_tokens | integer | Pilihan | — | Maximum number of tokens to generate |
stream | boolean | Pilihan | — | Whether to use streaming output |
top_p | number | Pilihan | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | Pilihan | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | Pilihan | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | Pilihan | — | Stop sequences |
n | integer | Pilihan | — | Number of completions to generate |
Perkara yang boleh anda bina dengan 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.
Petua untuk hasil yang lebih baik
- 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.
Had dan perkara yang perlu diketahui
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.
Soalan lazim API gemini-3-flash-preview-thinking
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.
Model berkaitan
gemini-3-flash-preview
gemini-3-flash-preview-nothinking
gemini-3-pro-preview
gemini-3-pro-preview-thinking
gemini-3.1-flash-lite-preview
gemini-3.1-pro-preview
gemini-3.1-pro-preview-thinking
gemini-3.5-flash
Mula membina dengan gemini-3-flash-preview-thinking
Satu kunci, bayar mengikut penggunaan bermula daripada $50, hanya dicaj untuk permintaan yang berjaya.