SwiftRelay

← All sprint notes

Why Pay-as-You-Go API Relay Fits Occasional Claude Code on SwiftRelay

Cost per lapEN

Why Occasional Coding Sessions Suit Per-Token Billing

Some coding days are marathon sessions: you open a project, ship a feature, and keep a model working beside you from the first commit to the final test. Other days are shorter. You fix one script, check an idea, review a snippet, or ask a question before heading back to your own work. SwiftRelay fits both patterns because it is a pay-as-you-go API relay with no monthly fee and nothing to subscribe to.

You top up a balance, and each call deducts only what it used. There is no fixed session charge waiting for you on the other side of the month. If you spend an hour testing a prompt and then leave the terminal, your balance reflects that activity rather than a full subscription period. For occasional coding sessions, that simple relationship between usage and cost is the point.

SwiftRelay also keeps the route practical. You connect in minutes by copying three lines and running them. That means you can move from a spare afternoon to a working API call without setting up a recurring commitment. The result is a straightforward arrangement: add credit when you want it, use the models you need, and let each request charge according to the tokens it actually consumes.

What Per-Token Pricing Means for a Light Session

SwiftRelay lists input, output, and cache-read prices per 1M tokens on its pricing page. That structure makes it easier to think about a short session in terms of actual work. A small question does not carry the same cost as a long generation, and a cache read is priced separately from fresh input.

Here are some current examples from the SwiftRelay pricing page:

  • Claude Haiku 4.5: input $0.3542, output $1.69, cache read $0.0278 per 1M tokens.
  • GPT-6.1 Sol: input $0.1736, output $0.8542, cache read $0.0347 per 1M tokens.
  • DeepSeek V4 Flash: input $0.2639, output $1.06, cache read $0.006944 per 1M tokens.
  • Claude Sonnet 5.5: input $0.9792, output $4.89, cache read $0.0861 per 1M tokens.

To make the idea concrete, here is an example using Claude Haiku 4.5 prices. Say one short coding session uses 10,000 input tokens, 2,000 output tokens, and 50,000 cache-read tokens. The input cost is $0.003542, the output cost is $0.00338, and the cache-read cost is $0.00139. The total for that example session is $0.008312.

That is an example, not a quotation for a particular task. Your own total depends on the model, the tokens, and what the request does. Still, it shows the shape of the billing clearly: SwiftRelay charges for the work performed, so an occasional session can remain a small line item rather than becoming a standing expense.

Three Lines From Zero to a Working Request

SwiftRelay is built for a quick start. Copy the three configuration lines for your client, add your swft_ key, and run the command. The API host is https://api.fastapirelay.com. Claude models answer through the official Claude Code or Claude Desktop client, version 2.1.285 or later.

For the official Claude Code client, the three lines are:

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

claude

That is the whole setup sequence: one environment variable for the host, one for the key, and one command to launch. There is no monthly fee to activate and no subscription to maintain. Once the balance is ready, you can start making calls and watch the usage list show the tokens and cost per call.

For OpenAI-compatible clients, the base URL is https://api.fastapirelay.com/v1, with your swft_ key entered as the API key. That route works with GPT, DeepSeek, and the other remaining models. The important pairing rule is simple: Claude models stay with the official Claude client, while Gemini models use their native protocol through Gemini CLI.

For a coder who only works on the project one evening a week, this short setup is a meaningful advantage. You are not committing to a monthly rhythm you do not maintain. You are opening a stopwatch, connecting the relay, running the request, and getting back to the code.

Balances, Top-Ups, and Referral Rewards That Stay Flexible

SwiftRelay offers several top-up amounts: $1.39, $6.94, $13.89, $27.78, $69.44, and $138.89. You can begin with a small balance for a quick session or choose a larger top-up if you expect a heavier week. Either way, the model is the same: top up a balance, and each call deducts only what it used.

New sign-ups receive $0.22 in gift credit, giving you a small head start before your first paid call. The referral programme adds another layer: you receive 14% of each top-up made by someone you invited, and 3% from the people they invite in turn. Rewards can be withdrawn once you reach the $4.86 minimum, or they can be moved into your balance for future coding sessions.

Flexibility also extends to refunds. Unused credit can be refunded within 11 days of a top-up, minus what was used and the payment fee. That policy gives you room to try SwiftRelay on a real task without treating the balance as a permanent commitment.

Your account can hold up to 20 live API keys. That is useful for a personal workflow with several projects or environments, while keeping key management within a defined limit. You can create the keys you need, connect them to your chosen client, and keep each project pointed at the SwiftRelay API host.

Usage Visibility and Dashboard Support for the Road Between Sessions

Good value is easier to judge when you can see what happened. SwiftRelay usage lists the tokens and the cost per call, so an occasional session can be reviewed after the terminal closes. You can check which request produced which cost instead of guessing why a balance moved.

Support is available through Messages in the dashboard, with login required. There is no support email to hunt for. If something needs attention, you sign in, open Messages, and keep the conversation in the same place as your balance, keys, and usage history.

This combination of per-token billing, quick connection, and visible usage is particularly well suited to intermittent work. A short debugging session, a one-off review, or an experimental prompt can all be handled without turning into a recurring charge. SwiftRelay gives you a clean first run, a clear lap-by-lap cost record, and the freedom to top up again when you return to the project.

Copy the three lines, top up your balance, and take SwiftRelay for a first spin on your next coding session.

Keep reading

Back for another lap?Log in