Your first streaming experiment starts with three lines
Your app does not need a new platform project before it can produce a streaming reply. With SwiftRelay, the first move is deliberately small: connect in minutes by copying three lines and running them. That quick start gives you an API relay with a pay-per-token billing model, so you can test the model route your application will actually use instead of building around a placeholder.
Think of the first lap as an experiment with one clear job. Send a request through SwiftRelay, read the reply in your own interface, and check what the call consumed. The usage view lists tokens and cost per call, which turns a vague idea into a concrete measurement. You can then decide whether the response quality, token usage and cost fit the streaming path you want to ship.
There is no monthly fee and nothing to subscribe to. Top up a balance, and each call deducts only what it used. New accounts also receive $0.22 in sign-up gift credit, which is enough to put a first request behind you without turning the experiment into a purchasing decision.
SwiftRelay is designed to fit the way a developer already works. The API host is https://api.fastapirelay.com, and the OpenAI-compatible base URL is https://api.fastapirelay.com/v1. Your application can use a swft_ key as its API key, while your code keeps ownership of the user interface and the way replies are presented.
Choose the model route your client can actually run
Model choice and client choice belong in the same pit-stop decision. For an OpenAI-compatible client or SDK, use the base URL https://api.fastapirelay.com/v1 with a swft_ key as the API key. That route pairs with GPT, DeepSeek and the other remaining models. It is a straightforward fit for a streaming reply feature built around your own app.
For a Codex-based workflow, the three lines are:
01 export OPENAI_BASE_URL=https://api.fastapirelay.com/v1 export OPENAI_API_KEY=<your swft_ key> codex
Claude models answer through the official Claude Code or Claude Desktop client, version 2.1.285 or later. Their configuration is:
01 export ANTHROPIC_BASE_URL=https://api.fastapirelay.com export ANTHROPIC_AUTH_TOKEN=<your swft_ key> claude
Gemini models use their native protocol through Gemini CLI, and they are not OpenAI-compatible. The three lines are:
01 export GOOGLE_GEMINI_BASE_URL=https://api.fastapirelay.com GEMINI_API_KEY=<your swft_ key> gemini
These routes let you test without blurring which protocol and client belong together. In your own application, the SDK path is the practical starting point when you are working with GPT, DeepSeek or another OpenAI-compatible model. Keep the base URL and key in your deployment configuration, then move from a manual request to the code path that handles your streaming replies.
Measure token cost before the streaming path scales
A streaming feature can look inexpensive until you stop checking what each run consumes. SwiftRelay makes the useful numbers visible: the usage list shows tokens and cost per call. That view should become part of your test routine, not an afterthought after launch.
Example: at the listed GPT-6.1 Sol price, 1M input tokens cost $0.1736, 1M output tokens cost $0.8542, and 1M cache-read tokens cost $0.0347. If one example run used 1M input tokens and 1M output tokens, its sum would be $1.0278. This is an example based on the current SwiftRelay pricing page, not a forecast of what your application will spend.
Another example uses DeepSeek V4 Flash. At 1M input tokens, the cost is $0.2639; at 1M output tokens, it is $1.06; and at 1M cache-read tokens, it is $0.006944. An example run with 1M input tokens and 1M output tokens would therefore total $1.3239.
You can also compare the available GPT routes. GPT-5.6 Sol is listed at $0.3056 for 1M input tokens, $1.72 for 1M output tokens and $0.0264 for 1M cache-read tokens. GPT-6 Astra is listed at $0.6597, $3.28 and $0.0653 for those same token categories. These figures give your team a practical basis for choosing the model that fits the workload.
For Claude Sonnet 5.5, the listed prices are $0.9792 for 1M input tokens, $4.89 for 1M output tokens and $0.0861 for 1M cache-read tokens. Gemini 3.1 Pro is listed at $1.35, $7.81 and $0.1347. Put your measured token counts beside these figures, and the streaming design conversation becomes specific: which model, how many tokens, and what the balance needs to cover.
Move from one experiment key to a production workflow
The first successful run is not the finish line; it is the signal that your integration works. Now give the streaming reply path a controlled production workflow. Keep the endpoint and key in your application configuration, record the model used, and inspect the usage list after representative test runs. That creates a clean loop between product behaviour and measurable API usage.
SwiftRelay supports up to 20 live API keys per account. You can use separate keys for development, staging and production responsibilities, then retire or replace them as your setup changes. The account limit gives your team a defined boundary while keeping the number of active credentials visible.
Balance management fits the same incremental approach. The available top-up amounts are $1.39, $6.94, $13.89, $27.78, $69.44 and $138.89. Start with the smallest amount that supports your test cycle, watch the deductions per call, and increase the balance when your measured usage justifies it. Because there is no monthly fee and no subscription, the top-up decisions stay connected to actual use.
Unused credit can be refunded within 11 days of a top-up, minus what was used and the payment fee. That policy gives an experiment a defined window in which to evaluate the integration without treating unused funds as a permanent commitment.
Inviting colleagues or other developers can also support the balance. You receive 14% of each top-up by someone you invited, and 3% from the people they invite. Rewards can be moved into the balance or withdrawn once the withdrawal threshold of $4.86 is reached. Treat this as a separate part of your account workflow rather than mixing it with the technical test plan.
Support and sign-off belong in the clean first run
Before production, document the route, the key handling, the model choice and the usage check. If something needs attention, SwiftRelay support is available through Messages in the dashboard, where login is required. There is no support email to hunt for, so keep the conversation in the same place as your account and usage information.
A good launch checklist is short: confirm the base URL, load the key securely, run a representative streaming reply, review tokens and cost per call, and verify that the remaining balance covers the expected workload. You do not need to replace your existing subscription or official account to run this approach; SwiftRelay simply adds a pay-per-token relay for the calls you choose to route through it.
The pit stop is ready, the meter is visible, and the first lap has a clean line on the track: copy three lines, run your test, measure the call, and take the same route to production when the numbers look right.
Sign up for SwiftRelay now, top up your balance, and turn your first streaming reply experiment into a production-ready path.