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-thinkingBảng giá API claude-opus-4-6-thinking
Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.
| Loại token | APISea | Chính thức | Tiết kiệm |
|---|---|---|---|
| Đầu vào mỗi 1M token | $4.40 | $5.00 | −12% |
| Đầu vào đã lưu trong bộ nhớ đệm mỗi 1M token | $0.44 | $0.50 | −12% |
| Ghi vào bộ nhớ đệm mỗi 1M token | $5.50 | $6.25 | −12% |
| Ghi vào bộ nhớ đệm (5 phút) mỗi 1M token | $5.50 | $6.25 | −12% |
| Ghi vào bộ nhớ đệm (1 giờ) mỗi 1M token | $8.80 | $10.00 | −12% |
| Đầu ra mỗi 1M token | $22.00 | $25.00 | −12% |
claude-opus-4-6-thinking là gì?
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.
Điểm nổi bật của 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.
Cách gọi API claude-opus-4-6-thinking trong 4 bước
- 01
Tạo API key
Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.
- 02
Đặt base URL
Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.
- 03
Gửi request
Gọi POST /v1/chat/completions với "model": "claude-opus-4-6-thinking" và các tham số bên dưới.
- 04
Xử lý phản hồi
Đọc phản hồi (hoặc truyền token theo luồng bằng stream: true). Mức sử dụng và chi phí sẽ hiển thị trong bảng điều khiển.
Ví dụ request
Tài liệu: 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
}'Tham số
| Tham số | Loại | Bắt buộc | Mặc định | Mô tả |
|---|---|---|---|---|
model | string | Bắt buộc | claude-sonnet-4-6 | Model name |
messages | array | Bắt buộc | — | List of messages |
role | string | Bắt buộc | user | Role type |
content | string | Bắt buộc | — | Message content |
max_tokens | integer | Bắt buộc | — | Maximum tokens to generate (**required**, same as Anthropic official) |
thinking | object | Tùy chọn | — | Extended thinking configuration |
system | string | array | Tùy chọn | — | System prompt |
temperature | number | Tùy chọn | — | Temperature parameter, range 0-1 |
top_p | number | Tùy chọn | — | Nucleus sampling parameter, range 0-1 |
top_k | integer | Tùy chọn | — | Top-K sampling |
stream | boolean | Tùy chọn | — | Enable streaming |
stop_sequences | array | Tùy chọn | — | Stop sequences |
metadata | object | Tùy chọn | — | Metadata |
tools | array | Tùy chọn | — | Tool definitions |
tool_choice | object | Tùy chọn | — | Tool choice strategy |
Bạn có thể xây dựng gì với 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.
Mẹo để có kết quả tốt hơn
- 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.
Giới hạn và những điều cần biết
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.
Câu hỏi thường gặp về 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 liên quan
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
Bắt đầu xây dựng với claude-opus-4-6-thinking
Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.