anthropic/claude-fable-5-1
Anthropic's Fable model released September 1, 2026, now succeeded by Claude Fable 5.2. A Mythos-class model built for autonomous coding, knowledge work, and long-horizon agents, with a 1M-token context window and native prompt caching. Cache reads are billed at 2.5% of the base input rate. New projects should start on Fable 5.2, which is faster and lower priced.
Cache read $0.0875/M · Cache write $4.375/M
Use either ID to call this model via the API.
anthropic/claude-fable-5-1You can use these names directly in the request model field.
Replace the ONEHOP_KEY placeholder with your API key. Create one →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.onehop.ai/anthropic",
api_key="<ONEHOP_KEY>",
)
message = client.messages.create(
model="anthropic/claude-fable-5-1",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)