Skip to content
Bu sayfa henüz dilinizde sunulmuyor; bu nedenle İngilizce görüntüleniyor.
Anthropic · Claude Haiku

claude-haiku-4-5-20251001-thinking API

Build chat and extended-reasoning workflows with Claude Haiku on APISea.

Akıl yürütmeSohbet ve metinSenkronPrompt önbelleğe alma
Model ID'si
claude-haiku-4-5-20251001-thinking

claude-haiku-4-5-20251001-thinking API fiyatlandırması

Tüm fiyatlar USD cinsindendir. APISea ücretleri, aynı birim için resmî liste fiyatıyla karşılaştırılmıştır.

Token türüAPISeaResmiTasarruf edin
Girdi 1M token başına$0.88$1.00−12%
Önbelleğe alınmış girdi 1M token başına$0.088$0.10−12%
Önbelleğe yazma 1M token başına$1.10$1.25−12%
Önbellek yazma (5 dk.) 1M token başına$1.10$1.25−12%
Önbellek yazma (1 saat) 1M token başına$1.76$2.00−12%
Çıktı 1M token başına$4.40$5.00−12%

claude-haiku-4-5-20251001-thinking nedir?

Anthropic’s claude-haiku-4-5-20251001-thinking is a Claude Haiku model for chat and reasoning workflows. Its thinking suffix positions it for extended reasoning, while its date suffix indicates a pinned snapshot suited to reproducible model selection. Developers can use it for multi-turn assistants, document analysis, and tool-assisted workflows. APISea’s native Claude Messages interface supports text and image content, SSE streaming, tool definitions, and an extended thinking configuration. The model allows up to 200,000 input tokens and 64,000 output tokens.

Access it through APISea with one API key, using the OpenAI-compatible base URL https://api.apisea.ai/v1 or the native Claude Messages endpoint. Billing is pay-as-you-go and applies only to successful requests. Input costs $0.88 per 1M tokens, output costs $4.40 per 1M tokens, and cache reads cost $0.088 per 1M tokens. Cache writes are billed separately; the default configuration is about 12% below provider list price.

claude-haiku-4-5-20251001-thinking öne çıkan özellikleri

Extended Thinking Controls

The native Claude Messages API exposes a thinking object for extended reasoning. Responses may include thinking blocks when enabled.

Large Token Limits

Supports up to 200,000 input tokens and 64,000 output tokens. Set max_tokens to control the requested generation length.

Prompt Cache Support

Supports prompt-cache reads and writes, with documented 5-minute and 1-hour cache-write pricing. Cache reads cost $0.088 per 1M tokens.

Native Claude Integration

APISea’s Claude Messages endpoint supports multi-turn conversations, text and image content, tool use, and SSE streaming. Responses pass through without a response wrapper.

claude-haiku-4-5-20251001-thinking API'sini 4 adımda çağırma

  1. 01

    API key alın

    APISea'de oturum açın, $50 tutarından başlayarak bakiye yükleyin ve konsolda bir sk-sea key oluşturun.

  2. 02

    Base URL'yi ayarlayın

    SDK'nizde veya HTTP istemcinizde base URL olarak https://api.apisea.ai/v1 kullanın.

  3. 03

    İsteği gönderin

    "model": "claude-haiku-4-5-20251001-thinking" ve aşağıdaki parametrelerle POST /v1/chat/completions adresini çağırın.

  4. 04

    Yanıtı işleyin

    Yanıtı okuyun (veya stream: true ile token'ları streaming olarak alın). Kullanım ve maliyet konsolunuzda görünür.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-haiku-4-5-20251001-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
  }'

Parametreler

ParametreTürGerekliVarsayılanAçıklama
modelstringGerekliclaude-sonnet-4-6Model name
messagesarrayGerekli—List of messages
rolestringGerekliuserRole type
contentstringGerekli—Message content
max_tokensintegerGerekli—Maximum tokens to generate (**required**, same as Anthropic official)
thinkingobjectİsteğe bağlı—Extended thinking configuration
systemstring | arrayİsteğe bağlı—System prompt
temperaturenumberİsteğe bağlı—Temperature parameter, range 0-1
top_pnumberİsteğe bağlı—Nucleus sampling parameter, range 0-1
top_kintegerİsteğe bağlı—Top-K sampling
streambooleanİsteğe bağlı—Enable streaming
stop_sequencesarrayİsteğe bağlı—Stop sequences
metadataobjectİsteğe bağlı—Metadata
toolsarrayİsteğe bağlı—Tool definitions
tool_choiceobjectİsteğe bağlı—Tool choice strategy

