Skip to main content
Skip to main content

Claude Fable 5.2

Claude Fable 5.2 is Anthropic’s Fable model for demanding technical work. It is suited to investigations that require the model to connect a visual symptom with source code, logs, or a design specification.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:AnthropicPrice: $5.6 / 1M input tokens
Open docs

Make your first request

Choose an API protocol and install its Python SDK. Replace YOUR_API_KEY with your MuseSpark API key, adjust the input, and run the example to send a request to this model.

Install the Python SDK

pip install openai

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.musespark.ai/proxy/openai/v1",
)

response = client.responses.create(
    model="claude-fable-5.2",
    input="Write a one-sentence release note for a new image model.",
)

print(response.output_text)

Protocol reference

Each protocol uses a different endpoint and request format. Use the matching SDK and authentication method for your chosen protocol.

OpenAI Responses API

Endpoint
POST https://api.musespark.ai/proxy/openai/v1/responses
Authentication
Authorization: Bearer <API_KEY>
Response
Use response.output_text for the generated text, or inspect response.output for structured output.