Pre-flight: fund the balance before the first Grok 4.7 call
There is a clean way to start with SwiftRelay, and it fits on a checklist. SwiftRelay is a pay-per-token API relay. There is nothing to subscribe to and no plan to buy: you top up a balance, and every call deducts only what it used. That makes the first decision simple — how much runway do you want before the meter starts moving?
The available top-up amounts are $1.39, $6.94, $13.89, $27.78, $69.44 and $138.89. If you just want to see how Grok 4.7 behaves on your own workload, the smallest top-up is a sensible pit-stop choice. If you expect regular traffic, a larger balance means fewer trips back to the top-up screen. Either way, you are buying credits, not a commitment.
New accounts also receive a sign-up gift credit of $0.22. That is enough to put a small request through the API and watch the usage list populate, which is exactly what a first run should do: prove the path works, then scale. SwiftRelay is built around the idea that you can be connected in minutes — copy three lines and run — so the pre-flight work is short.
One more item belongs on the list before you start: know where support lives. If something looks off, SwiftRelay support is reached through Messages in the dashboard, and the dashboard requires login. There is no support email to hunt for. Keep that tab open during your first run so a question and a usage check happen in the same place.
Three lines to a working Grok 4.7 endpoint
Grok 4.7 is served through the OpenAI-compatible side of SwiftRelay, so the setup is a base URL, a key and the command that launches your client. The API host is https://api.fastapirelay.com, and the OpenAI-compatible base URL is https://api.fastapirelay.com/v1. Your SwiftRelay key begins with swft_ and is what you paste in as the API key.
Here is the Codex configuration, with each line in its own paragraph exactly as you would enter it in your terminal:
01 export OPENAI_BASE_URL=https://api.fastapirelay.com/v1 02 export OPENAI_API_KEY=<your swft_ key> 03 export codex
Wait — the launch command is the third line, so the complete sequence is:
01 export OPENAI_BASE_URL=https://api.fastapirelay.com/v1 02 export OPENAI_API_KEY=<your swft_ key>
codex
That is the whole ritual. Point the client at the SwiftRelay OpenAI-compatible endpoint, hand it your swft_ key, and start the session. Grok 4.7 is one of the models that pairs with this route, so once the client is live you can select it and send your first prompt.
Before you fire the first request, do a quick sanity pass on the checklist: is the balance topped up, is the key copied without stray spaces, is the base URL the /v1 version, and is the model set to Grok 4.7? Those four checks take less time than debugging a failed call later. SwiftRelay keeps the moving parts small — one host, one key, one model name — which is precisely why the setup feels easy on a first run.
Know the Grok 4.7 cost before you launch
The most useful pre-flight habit is to price one representative request before you send a hundred. SwiftRelay lists Grok 4.7 at $0.5556 per 1M input tokens, $1.66 per 1M output tokens and $0.1375 per 1M cache read tokens. Because billing follows tokens actually used, a short test costs a fraction of those figures, and a heavy run scales predictably.
Worked example: if a single request consumes 1M input tokens and 1M output tokens, the cost is $0.5556 + $1.66 = $2.2156. Add 1M cache read tokens to that same request and the total becomes $0.5556 + $1.66 + $0.1375 = $2.3531. These are examples built from the SwiftRelay pricing page, not quotes from anywhere else. The point is not the totals themselves — it is that you can model a run before you commit to it.
Compare that with the shape of a fixed subscription or an official account you pay for whether you use it or not. SwiftRelay charges for what you actually consume, so an experimental prompt, a burst of generation and a quiet week all look different on the bill. That flexibility is the value proposition: you are not buying a seat, you are buying tokens as you go.
After each call, the usage list shows the tokens and the cost per call. Treat that list as your instrument panel during the first run. Send one small request, confirm the entry appears, then send a request that resembles your real workload and compare the two lines. You will quickly learn which part of your prompt pattern drives spend, and you can adjust from there.
Keys, usage and the dashboard loop
Your account can hold up to 20 live API keys. That ceiling is worth knowing at the start because it shapes how you organise a first setup: one key for a quick experiment, one for a project, one for a script — without letting key sprawl become a problem.
For a tidy first run, create a single key, paste it into your environment, and confirm the connection. Only add more when you have a real reason to separate traffic. Live keys are the credentials that let the client talk to SwiftRelay, so keep the same care you would give any secret: paste it directly, avoid pasting it into shared documents, and rotate it if it ever ends up somewhere it should not be.
Next item on the checklist: find the usage list. It is where the per-call token counts and costs appear, and it is the fastest way to answer the question every new user asks — did that request cost what I expected? Because the deduction happens against your topped-up balance, the balance and the usage list together give you a complete picture of the run.
Then check Messages. Support runs through the dashboard, so if a call fails or a number looks surprising, you can open Messages, describe what happened and keep the context in one thread. No email chain, no separate account, no hunting for a contact form. The loop is simple: top up, run, read the usage list, ask in Messages if needed.
Finally, confirm the refund rule while the top-up is still fresh in your mind. Unused credit can be refunded within 11 days of a top-up, minus what was used and the payment fee. Knowing that in advance means you can size your first balance with a clear head: start with the amount you are genuinely comfortable trying, and adjust the next top-up once you have seen real usage.
Top-ups, referral rewards and the next lap
Once the first run is smooth, SwiftRelay gives you two ways to stretch the balance further. The first is simply choosing a larger top-up from the same list — $1.39, $6.94, $13.89, $27.78, $69.44 or $138.89 — based on what your usage list actually showed. Pay-per-token billing means you can move up or down between top-ups without changing how the service works.
The second is the referral programme. 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 they reach the $4.86 minimum, or moved straight into your balance. Moving them into the balance is the quickest route for a user who is already running calls: the credit is simply there on the next request.
Here is a complete pre-flight checklist for your first run of Grok 4.7 through SwiftRelay:
- Create your SwiftRelay account and note the $0.22 sign-up gift credit.
- Choose a top-up amount: $1.39, $6.94, $13.89, $27.78, $69.44 or $138.89.
- Create a key that starts with swft_ and keep it out of shared spaces.
- Set the OpenAI-compatible base URL to https://api.fastapirelay.com/v1.
- Export OPENAI_BASE_URL, export OPENAI_API_KEY, then launch your client with codex.
- Select Grok 4.7 and send one small test request.
- Open the usage list and check the tokens and cost per call against $0.5556 per 1M input tokens, $1.66 per 1M output tokens and $0.1375 per 1M cache read tokens.
- Keep Messages open in the dashboard for support, and remember refunds on unused credit within 11 days of a top-up, minus usage and the payment fee.
That is the whole lap: a balance, a key, three lines and a model name, with per-call visibility from the moment you start. SwiftRelay makes the first run of Grok 4.7 feel like a clean out-lap — top up, connect, send, and watch the cost land exactly where you expected — so sign up now and take your first run with SwiftRelay.