claude-haiku-4-5-20251001-thinking ile neler geliştirebilirsiniz?

Document analysis assistants

Build assistants that work through supplied documents and answer follow-up questions, using the input allowance and multi-turn conversation support.

Reasoning-oriented chat

Use the extended thinking configuration for tasks that benefit from working through constraints before producing an answer.

Tool-assisted workflows

Define tools through the Claude Messages interface to let an assistant request application functions during a conversation.

Repeated-context applications

Build workflows that reuse shared prompt context, with prompt caching available to reduce the cost of cache-read tokens.

Daha iyi sonuçlar için ipuçları

  • 01

    Set an output budget

    Include max_tokens in native Claude Messages requests—it is required. Choose a budget appropriate to the task rather than always requesting the 64,000-token maximum.

  • 02

    Prefer explicit thinking configuration

    For easier migration to Anthropic’s official endpoint, the docs recommend a standard model name with the thinking object over a platform-side thinking alias. Preserve thinking-block signatures unchanged when returning those blocks in multi-turn conversations.

  • 03

    Plan cache lifetimes

    Cache writes with a 5-minute TTL cost $1.10 per 1M tokens; writes with a 1-hour TTL cost $1.76 per 1M tokens. Choose based on how long you expect to reuse the context, accounting for separate cache-read charges.

  • 04

    Keep API formats separate

    Use /v1/chat/completions for OpenAI-compatible requests or /v1/messages for native Claude requests. On the native interface, place system instructions in the separate system parameter, not in messages.

Sınırlar ve bilinmesi gerekenler

  • Maximum input is 200,000 tokens, and maximum output is 64,000 tokens.

  • Native Claude Messages requests require max_tokens; the model may stop before reaching that limit.

  • Returning thinking blocks with altered signatures causes the upstream to reject the request.

claude-haiku-4-5-20251001-thinking API SSS

How much does claude-haiku-4-5-20251001-thinking cost on APISea?

Input costs $0.88 per 1M tokens, output costs $4.40 per 1M tokens, and cached input costs $0.088 per 1M tokens. Cache writes cost $1.10 per 1M tokens, including the 5-minute TTL option; the 1-hour TTL option costs $1.76 per 1M tokens. The default configuration is about 12% below provider list price, with billing only for successful requests.

How do I call this model through APISea?

Set model to claude-haiku-4-5-20251001-thinking and send an authenticated request to https://api.apisea.ai/v1/chat/completions for the OpenAI-compatible format. For native Claude Messages, use https://api.apisea.ai/v1/messages with messages and the required max_tokens parameter.

Which parameters control extended thinking and streaming?

The native Claude Messages interface accepts a thinking object for extended thinking and stream for SSE streaming. It also exposes system, temperature, top_p, top_k, tools, and tool_choice controls; the docs recommend using either temperature or top_p, not both.

What are the input and output token limits?

The model supports a maximum of 200,000 input tokens and 64,000 output tokens. On the native Claude Messages interface, max_tokens is required and sets the requested generation cap, but the model may stop earlier.

Can I use this model commercially?

Commercial use is subject to the provider’s terms. Review Anthropic’s applicable terms and APISea’s terms for your intended application.

What do the thinking and date suffixes mean?

The thinking suffix positions this variant for extended reasoning, and the date suffix indicates a pinned snapshot for reproducible model selection. The docs recommend using a standard model name plus the thinking parameter when portability to Anthropic’s official endpoint matters.

İlgili modeller

Kapsam: 250+ model · Minimum bakiye yükleme $50

claude-haiku-4-5-20251001-thinking ile geliştirmeye başlayın

Tek bir anahtar, $50 tutarından başlayan kullandıkça öde modeli; yalnızca başarılı istekler için ücretlendirilirsiniz.