Use SteadyRouter with LobeHub
In LobeHub, point the built-in OpenAI provider at SteadyRouter for most models, and the built-in Anthropic provider for Claude models, so Claude features such as prompt caching and extended thinking work the way they do with Anthropic's API. Both use the same SteadyRouter key.
Before you start
- Create a SteadyRouter account.
- In the console, open API Keys and copy your key. New accounts come with one called Default Key, on Lowest price (see below). To make another, click Create API Key. Keep Smart routing on: if a group fails, the request is retried in the next group within the same call. A new key starts on Auto, or on Lowest price if your balance is under US$1.
Set up the OpenAI provider
- Open Settings → Provider and select OpenAI.
- Turn on the provider's switch.
- Enter your SteadyRouter key as the API key.
- API Proxy URL:
URL
https://api.steadyrouter.com/v1 - Select Check to test the connection.
- Click Fetch models and enable the models you use. The names match Model Square, for example
gpt-5-mini.
Set up the Anthropic provider (Claude models)
- In Settings → Provider, select Anthropic and turn it on.
- Enter the same SteadyRouter key.
- API Proxy URL:
URL
https://api.steadyrouter.com - Select Check, then enable Claude models such as
claude-sonnet-5-5.
Your changes are saved automatically. Choose the provider and model in each Agent's settings.
Trying it on a small balance
New accounts currently start with US$0.05 of credit. Before each request, the gateway reserves balance based on the input plus the maximum output the app asks for. To make a small balance last:
- Use Lowest price under Smart routing on your API key. Default Key is already on it; for another key, choose it when you create the key or later by editing it.
- Start with a smaller model. On Lowest price, a request to
claude-haiku-5-5orgpt-5-minicosts a small fraction of the same request to larger models such asclaude-sonnet-5-5,gpt-5.5orclaude-opus-5-5.
Once you've confirmed everything works, add funds, and switch the key back to Auto if you prefer.
Lowest price often puts Pool groups first: usually cheaper, sometimes less stable. In every smart routing mode, Pool and Mixed groups can be used, so for stability-critical work, turn smart routing off and list only cloud or API groups on the key. See Models and groups.
If something goes wrong
| What you see | What to do |
|---|---|
| Check fails with 404 | Check the API Proxy URL: https://api.steadyrouter.com/v1 for OpenAI, https://api.steadyrouter.com for Anthropic. |
401 Invalid token | The key is wrong, disabled, expired or out of its spending cap. Check it under API Keys, and look for stray spaces. |
403 insufficient_user_quota | Your balance can't cover the request. Top up, or follow the small-balance steps above. |
503 model_not_found | The model name is wrong, or the groups your key uses don't offer it. Check the name on Model Square. |
| 408, 504 or 524 | An upstream timeout. These are not moved to another group automatically, so retry. |
Every error message ends with a request id. Include it when you email support@steadyrouter.com.
More: API docs · Model Square