← Fable Drop

An LLM gateway for Solana AI agents

A crypto AI gateway for Solana agents: pay in SOL from the agent's own wallet and call an Anthropic-compatible API. Works with any framework that can set an Anthropic base URL.

Who it is for

Agents built with frameworks such as ElizaOS or Solana Agent Kit already hold SOL and can sign transfers. This gateway lets them spend that SOL on model access directly. 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.

Wiring it in

The gateway speaks the Anthropic Messages API, so it fits anywhere your framework accepts an Anthropic API key together with a custom base URL. Check your framework's model-provider settings for the base URL option.

ANTHROPIC_BASE_URL=https://fable-drop-nine.vercel.app
ANTHROPIC_API_KEY=<api_key>
# model: fable-5.2-high

Paying from the agent's wallet

Use your framework's SOL transfer action to send the quoted amount, then report the transaction signature.

curl -s -X POST https://fable-drop-nine.vercel.app/v1/quote \
  -H "content-type: application/json" \
  -d '{"amount_sol": 0.1}'

# transfer pay_exact_sol to 5pgexah9QViNLz2EocuUVC3vKecDtLtUUYBboZLFSmJp

curl -s -X POST https://fable-drop-nine.vercel.app/v1/claims \
  -H "authorization: Bearer <claim_token>" \
  -H "content-type: application/json" \
  -d '{"claim_id":"<claim_id>","signature":"<tx signature>"}'

Import the API as a tool

The OpenAPI description at https://fable-drop-nine.vercel.app/openapi.json covers quotes, claims, balance and messages, so an agent can call the payment flow as tools.

Pay to 5pgexa… and get 20x credit