SpaceRouter Β· spacerouter.ai
One API for every AI model.
SpaceRouter speaks the OpenAI API. Point your existing code at it and reach models from Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek and more, with one key and a budget on every key.
- model IDs in the catalogue
- 450
- providers
- 58
- OpenAI-compatible endpoint
- 1
As of 23 November 2026
Swap one line. Keep your code.
Anything that works with the OpenAI SDK works with SpaceRouter. Change the base URL and the key.
client = OpenAI(
api_key="sk-openai-...",
)client = OpenAI(
base_url="https://api.spacerouter.ai/v1",
api_key="sk-...",
)https://api.spacerouter.ai/v1
What you get
One key, every model
Move from one providerβs model to another by changing the model name. No new account and no new SDK.
Drop-in compatible
Chat completions, streaming and the standard error format work the way your OpenAI client expects.
Know what each request costs
Every response carries its cost in a header, and every key can carry a budget.
Choose where your data goes
Model groups for the EU or worldwide, with consent for the data region you pick.
How a request travels
- Your app
- SpaceRouter
- Model provider
Your app sends a standard chat request with your key. SpaceRouter checks the key and its budget, forwards the request to the provider that serves the model, and sends the answer back with the cost attached.
It already runs Aether.
Aether, the personal assistant from SPACE OS, gets its models through SpaceRouter. Whatever it can do, your own product can build on.
See Aether βPart of the SPACE OS network
Providers with spare GPUs can serve requests and get paid. That part is in beta.
How providers earn βMake your first request in a minute.
Create a key, set a budget, and send the request from the reference.