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

claude-sonnet-4-5-20250929-thinking API

Run Claude Sonnet chat and extended reasoning on APISea with prompt caching and pay-as-you-go billing.

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

תמחור API של claude-sonnet-4-5-20250929-thinking

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

סוג tokenAPISeaרשמיחיסכון
קלט לכל 1M tokens$2.64$3.00−12%
קלט שמור במטמון לכל 1M tokens$0.264$0.30−12%
כתיבה למטמון לכל 1M tokens$3.30$3.75−12%
כתיבה למטמון (5 דקות) לכל 1M tokens$3.30$3.75−12%
כתיבה למטמון (שעה) לכל 1M tokens$5.28$6.00−12%
פלט לכל 1M tokens$13.20$15.00−12%

מהו claude-sonnet-4-5-20250929-thinking?

Anthropic’s claude-sonnet-4-5-20250929-thinking is a Claude Sonnet chat and reasoning model, positioned for tasks that benefit from extended thinking. It is suited to document analysis, multi-turn assistants, and tool-assisted workflows. The dated name is positioned as a pinned snapshot for reproducibility. APISea’s Claude Messages interface supports text and image content, streaming SSE, tool definitions, and an extended thinking configuration, with a separate system prompt for application instructions.

The model accepts up to 200,000 input tokens and generates up to 64,000 output tokens. Prompt-cache reads and writes are supported. APISea charges $2.64 per 1M tokens for input and $13.20 per 1M tokens for output, with separate cache rates. Default configuration pricing is about 12% below provider list price. Access uses one APISea key, with pay-as-you-go billing only for successful requests.

המאפיינים הבולטים של claude-sonnet-4-5-20250929-thinking

Extended Thinking Controls

The Claude Messages API accepts a thinking configuration for extended reasoning. Responses may include thinking blocks when enabled.

Large Token Limits

Supply up to 200,000 input tokens and generate up to 64,000 output tokens. Set max_tokens to bound generation.

Prompt Cache Support

The model supports prompt-cache reads and writes, including documented 5-minute and 1-hour cache-write pricing.

Streaming And Tools

Build multi-turn workflows with tool definitions and tool-choice controls through the Claude Messages API. Enable stream for Server-Sent Events output.

איך לקרוא ל-API של claude-sonnet-4-5-20250929-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-sonnet-4-5-20250929-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-sonnet-4-5-20250929-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-sonnet-4-5-20250929-thinking

Document analysis assistants

Provide lengthy source material and ask for summaries, comparisons, or answers tied to the supplied text.

Multi-step decision support

Use extended thinking for tasks such as evaluating constraints, comparing approaches, and explaining a proposed plan.

Tool-assisted workflows

Define application tools so an assistant can work with external functions during a multi-turn conversation.

Image-aware conversations

Use the Claude Messages interface to supply text and images for conversational analysis of visual material.

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

  • 01

    Set the output budget

    On POST /v1/messages, max_tokens is required. Choose a task-appropriate value within the 64,000-token output limit; the model may stop before reaching it.

  • 02

    Choose caching deliberately

    Cache reads cost $0.264 per 1M tokens. Cache writes with a 5-minute TTL cost $3.30 per 1M tokens, while writes with a 1-hour TTL cost $5.28 per 1M tokens; choose based on your expected reuse window.

  • 03

    Preserve thinking signatures

    If you pass thinking blocks back in a multi-turn conversation, return their signature unchanged. The upstream rejects requests with altered signatures.

  • 04

    Plan for provider migration

    The Claude Messages documentation recommends a standard model name plus the thinking parameter over platform-side -thinking aliases for easier migration to Anthropic’s official endpoint. Keep system instructions in the separate system parameter.

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

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

  • The Claude Messages API requires max_tokens and allows at most 4 stop sequences.

  • Use /v1/messages for inference; its responses are upstream passthrough, not management API wrappers.

שאלות נפוצות על API של claude-sonnet-4-5-20250929-thinking

How much does claude-sonnet-4-5-20250929-thinking cost on APISea?

Input costs $2.64 per 1M tokens, output costs $13.20 per 1M tokens, and cache reads cost $0.264 per 1M tokens. Cache writes cost $3.30 per 1M tokens for the default or 5-minute TTL rate, and $5.28 per 1M tokens for a 1-hour TTL. Default configuration pricing is about 12% below provider list price, with billing only for successful requests.

How do I call this model through APISea?

Use the OpenAI-compatible base URL https://api.apisea.ai/v1 with POST /v1/chat/completions, a Bearer token, and model set to claude-sonnet-4-5-20250929-thinking. For the native Claude Messages protocol, use POST /v1/messages with either x-api-key or Bearer authentication and include model, messages, and max_tokens.

Which reasoning and generation parameters are available?

The Claude Messages interface supports thinking, system, max_tokens, temperature, top_p, top_k, stream, stop_sequences, tools, and tool_choice. Its documented temperature range is 0–1; the documentation recommends using either temperature or top_p, not both.

What are the input and output limits?

The model supports a maximum of 200,000 input tokens and 64,000 output tokens. The Claude Messages interface supports text and image content, and max_tokens sets the generation ceiling rather than guaranteeing that length.

Can I use this model commercially?

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

How does the thinking variant differ from a standard Claude Sonnet model?

The -thinking name positions this variant for extended reasoning, while the date suffix positions it as a pinned snapshot for reproducibility. The documentation recommends using a standard model name with the thinking parameter when portability to Anthropic’s official endpoint matters; the supplied facts do not establish comparative performance.

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

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

מתחילים לבנות עם claude-sonnet-4-5-20250929-thinking

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