Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
Anthropic · Claude Fable

claude-fable-5 API

Run Anthropic's claude-fable-5 on APISea for large-input chat workflows with prompt caching.

محادثةالمحادثة والنصمتزامنالتخزين المؤقت للمطالبات
معرّف النموذج
claude-fable-5

تسعير API لنموذج claude-fable-5

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$8.80$10.00−12%
الإدخال المخزّن مؤقتًا لكل 1M رمز$0.88$1.00−12%
الكتابة في ذاكرة التخزين المؤقت (5 دقائق) لكل 1M رمز$11.00$12.50−12%
الكتابة في ذاكرة التخزين المؤقت (ساعة واحدة) لكل 1M رمز$17.60$20.00−12%
الإخراج لكل 1M رمز$44.00$50.00−12%

ما هو claude-fable-5؟

claude-fable-5 is an Anthropic chat model in the Claude Fable family, available through APISea for conversational applications and workflows that need substantial input capacity. It accepts up to 1,000,000 input tokens and generates up to 128,000 output tokens. APISea's documented Claude Messages interface supports text and image content, multi-turn conversations, SSE streaming, tool use, and extended thinking controls. Developers can set system instructions, sampling parameters, stop sequences, and an explicit output budget.

Call claude-fable-5 through APISea's OpenAI-compatible chat interface or native Claude Messages protocol. APISea uses pay-as-you-go billing and charges only for successful requests. Input costs $8.80 per 1M tokens, output costs $44.00 per 1M tokens, and cached input reads cost $0.88 per 1M tokens. Cache writes have separate rates for 5-minute and 1-hour TTLs. The default configuration is about 12% below the provider list price.

أبرز مزايا claude-fable-5

Large Token Limits

The model supports a maximum of 1,000,000 input tokens and 128,000 output tokens.

Prompt Cache Support

Supports prompt-cache reads and cache writes, with separate pricing for 5-minute and 1-hour cache-write TTLs.

Two API Formats

Use APISea's OpenAI-compatible Chat Completions interface or the native Anthropic Claude Messages protocol.

Claude Request Controls

The documented Messages interface includes streaming, tools, extended thinking, system instructions, and sampling controls.

كيفية استدعاء API الخاص بـ claude-fable-5 في 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-fable-5" والمعلمات أدناه.

  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-fable-5",
    "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-fable-5

Document-Based Chat

Build conversational workflows that include extensive source material in the input, staying within the 1,000,000-token input limit.

Long-Form Drafting

Generate substantial drafts from detailed instructions and reference material, using an explicit output-token budget.

Repeated-Context Assistants

Use prompt caching for applications that repeatedly supply shared instructions or source context, accounting for both write and read costs.

Tool-Connected Conversations

Build multi-turn assistants using the documented Claude Messages tool interface, with SSE streaming for incremental responses.

نصائح للحصول على نتائج أفضل

  • 01

    Set Your Output Budget

    Provide max_tokens when using the Claude Messages endpoint; it is required. Choose a budget within the 128,000-token output maximum.

  • 02

    Plan Cache Costs

    Cached input reads cost $0.88 per 1M tokens. Cache writes cost $11.00 per 1M tokens for a 5-minute TTL or $17.60 per 1M tokens for a 1-hour TTL, so include write charges in your cost estimates.

  • 03

    Keep System Instructions Separate

    On the native Claude Messages endpoint, place instructions in the separate system parameter rather than adding a system-role message.

  • 04

    Preserve Thinking Signatures

    Use the thinking parameter rather than a platform-side thinking alias. If you return thinking blocks in a multi-turn conversation, preserve their signatures unchanged.

القيود ومعلومات مهمة

  • Maximum input is 1,000,000 tokens; maximum output is 128,000 tokens.

  • The Claude Messages endpoint requires max_tokens, and generation may stop before reaching that budget.

  • Inference responses use upstream passthrough without a {code, data} wrapper; do not mix inference and management API conventions.

الأسئلة الشائعة حول API الخاص بـ claude-fable-5

How much does claude-fable-5 cost on APISea?

Input costs $8.80 per 1M tokens and output costs $44.00 per 1M tokens. Cached input reads cost $0.88 per 1M tokens; cache writes cost $11.00 per 1M tokens for a 5-minute TTL or $17.60 per 1M tokens for a 1-hour TTL. The default configuration is about 12% below the provider list price, with billing only for successful requests.

How do I call claude-fable-5 through APISea?

Set your OpenAI-compatible base URL to https://api.apisea.ai/v1 and send requests to /chat/completions with model set to claude-fable-5, using Bearer authentication. For the native Claude protocol, use POST /v1/messages with either x-api-key or Bearer authentication.

What are claude-fable-5's token limits?

The maximum input is 1,000,000 tokens and the maximum output is 128,000 tokens. Set max_tokens to control your generation budget; this parameter is required on the Claude Messages endpoint.

Does claude-fable-5 support prompt caching?

Yes, the model supports prompt-cache reads and cache writes. APISea lists separate cache-write rates for 5-minute and 1-hour TTLs, so evaluate read savings alongside the cost of populating the cache.

Which controls are available through the Claude Messages API?

The documented interface includes system, temperature, top_p, top_k, stream, stop_sequences, tools, tool_choice, and thinking. It also supports multi-turn conversations and text and image content; use the native endpoint documentation for request formatting.

Can I use claude-fable-5 commercially?

Commercial use is subject to the provider's terms and applicable APISea terms. Review those terms for your application before deploying.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام claude-fable-5

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.