Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
Anthropic · Claude Haiku

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

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

חשיבהצ'אט וטקסטסינכרונישמירת הנחיות במטמון
מזהה מודל
claude-haiku-4-5-20251001-thinking

תמחור API של claude-haiku-4-5-20251001-thinking

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

סוג tokenAPISeaרשמיחיסכון
קלט לכל 1M tokens$0.88$1.00−12%
קלט שמור במטמון לכל 1M tokens$0.088$0.10−12%
כתיבה למטמון לכל 1M tokens$1.10$1.25−12%
כתיבה למטמון (5 דקות) לכל 1M tokens$1.10$1.25−12%
כתיבה למטמון (שעה) לכל 1M tokens$1.76$2.00−12%
פלט לכל 1M tokens$4.40$5.00−12%

מהו claude-haiku-4-5-20251001-thinking?

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

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.

איך לקרוא ל-API של claude-haiku-4-5-20251001-thinking ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/chat/completions עם "model": "claude-haiku-4-5-20251001-thinking" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    יש לקרוא את התגובה (או להזרים tokens באמצעות stream: true). נתוני השימוש והעלות מופיעים במסוף.

דוגמאות לבקשות

תיעוד: Claude Messages API
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
  }'

פרמטרים

פרמטרסוגנדרשברירת מחדלתיאור
modelstringנדרשclaude-sonnet-4-6Model name
messagesarrayנדרש—List of messages
rolestringנדרשuserRole type
contentstringנדרש—Message content
max_tokensintegerנדרש—Maximum tokens to generate (**required**, same as Anthropic official)
thinkingobjectאופציונלי—Extended thinking configuration
systemstring | arrayאופציונלי—System prompt
temperaturenumberאופציונלי—Temperature parameter, range 0-1
top_pnumberאופציונלי—Nucleus sampling parameter, range 0-1
top_kintegerאופציונלי—Top-K sampling
streambooleanאופציונלי—Enable streaming
stop_sequencesarrayאופציונלי—Stop sequences
metadataobjectאופציונלי—Metadata
toolsarrayאופציונלי—Tool definitions
tool_choiceobjectאופציונלי—Tool choice strategy

מה אפשר לבנות עם claude-haiku-4-5-20251001-thinking

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.

טיפים לקבלת תוצאות טובות יותר

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

מגבלות ודברים שכדאי לדעת

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

שאלות נפוצות על API של claude-haiku-4-5-20251001-thinking

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.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם claude-haiku-4-5-20251001-thinking

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.