SwiftRelay

← All sprint notes

Move Claude Desktop to SwiftRelay: A Quick API Relay Guide

Agent quick startsEN

Is your current Claude setup ready for a SwiftRelay move?

Yes or no: are you using the official Claude Desktop client? If the answer is yes, you are already on the right track. SwiftRelay supports Claude models through the official Claude Code or Claude Desktop client, and Claude Desktop needs to be version 2.1.285 or later. That means you do not need to replace your favourite desktop workflow with something unfamiliar. You keep the client, check its version and prepare the SwiftRelay connection.

Next question: do you want to stop paying a fixed subscription and pay only for the tokens you actually use? SwiftRelay is a pay-per-token API relay. There is no monthly fee and nothing to subscribe to. You top up a balance, and each call deducts only what it used. For a reader who sometimes works intensely and sometimes steps away, that is a simple, flexible way to run the switchboard.

One more yes/no check: do you already know where your API key will live? When you sign up, SwiftRelay gives you a swft_ key and a balance to work with. New accounts also receive $0.22 in sign-up gift credit, so you can take the first steps without hunting for a payment method before you have seen the service in action.

Will Claude Desktop answer correctly through SwiftRelay?

Yes, if the client is official and the version is right. Claude models answer only through the official Claude Code or Claude Desktop client, version 2.1.285 or later. This is the guardrail that keeps a quick setup quick: you are not trying to force a Claude model into a client that was never built for its protocol.

Ask yourself: is your Claude Desktop version 2.1.285 or later? If not, update the client first. If it is, the SwiftRelay side of the move points to the API host https://api.fastapirelay.com with your swft_ key. That is the destination for your Claude traffic, and it is the same host used by the Claude Code connection lines below.

Another useful question: do you want to keep your existing desktop routine intact? Yes, because the switch is about the relay behind the client, not about rebuilding your day. Open your usual Claude Desktop window, keep your project files and your prompts, and let the official client do what it already does well. SwiftRelay simply sits in the middle as the pay-per-token API relay.

And if your existing setup includes Claude Code as well, you can move that side in minutes too. The connection is famously short: copy three lines and run. No monthly fee, no subscription, no long checklist.

What do the three SwiftRelay connection lines change?

Can you copy three lines and run? Yes. For Claude Code, the SwiftRelay setup is exactly this:

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

Read it like a pit-stop routine. The first line points the client at the SwiftRelay API host. The second line supplies your swft_ key. The third line launches Claude Code. That is the whole sequence, and it is the kind of setup where a first clean run can happen before your coffee cools.

Ask: does the key stay under your control? You can hold up to 20 live API keys per account, which is useful if you separate work from personal projects or rotate keys as your setup changes. Each key is issued from your SwiftRelay account, and each call is tracked against the balance you topped up.

One practical note for Claude Desktop users: the client pairing rule matters. Claude models run only in the official Claude Code or Claude Desktop client. SwiftRelay does not turn other tools into Claude clients, and it does not need to. The official client already speaks the right language; the relay simply handles the token-metered connection.

Does pay-per-token billing fit the way you actually work?

Do you want to see a price before you commit? SwiftRelay lists current prices per 1M tokens on its pricing page, and your usage view lists tokens and cost per call. That transparency is the practical alternative to keeping a fixed subscription or official account for periods when your usage is light.

Here is an example, and it is only an example. Say you make one call with 1M input tokens and 1M output tokens on Claude Sonnet 5.5. At the listed rates, that is $0.9792 for input plus $4.89 for output, or $5.8692. If the same call also read 1M cached tokens, add $0.0861, bringing the example to $5.9553. Use these figures to plan, not to predict: your own calls will depend on the tokens they actually use.

Another example: one call with 1M input tokens and 1M output tokens on Claude Haiku 4.5 comes to $0.3542 plus $1.69, or $2.0442, before any cache read. The point is not to pick a winner but to see the shape of the meter. SwiftRelay shows the cost per call, so the balance tells you where you stand without guesswork.

Ask: what if you want to add funds in smaller or larger steps? SwiftRelay sells no plans. Top-up amounts are $1.39, $6.94, $13.89, $27.78, $69.44 and $138.89. Start light, watch the usage list, and top up again when the pit stop calls for it.

And what if something goes wrong with a top-up? Unused credit can be refunded within 11 days of a top-up, minus what was used and the payment fee. That is a clear window, stated plainly.

Can you check the meter, share the rewards and reach support?

Do you want to see what each call costs? Yes. SwiftRelay usage lists tokens and cost per call, so you can open the dashboard after a session and see exactly how the balance moved. That is the feedback loop that makes a pay-per-token relay easy to trust.

Ask: do you like the idea of earning from word of mouth? SwiftRelay pays 14% of each top-up by someone you invited, and 3% from the people they invite. Rewards can be withdrawn once you reach the $4.86 minimum, or moved into your balance. If you would rather put a reward straight back to work, moving it into the balance keeps the loop tight.

Next: can you get help without digging for an address? Support runs through Messages in the dashboard, and login is required. There is no support email to search for, which means the conversation stays attached to the account that needs attention.

Finally, the fastest way to answer every remaining yes/no question is to try it. Sign up, grab your swft_ key, confirm your Claude Desktop version, point the client at the SwiftRelay API host, and make one clean first call. Stopwatch ready, key in hand, and SwiftRelay waiting at the line.

Keep reading

Back for another lap?Log in