SwiftRelay

← All sprint notes

What $0.9792 Buys: Claude Sonnet 5.5 via SwiftRelay API Relay

Protocol pit stopEN

Your $0.22 sign-up gift credit, ready on the runway

SwiftRelay is a pay-per-token API relay built for one clean first run: connected in minutes, copy three lines and run. There is no monthly fee and nothing to subscribe to. You top up a balance, and every call deducts only what it actually used, so you never pay for capacity you did not touch.

Your sign-up gift credit is $0.22, and it is there on day one. That credit is spendable against the same per-token prices shown on the SwiftRelay pricing page, which means your first calls start with real runway instead of a trial that asks for more before it moves.

Here is the day-one arithmetic, as an example: top up $1.39 and your balance becomes $1.61 once the $0.22 gift credit is counted in. The $1.39 top-up is the smallest amount on the SwiftRelay menu, so a first run can be as light as that while still letting you watch tokens and cost per call appear in your usage history.

That is what good value looks like in practice. Because billing is per token, a short call costs a short amount, and a long call costs more without charging you for anything idle. If you are used to keeping your own subscription or official account open for the same work, the comparison is simple: SwiftRelay charges for the traffic you actually generate.

Pre-flight checklist: top up, copy three lines, run

Before you launch, walk this list once. It is short by design.

  • Sign in to the SwiftRelay dashboard and create your account. The dashboard is also where support lives, through Messages once you are logged in.
  • Top up a balance. The available top-up amounts are $1.39, $6.94, $13.89, $27.78, $69.44 and $138.89.
  • Copy your swft_ key from the dashboard. It is the credential that unlocks the relay.
  • Paste your three configuration lines into your terminal.
  • Run one small test call, then open usage to check the tokens and the cost per call.
  • Keep your key list tidy: SwiftRelay allows up to 20 live API keys per account, so separate projects, clients and environments can each have their own.

For Claude models, the official Claude Code client is the route. Paste these three lines exactly as they appear:

01  export ANTHROPIC_BASE_URL=https://api.fastapirelay.com
02  export ANTHROPIC_AUTH_TOKEN=<your swft_ key>

claude

That is the whole setup. The base URL points at the SwiftRelay API host, the auth token carries your swft_ key, and the third line starts the client. One clean first run, no extra ceremony.

Matching each model to the client that speaks its language

Models and clients are not interchangeable on SwiftRelay, and the pre-flight step that saves you a wasted lap is matching them correctly.

  • Claude models, including Claude Sonnet 5.5, answer only through the official Claude Code or Claude Desktop client, version 2.1.285 or later. If your desktop build is older, update it before you copy any lines.
  • Gemini models use their native protocol through Gemini CLI, and nothing else. For that route, set the base URL and key like this:
01  export GOOGLE_GEMINI_BASE_URL=https://api.fastapirelay.com
02  export GEMINI_API_KEY=<your swft_ key>

gemini

  • GPT, DeepSeek and the other remaining models use the OpenAI-compatible endpoint. The base URL is https://api.fastapirelay.com/v1, and your swft_ key goes in as the API key. The same pattern works for any client that speaks the OpenAI-compatible format.

One more checklist rule: never point an OpenAI-compatible client at a Claude or Gemini model. The pairing above is the pairing that works, and keeping it clean is what makes the first run smooth.

What the day-one balance actually buys

Here is the SwiftRelay price list per 1M tokens as shown on the pricing page, so you can see what your credit is buying before you spend it.

  • Claude Fable 5.1 (claude-fable-5-1): input $3.44, output $17.18, cache read $0.2222.
  • Claude Haiku 4.5 (claude-haiku-4-5-20251001): input $0.3542, output $1.69, cache read $0.0278.
  • Claude Opus 5.5 (claude-opus-5-5): input $1.53, output $7.27, cache read $0.0694.
  • Claude Sonnet 5 (claude-sonnet-5): input $1.01, output $5.06, cache read $0.0889.
  • Claude Sonnet 5.5 (claude-sonnet-5-5): input $0.9792, output $4.89, cache read $0.0861.
  • DeepSeek V4 Flash (deepseek-v4-flash): input $0.2639, output $1.06, cache read $0.006944.
  • Gemini 3.1 Pro (gemini-3.1-pro): input $1.35, output $7.81, cache read $0.1347.
  • GPT-6.1 Sol (gpt-6.1-sol): input $0.1736, output $0.8542, cache read $0.0347.

Now a worked example, labelled as an example. Say you send one call to Claude Sonnet 5.5 with 1,000 input tokens and 500 output tokens. The input part is 1,000 tokens at $0.9792 per 1M tokens, which comes to $0.0009792. The output part is 500 tokens at $4.89 per 1M tokens, which comes to $0.002445. The call costs $0.0034242 in total, and your usage view shows the tokens and the cost per call.

Second example, also an example: one call to GPT-6.1 Sol with 1,000 input tokens and 500 output tokens costs $0.0001736 in input and $0.0004271 in output, for $0.0006007 in total. These are the numbers that make SwiftRelay good value, because you can read the cost of a single call before you commit to a long run.

Cache reads are priced too, and they are priced low on several models. DeepSeek V4 Flash lists cache read at $0.006944 per 1M tokens, Claude Haiku 4.5 at $0.0278, and GPT-6.1 Sol at $0.0347. A workflow that leans on cached context can therefore stretch the day-one balance further than one that pays full input rates every time.

Top-ups, referral rewards and the safety net around your balance

Top-ups are one-off, not a plan. Choose $1.39, $6.94, $13.89, $27.78, $69.44 or $138.89, and each call keeps deducting only what it used. There is no monthly fee and nothing to subscribe to, so a quiet month costs you only what you actually ran.

The referral program adds a second engine. You earn 14% of each top-up made by someone you invited, and 3% from the people they invite. Rewards can be moved straight into your balance, or withdrawn once you reach the $4.86 minimum.

There is also a clear refund rule. If you top up and change your mind, unused credit can be refunded within 11 days of the top-up, minus what was used and the payment fee. That is the safety net: money you have not spent is still recoverable inside the stated window.

And if something looks off, support is in the dashboard. Open Messages, sign in, and send the question. SwiftRelay has no support email, so the dashboard is the place to go.

Sign up for SwiftRelay, claim your $0.22 gift credit, and put your first call into the air today!

Keep reading

Back for another lap?Log in