What the two-level referral reward actually pays
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. When you invite someone, your account can receive 14% of each top-up made by the person you invited. You also receive 3% from the people they invite, creating a two-level referral reward.
The reward is flexible. You can withdraw it once the available amount reaches the $4.86 minimum, or move it into your SwiftRelay balance. That second option is useful when you want to keep working through Codex without stopping to arrange a withdrawal. New accounts also receive a $0.22 sign-up gift credit.
Example referral arithmetic: if your invited teammate tops up $27.78, the 14% referral amount is $3.8892. If that teammate then invites another person who tops up $13.89, the 3% amount from that second top-up is $0.4167. These are examples based on the stated referral rates, and the actual reward shown in your account depends on the top-ups made by your invited network.
The point is simple: a referral reward can become usable balance without turning SwiftRelay into a subscription product. You still pay for the tokens your own calls use, while invitations can add credit or a withdrawal you can manage later.
“Invalid API key”: checking the Codex connection
One of the first messages Codex users may notice is an invalid API key message. The fix starts with the SwiftRelay key format and the endpoint. SwiftRelay uses a swft_ key as the API key, and Codex connects through the OpenAI-compatible base URL.
Set the environment variables in your shell, then start Codex. These are the exact configuration lines:
01 export OPENAI_BASE_URL=https://api.fastapirelay.com/v1 02 export OPENAI_API_KEY=<your swft_ key>
codex
Make sure the key is copied without surrounding quotation marks, extra spaces or an incomplete ending. The placeholder in the configuration line must be replaced with the key from your SwiftRelay account. If you change the key later, export the new one again before launching Codex.
Another common connection message is one about a missing base URL. In that case, check that OPENAI_BASE_URL ends with /v1 and points to the API host shown above. The host is https://api.fastapirelay.com. If Codex still reports a problem after the environment variables are set, open Messages in the SwiftRelay dashboard. Support is available there after login; there is no support email to search for.
“No credit” or “insufficient balance”: topping up without a subscription
A balance error usually means the account does not currently have enough credit for the next call. SwiftRelay does not require a monthly purchase or a recurring commitment. You can top up one of the available amounts: $1.39, $6.94, $13.89, $27.78, $69.44 or $138.89.
Start with the amount that suits your workflow and add more when needed. Because each call deducts only what it used, a smaller top-up can still be enough for a quick Codex session, while a larger balance gives you room to continue without returning to the top-up page as often.
The dashboard usage view lists tokens and the cost per call. That view is the quickest way to check whether a balance is moving for the reason you expect. If the numbers look unfamiliar, compare the model name and call activity shown in the usage list with the work you ran in Codex.
Unused credit can be refunded within 11 days of a top-up, minus what was used and the payment fee. This is a credit-based purchase, not a plan renewal. If you are unsure how a recent top-up was applied, use Messages in the dashboard and include the relevant details from the account view.
“Model not found”: matching Codex with the right model
A model error can be resolved by checking the model identifier and the client you are using. Codex uses the OpenAI-compatible endpoint, so it pairs with GPT and DeepSeek models, along with the other remaining models supported by that endpoint. The recommended models below are available on the SwiftRelay pricing page.
- DeepSeek V4 Flash (deepseek-v4-flash): input $0.2639, output $1.06, cache read $0.006944 per 1M tokens.
- DeepSeek V4 Pro (deepseek-v4-pro): input $1.17, output $3.51, cache read $0.0389 per 1M tokens.
- GPT-6 Astra (gpt-6-astra): input $0.6597, output $3.28, cache read $0.0653 per 1M tokens.
- GPT-6.1 Sol (gpt-6.1-sol): input $0.1736, output $0.8542, cache read $0.0347 per 1M tokens.
Example: a single call using 1M input tokens and 1M output tokens with GPT-6.1 Sol would cost $0.1736 plus $0.8542, or $1.0278. A comparable example with DeepSeek V4 Flash would cost $0.2639 plus $1.06, or $1.3239. These examples use the prices shown on the SwiftRelay pricing page and illustrate how token use determines the deduction.
If Codex says that a model is unavailable, first confirm that the selected model is one of the supported identifiers. Then check the spelling, including the hyphen and version number. If the identifier is correct, review the latest usage list in the dashboard and ask through Messages if the behaviour continues.
“Too many keys”: keeping the account organised
A key-limit message means the account has reached its limit of 20 live API keys. SwiftRelay allows up to 20 live API keys per account, which is enough for separate projects, local tools or different Codex setups. When you need another key, remove or replace one that is no longer live rather than creating an unlimited collection.
Keep each key associated with a clear purpose. For example, use one key for a personal Codex setup and another for a separate project. If a key may have been exposed, replace it and update the corresponding OPENAI_API_KEY value. Restart Codex after changing the environment variable so the new configuration is used.
The key limit is separate from the balance. Having a topped-up account does not create additional live keys, and having an unused key does not add usage cost. The dashboard usage list remains the place to check tokens and cost per call, while Messages is the place to ask for help with account questions.
“Reward not received”: following the referral trail
If you expected a referral reward but cannot see it, check the timing and the top-up amount first. The 14% reward comes from each top-up made by someone you invited, and the 3% level comes from the people they invite. A referral amount can only be calculated after a qualifying top-up has been recorded.
Next, check whether the reward is available for withdrawal or has been moved into the balance. The withdrawal minimum is $4.86. Example: if your direct referral top-up produces $3.8892 and the second level produces $0.4167, the combined example amount is $4.3059, which is below that minimum. In that situation, the reward can remain available for later withdrawal or be moved into the balance according to the account options.
Also confirm that the invitation was completed through your own referral link and that the invited person used the same account for the top-up. If the figures still do not match your expectation, open Messages in the dashboard and describe the top-up date, amount and referral level. Support can then review the recorded activity.
SwiftRelay keeps the setup compact: copy three lines, run Codex, and pay only for the tokens your calls use. Invite others, earn the two-level referral reward, and put that credit to work.