← Fable Drop

An Anthropic-compatible API, paid in crypto

An Anthropic Messages compatible endpoint paid in SOL. Change the base URL in the Anthropic SDK and keep your code. 20x credit on every payment.

One base URL change

The gateway serves the Anthropic Messages API at /v1/messages, including streaming. Any client that lets you set the base URL works. The model name is fable-5.2-high. Each payment gets 20x its dollar value as API credit for fable-5.2-high, charged at $8 per million input tokens and $40 per million output tokens. The minimum is 0.01 SOL.

Environment variables

Clients that read the standard Anthropic variables need nothing else.

export ANTHROPIC_BASE_URL=https://fable-drop-nine.vercel.app
export ANTHROPIC_API_KEY=<api_key>

Python SDK

Pass the base URL to the client.

from anthropic import Anthropic

client = Anthropic(base_url="https://fable-drop-nine.vercel.app", api_key="<api_key>")
msg = client.messages.create(
    model="fable-5.2-high", max_tokens=256,
    messages=[{"role": "user", "content": "hello"}],
)

TypeScript SDK

Same idea with baseURL.

import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({ baseURL: "https://fable-drop-nine.vercel.app", apiKey: "<api_key>" });
const msg = await client.messages.create({
  model: "fable-5.2-high", max_tokens: 256,
  messages: [{ role: "user", content: "hello" }],
});

Check your balance

Remaining credit is one call away.

curl -s https://fable-drop-nine.vercel.app/v1/balance -H "x-api-key: <api_key>"

Getting a key

Keys are bought with SOL. The full flow is four HTTP calls, described at https://fable-drop-nine.vercel.app/llms.txt.

Pay to 5pgexa… and get 20x credit