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 رمز$2.64$3.00−12%
الإدخال المخزّن مؤقتًا لكل 1M رمز$0.264$0.30−12%
الكتابة إلى ذاكرة التخزين المؤقت لكل 1M رمز$3.30$3.75−12%
الكتابة في ذاكرة التخزين المؤقت (5 دقائق) لكل 1M رمز$3.30$3.75−12%
الكتابة في ذاكرة التخزين المؤقت (ساعة واحدة) لكل 1M رمز$5.28$6.00−12%
الإخراج لكل 1M رمز$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 key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم 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؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.