Docs

Quickstart

FableProMax speaks the Anthropic Messages API. Point any Anthropic SDK or tool at https://api.fablepromax.com and authenticate with a key from your dashboard.

  1. Create an account and verify your email.
  2. Load your wallet (minimum $1).
  3. Create an API key and copy it — it's shown only once.
# ~/.zshrc
export ANTHROPIC_BASE_URL="https://api.fablepromax.com"
export ANTHROPIC_AUTH_TOKEN="sk-ant-fpm-your-key"

claude   # that's it

Claude Code

Add these to your shell profile (~/.zshrc, ~/.bashrc) or set them in PowerShell, then run claude.

export ANTHROPIC_BASE_URL="https://api.fablepromax.com"
export ANTHROPIC_AUTH_TOKEN="sk-ant-fpm-your-key"

# Windows PowerShell
$env:ANTHROPIC_BASE_URL="https://api.fablepromax.com"
$env:ANTHROPIC_AUTH_TOKEN="sk-ant-fpm-your-key"

API reference

Supported endpoints:

  • POST /v1/messages — create a message (streaming and non-streaming)
  • POST /v1/messages/count_tokens — estimate tokens (free)
  • GET /v1/models — list available models

Authenticate with either x-api-key: sk-ant-fpm-… or Authorization: Bearer sk-ant-fpm-…. The anthropic-version and anthropic-beta headers are passed through.

Models

Model IDPrice per 1M tokens
claude-fable-5-1$6.66667
claude-opus-5-5$6.25
claude-sonnet-5-5$6.451613
claude-haiku-5-5$6.666667
claude-fable-5$6.060603
claude-opus-5$5.714286
claude-sonnet-5$5.882353
claude-opus-4-8$5.555556
claude-opus-4-7$5.555556
claude-opus-4-6$5.555556
claude-sonnet-4-6$5.555556
claude-opus-4-5$5.555556
claude-sonnet-4-5-20250929$5.555556
claude-haiku-4-5-20251001$5.555556
claude-opus-4-1-20250805$5.555556

Streaming

Set "stream": true. Server-sent events are passed straight through; usage is read from the message_start and message_delta events and billed when the stream ends — including if you disconnect early.

Rate limits

Each key has a requests-per-minute limit based on your account group (default 60 RPM). Exceeding it returns 429 rate_limit_error with a retry-after header.

Errors

401authentication_errorMissing or invalid key
402billing_errorInsufficient wallet balance
403permission_errorKey disabled, expired, over its spend cap, or model not allowed
404not_found_errorModel not available
429rate_limit_errorToo many requests per minute
502api_errorUpstream temporarily unreachable — retry

Billing

Each model has one price per million tokens. Input, output and cache tokens all count the same, and every request also carries a small fixed system overhead added by the upstream. Requests are metered at the upstream — the token counts in the API response are estimates, while your Usage page shows the exact billed tokens (finalised within about a minute). Requests draw from an active subscription first, then bonus credit, then your paid balance.