What changes when Roo Code meets SwiftRelay
Roo Code stays Roo Code. The coding client you already use does not need to become a different tool, and you do not need to rebuild your editing habits around a new subscription or a separate account. What changes is the route your requests take: Roo Code can point at the SwiftRelay OpenAI-compatible endpoint, using a SwiftRelay key and a base URL of https://api.fastapirelay.com/v1.
That is the useful part of the switch. Instead of adding another recurring commitment, you top up a balance and each call deducts only what it used. There is no monthly fee and nothing to subscribe to. In a quick-start sprint, SwiftRelay fits neatly into the pit-stop model: connect the endpoint, add the key, choose a supported model, and get back to the work in front of you.
There is also a small sign-up gift credit of $0.22. That is enough to confirm that the route is live before you commit a larger amount. The point is not to decorate a dashboard with free balance. It is to run one clean first lap and see the tokens and cost listed for the call.
So what actually stays the same? Roo Code remains your coding client, and SwiftRelay remains a pay-per-token API relay. The useful change is where the model requests go and how the spending is tracked. Everything else in your day can stay exactly where you put it.
Trap one: treating the base URL like a website address
The first common trap is a URL that looks almost right. The SwiftRelay API host is https://api.fastapirelay.com, but an OpenAI-compatible client such as Roo Code needs the versioned base URL: https://api.fastapirelay.com/v1.
Think of the difference as a pit-lane entrance and the route to the grandstand. Close is not the same as correct. A missing version segment can lead to failed calls, and a pasted website address can lead you down the wrong path entirely.
A clean setup pass looks like this:
- Set the OpenAI-compatible base URL to https://api.fastapirelay.com/v1.
- Use a SwiftRelay key that begins with swft_ as the API key.
- Choose a model from the SwiftRelay list that is paired with the OpenAI-compatible endpoint.
- Send a short test request, then check the usage record for tokens and cost per call.
That last step matters. A successful response is good, but the usage list gives you the receipt for the lap. SwiftRelay shows the tokens and cost per call, so you can confirm the setup and understand the spend before scaling up.
Another trap is copying configuration meant for a different client. The Roo Code path is the OpenAI-compatible one, and it has two essentials: the exact base URL and the swft_ key. Keep the configuration narrow and the first test should be much easier to diagnose.
Trap two: picking a model the endpoint cannot serve
The second trap is model selection. Roo Code uses the OpenAI-compatible endpoint, so pair it only with GPT, DeepSeek and the other remaining models served through that route. Do not assume that every model name visible elsewhere in the SwiftRelay catalogue belongs in this particular client slot.
For a focused start, the current choices on the SwiftRelay pricing page include four models worth comparing:
- DeepSeek V4 Flash, with the model id deepseek-v4-flash.
- DeepSeek V4 Pro, with the model id deepseek-v4-pro.
- GPT-6 Astra, with the model id gpt-6-astra.
- GPT-6.1 Sol, with the model id gpt-6.1-sol.
Use the model id in your Roo Code configuration rather than a friendly label you invented for it. A precise id removes one more guess from the setup. If a request fails while the endpoint and key look right, the model pairing is the next thing to check.
There is a practical way to compare the four options without guessing. Look at input, output and cache-read pricing together. Your workload may lean heavily on one direction, but coding sessions often involve both reading context and producing responses. A model that looks inexpensive on one line may not tell the whole story.
Example only: for 1M input tokens plus 1M output tokens, GPT-6.1 Sol costs $0.1736 plus $0.8542, or $1.0278. The same token volumes on DeepSeek V4 Flash cost $0.2639 plus $1.06, or $1.3239. These are examples using the current SwiftRelay prices, not a forecast of what your own session will use.
Trap three: overlooking the price of a long working day
The third trap is switching to per-token billing and then forgetting to look at the meter. SwiftRelay deducts only what each call uses, which is useful, but the total still depends on the models you select and the volume you send.
The current prices per 1M tokens on the SwiftRelay pricing page are:
- DeepSeek V4 Flash: input $0.2639, output $1.06, cache read $0.006944.
- DeepSeek V4 Pro: input $1.17, output $3.51, cache read $0.0389.
- GPT-6 Astra: input $0.6597, output $3.28, cache read $0.0653.
- GPT-6.1 Sol: input $0.1736, output $0.8542, cache read $0.0347.
Example only: a day that uses 1M input tokens, 1M output tokens and 1M cache-read tokens on GPT-6.1 Sol would deduct $0.1736 + $0.8542 + $0.0347, or $1.0625. The same volumes on DeepSeek V4 Pro would deduct $1.17 + $3.51 + $0.0389, or $4.7189. The example shows the arithmetic, not a promise about daily usage.
Now compare that with keeping your own subscription or official account in general terms. If you already pay for access you do not use, a top-up model can be a cleaner fit. If your usage is steady and predictable, the balance still needs regular attention. The advantage is control: you choose the top-up amount and can watch what each call costs.
SwiftRelay offers top-up amounts of $1.39, $6.94, $13.89, $27.78, $69.44 and $138.89. That range lets you test with a small balance or stock up for a busier stretch. Refunds cover unused credit within 11 days of a top-up, minus what was used and the payment fee.
Trap four: treating the balance like a black box
The fourth trap is assuming that a top-up is the end of the transaction. It is the beginning of a visible loop. SwiftRelay lists tokens and cost per call, giving you a chance to catch an expensive model choice or an unexpectedly large request while you can still adjust.
Build a short review routine for yourself. After the first call, check the model id. After the first busy session, compare input, output and cache-read usage. Before adding more balance, look at which model handled the work. This is not paperwork for its own sake; it is the dashboard equivalent of checking tyre pressure before a long run.
Keep the balance separate from any fixed subscription budget you may already have. There is no monthly fee and nothing to subscribe to, so spending can follow actual use. That makes the usage list the steering wheel rather than a monthly reminder.
You can also use the referral programme as part of the value picture. You receive 14% of each top-up by someone you invited, and 3% from the people they invite. Rewards can be withdrawn once the minimum is $4.86, or they can be moved into the balance. Treat that as an optional extra, not the main reason to connect Roo Code.
Trap five: juggling too many keys or missing support
The fifth trap is setup sprawl. SwiftRelay supports up to 20 live API keys per account, which is enough for a tidy separation of projects, clients or working routines. The mistake is creating a new key for every experiment and losing track of which one belongs where.
A better first run uses one key for the Roo Code setup and one clean test request. Once that works, add another key only when a genuine separation makes sense. Label it clearly on your side, and retire keys you no longer need so the live list remains understandable.
Support is another place where assumptions can slow you down. SwiftRelay support runs through Messages in the dashboard, and login is required. There is no support email to search for. If something does not connect, open the dashboard, check the message area, and include the model id, endpoint shape and usage details you already have.
Before you open a message, run through the short list: is the base URL exactly https://api.fastapirelay.com/v1, is the API key a swft_ key, is the model paired with the OpenAI-compatible endpoint, and has the balance enough room for the call? Those four checks clear most of the obvious traps.
Your clean first lap with Roo Code and SwiftRelay
Roo Code on SwiftRelay is a focused change: keep the coding client, point it at the OpenAI-compatible endpoint, choose a supported GPT or DeepSeek model, and let each call deduct only what it used. The top-up options, visible per-call costs and dashboard support give you a practical way to test, measure and adjust.
Sign up for SwiftRelay, claim the $0.22 gift credit, and send your first Roo Code request through the fast lane today.