Text model API

Claude Fable 5.1 API

Claude Fable 5.1 is Anthropic’s advanced model focused on agentic coding, long-running workflows, and knowledge-intensive tasks. It improves over Claude Fable 5 particularly in large code refactoring, frontend and visual code generation, finance, and analytical workloads. It is also designed to produce more concise plans and summaries. With a 1-million-token context window and support for up to 128K output tokens, Claude Fable 5.1 can handle large codebases, lengthy documents, and extended multi-step workflows. It accepts text, images, and files such as PDFs, and supports tool calling and str

Model id
claude-fable-51
Takes
Text (required)
Makes
Text
Endpoint
POST /api/v1/chat/completions
Made by
Anthropic
Mode
Synchronous

Call Claude Fable 5.1

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model claude-fable-51

POST /api/v1/chat/completions

curl https://payload.rentprompts.com/api/v1/chat/completions \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-fable-51",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about APIs."
    }
  ],
  "max_tokens": 256
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from Claude Fable 5.1's published price (1.2 J in · 5.2 J out / 1K tokens). You pay only for successful results, from your Joule balance.
  • 1,000 input + 500 output tokens3.8 Joules
  • 10,000 input + 2,000 output tokens22.4 Joules

Send requests to POST /api/v1/chat/completions. Claude Fable 5.1 answers synchronously: the result comes back in the response to the same request. Token counts come from the model's own usage report, so a real call may use more or fewer tokens than this example.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
max_tokensinteger300001 – 128000
temperaturefloat10 – 2
reasoningselect——
Claude Fable 5.1 API — Pricing & Code Examples | RentPrompts