Skip to content
Halaman ini belum tersedia dalam bahasa Anda, jadi ditampilkan dalam bahasa Inggris.
Anthropic · Claude Opus

claude-opus-4-6-thinking API

Use Claude Opus extended reasoning on APISea for long-context analysis and multi-turn chat.

PenalaranChat & TeksSinkronCaching prompt
ID model
claude-opus-4-6-thinking

Harga API claude-opus-4-6-thinking

Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.

Jenis tokenAPISeaResmiHemat
Input per 1 juta token$4.40$5.00−12%
Input dalam cache per 1 juta token$0.44$0.50−12%
Penulisan cache per 1 juta token$5.50$6.25−12%
Penulisan cache (5 menit) per 1 juta token$5.50$6.25−12%
Penulisan cache (1 jam) per 1 juta token$8.80$10.00−12%
Output per 1 juta token$22.00$25.00−12%

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

Keunggulan 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

  1. 01

    Dapatkan API key

    Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.

  2. 02

    Atur base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL di SDK atau klien HTTP Anda.

  3. 03

    Kirim permintaan

    Panggil POST /v1/chat/completions dengan "model": "claude-opus-4-6-thinking" dan parameter berikut.

  4. 04

    Tangani respons

    Baca respons (atau streaming token dengan stream: true). Penggunaan dan biaya ditampilkan di konsol Anda.

curl 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

ParameterJenisWajibDefaultDeskripsi
modelstringWajibclaude-sonnet-4-6Model name
messagesarrayWajib—List of messages
rolestringWajibuserRole type
contentstringWajib—Message content
max_tokensintegerWajib—Maximum tokens to generate (**required**, same as Anthropic official)
thinkingobjectOpsional—Extended thinking configuration
systemstring | arrayOpsional—System prompt
temperaturenumberOpsional—Temperature parameter, range 0-1
top_pnumberOpsional—Nucleus sampling parameter, range 0-1
top_kintegerOpsional—Top-K sampling
streambooleanOpsional—Enable streaming
stop_sequencesarrayOpsional—Stop sequences
metadataobjectOpsional—Metadata
toolsarrayOpsional—Tool definitions
tool_choiceobjectOpsional—Tool choice strategy

Yang bisa Anda buat 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.

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

Batasan dan hal 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.

FAQ 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 terkait

Pilihan: 250+ model · Minimum isi saldo $50

Mulai berkarya dengan claude-opus-4-6-thinking

Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.