One key for every model

Claude API on FlyRouter

Call Claude models through FlyRouter with the Anthropic protocol or the OpenAI-compatible protocol. Billing is per token, and each model's current price is listed next to the official price.

Docs

https://api.flyrouter.ai/v1

  • Pay as you go, no monthly fee
  • Credits never expire
  • Card, Alipay or WeChat Pay
  • OpenAI, Anthropic and Gemini protocols

Claude model prices

Live prices next to official prices. Cache prices and the full list are on the pricing page.

Updated 2026-11-18 12:46 UTCBilling rules

ModelUSD / 1M tokensCache readCache writevs official24h availability
ClaudeClaude Haiku 5.575% off
ClaudeClaude Opus 5.575% off
ClaudeClaude Sonnet 5.575% off
ClaudeClaude Fable 5.275% off
ClaudeClaude Fable 5.175% off
ClaudeClaude Fable 575% off
ClaudeClaude Opus 575% off
ClaudeClaude Sonnet 575% off

Call Claude

The Anthropic SDK takes the base URL without /v1 and adds the path itself. To call Claude with the OpenAI SDK, use the base URL with /v1.

  1. 1Sign up and top up
  2. 2Create an API key
  3. 3Point your Base URL at FlyRouter
cURL
curl https://api.flyrouter.ai/v1/messages \
  -H "x-api-key: $FLYROUTER_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-sonnet-5-5",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Introduce yourself in one sentence"}]
  }'

Quickstart

Related

Billing and top-ups

  • You are billed for actual usage, priced in USD. There is no monthly fee and no minimum spend, and credits do not expire.
  • Top up with a credit or debit card, Alipay or WeChat Pay. Your balance is credited immediately.
  • Tokens served from the prompt cache are billed at the lower cache price. Requests that fail because of an upstream outage are not charged.
  • Every call's model, token usage and charge is recorded in the console's usage log, so you can check them line by line.
  • Unused balance can be refunded to the original payment method within 7 days of top-up; payment processing fees are deducted.

What to know before using a gateway

  • FlyRouter is an independent API gateway. It is not affiliated with Anthropic or any other model provider.
  • Your request content is sent to the upstream provider that supplies the model, which generates the response. This is true of any gateway, so check before handling sensitive data.
  • The gateway forwards each request to the model ID you specify and never silently swaps in a different model.
  • Prompts and completions are used only for routing, metering, billing, risk control and support. They are never used to train models.
  • Each model's real success rate and latency over the last 24 hours are public on the status page.

FAQ

Do I need an Anthropic account?
No. Sign up for FlyRouter, top up and create an API key. Usage is billed from your FlyRouter balance.
Which Claude models are available?
The price table above and the pricing page are read from the live catalog, so a new model appears there once it is listed.
How is prompt caching billed?
Cache reads and cache writes are priced separately, and tokens served from the cache are billed at the lower cache-read price. Each model's cache prices are on its model page.
Does it work with Claude Code?
Yes. Claude Code connects over the Anthropic protocol: set the base URL and the key in settings.json. The Claude Code page has the configuration.
How do I pay?
Top up in the console with a credit or debit card, Alipay or WeChat Pay. Your balance is credited immediately, and usage is deducted as you call the API.

Make every token go further

Pay only for what you use. Credits never expire and are deducted per request in real time,so your budget lasts longer.

Credits never expire·Top up anytime

One key to a faster, more reliable enterprise AI gateway