Home / Claude Fable 5

How do you call the Claude Fable 5 API?

How do you call the Claude Fable 5 API?

If you already use the official OpenAI SDK, swap base_url and api_key — every other line stays as it is.

  1. Confirm the model identifier:Use claude-fable-5 in the request configuration and first verify in a test environment that the model returns the expected response.
  2. Query the pricing API:Request https://api.openlux.ai/api/pricing and save the query time and raw response for subsequent pricing verification.
  3. Confirm the account group:Confirm the group associated with the current account and its multiplier. The actual cost is calculated by multiplying the claude-fable-5 baseline price by that multiplier.
  4. Estimate input, output, and cache costs:Record token usage for input, output, and cache hits separately. The corresponding baseline prices for this model are $10, $50, and $1 / 100 ten-thousand tokens.
  5. Complete end-to-end verification:Before going live, independently verify API parameters, response formats, error handling, latency, and rate-limiting behavior, and retain reproducible test records.

Complete code example

import json
from urllib.request import urlopen

url = "https://api.openlux.ai/api/pricing"
with urlopen(url, timeout=20) as response:
    pricing = json.load(response)

print(json.dumps(pricing, ensure_ascii=False, indent=2))

# 在输出中检索模型标识:claude-fable-5
# 调用接口的请求地址、鉴权方式和参数格式请以实际接入文档为准。

OpenLux Claude Fable 5 API relay

More on this site

Get started

Query the pricing API and confirm the account group first, then verify the Claude Fable 5 request path

Get started for free

Official site: https://api.openlux.ai

Last updated 2026-08-05 | Written and maintained by OpenLux.
Latency and pricing figures come from our own measurements. Where they differ from the vendor's site, the vendor's live page wins.