claude-opus-4-6-thinking API
Use Claude Opus extended reasoning on APISea for long-context analysis and multi-turn chat.
claude-opus-4-6-thinkingHarga API claude-opus-4-6-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 | $4.40 | $5.00 | −12% |
| Input dicache bagi setiap 1M token | $0.44 | $0.50 | −12% |
| Penulisan cache bagi setiap 1M token | $5.50 | $6.25 | −12% |
| Penulisan cache (5 min) bagi setiap 1M token | $5.50 | $6.25 | −12% |
| Penulisan cache (1 jam) bagi setiap 1M token | $8.80 | $10.00 | −12% |
| Output bagi setiap 1M token | $22.00 | $25.00 | −12% |
Apakah itu claude-opus-4-6-thinking?
Anthropic’s claude-opus-4-6-thinking is a Claude Opus chat and reasoning model available through APISea. Its Opus and thinking naming positions it as a higher-capability option suited to extended reasoning tasks, such as working through complex questions or analyzing large bodies of supplied material. It accepts up to 1,000,000 input tokens and supports up to 128,000 output tokens. APISea’s native Claude Messages interface supports text and image content, multi-turn conversations, tool use, SSE streaming, and extended thinking controls.
Call the model through APISea’s OpenAI-compatible base URL, https://api.apisea.ai/v1, or use the native Claude Messages endpoint for Anthropic-style controls. APISea provides pay-as-you-go billing only for successful requests. Input costs $4.40 per 1M tokens and output costs $22.00 per 1M tokens, with separate rates for prompt-cache reads and writes. The default configuration is about 12% below the provider list price.
Sorotan claude-opus-4-6-thinking
Large Input Capacity
Supports up to 1,000,000 input tokens for requests containing substantial reference material or conversation history.
Extended Thinking Controls
The native Claude Messages API exposes a thinking object for extended thinking configuration. Responses may include thinking blocks when enabled.
Prompt Cache Support
Supports prompt-cache reads and cache writes, with documented pricing for 5-minute and 1-hour cache-write TTLs.
Native Claude Interface
APISea’s Claude Messages interface supports text and images, tool use, multi-turn conversations, and SSE streaming. Inference responses are upstream passthrough without a response wrapper.
Cara memanggil API claude-opus-4-6-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": "claude-opus-4-6-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: Claude Messages APIcurl https://api.apisea.ai/v1/chat/completions \
-H "Authorization: Bearer $APISEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-6-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 | claude-sonnet-4-6 | Model name |
messages | array | Wajib | — | List of messages |
role | string | Wajib | user | Role type |
content | string | Wajib | — | Message content |
max_tokens | integer | Wajib | — | Maximum tokens to generate (**required**, same as Anthropic official) |
thinking | object | Pilihan | — | Extended thinking configuration |
system | string | array | Pilihan | — | System prompt |
temperature | number | Pilihan | — | Temperature parameter, range 0-1 |
top_p | number | Pilihan | — | Nucleus sampling parameter, range 0-1 |
top_k | integer | Pilihan | — | Top-K sampling |
stream | boolean | Pilihan | — | Enable streaming |
stop_sequences | array | Pilihan | — | Stop sequences |
metadata | object | Pilihan | — | Metadata |
tools | array | Pilihan | — | Tool definitions |
tool_choice | object | Pilihan | — | Tool choice strategy |
Perkara yang boleh anda bina dengan claude-opus-4-6-thinking
Document Analysis Workflows
Build assistants that work through large sets of supplied documents and produce structured explanations or summaries within the documented token limits.
Multi-Step Problem Solving
Use the reasoning-focused model for workflows that require examining constraints and explaining a proposed solution.
Tool-Assisted Assistants
Build multi-turn assistants using the native Claude Messages API’s tool definitions and tool-choice controls.
Image-Aware Conversations
Use the native Claude Messages interface to include text and images in conversations about supplied visual material.
Petua untuk hasil yang lebih baik
- 01
Prefer Explicit Thinking Configuration
For easier migration to Anthropic’s official endpoint, the documentation recommends the standard model name,
claude-opus-4-6, plus the thinking parameter rather than a platform-side thinking alias. - 02
Set Output Limits
Include the required max_tokens parameter when using the native Claude Messages API. Set it to the output budget your task needs; the model may stop before reaching it.
- 03
Plan Cache Costs
Cache reads cost $0.44 per 1M tokens. Cache writes with a 5-minute TTL cost $5.50 per 1M tokens, while a 1-hour TTL costs $8.80 per 1M tokens.
- 04
Preserve Thinking Signatures
If you pass thinking blocks back in a multi-turn conversation, return their signature unchanged. The upstream will reject requests with altered signatures.
Had dan perkara yang perlu diketahui
Maximum input is 1,000,000 tokens and maximum output is 128,000 tokens.
Native Claude Messages requests require max_tokens, but generation may stop before that limit.
Keep inference calls under /v1/* separate from management calls under /api/*; their response formats differ.
Soalan lazim API claude-opus-4-6-thinking
How much does claude-opus-4-6-thinking cost on APISea?
Input costs $4.40 per 1M tokens and output costs $22.00 per 1M tokens. Cached input reads cost $0.44 per 1M tokens; 5-minute cache writes cost $5.50 per 1M tokens and 1-hour cache writes cost $8.80 per 1M tokens. The default configuration is about 12% below the provider list price, and APISea bills only successful requests.
How do I call claude-opus-4-6-thinking through APISea?
Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and set the model to claude-opus-4-6-thinking in a POST /v1/chat/completions request with Bearer authentication. For the native Claude protocol, use POST /v1/messages with either x-api-key or Bearer authentication.
Which parameters control extended thinking and streaming?
The native Claude Messages API exposes thinking for extended thinking configuration and stream for SSE output. It also supports system, tools, tool_choice, and the required max_tokens parameter.
What are the input and output token limits?
The model supports a maximum input of 1,000,000 tokens and a maximum output of 128,000 tokens. Your requested max_tokens is a generation ceiling, not a guarantee of response length.
Can I use this model commercially?
Commercial use is subject to the provider’s terms. Review Anthropic’s applicable terms and APISea’s service terms before deploying your application.
How does the thinking variant differ from the standard Claude Opus model?
The thinking suffix positions claude-opus-4-6-thinking for extended reasoning. For explicit control and easier migration, APISea’s documentation recommends using claude-opus-4-6 with the thinking parameter rather than relying on a platform-side alias.
Model berkaitan
claude-opus-4-5
claude-opus-4-5-20251101
claude-opus-4-5-20251101-thinking
claude-opus-4-6
claude-opus-4-7
claude-opus-4-8
claude-opus-5
claude-opus-5-5
Mula membina dengan claude-opus-4-6-thinking
Satu kunci, bayar mengikut penggunaan bermula daripada $50, hanya dicaj untuk permintaan yang berjaya.