Alter provides an OpenAI-compatible endpoint you can use as a single Router across providers.
Intended use: API Router is for personal usage, lightweight utilities, and low-volume projects. It is not intended to run high-throughput agentic systems (for example code agents, OpenClaw-style systems) or production services for other users.
What you get
- One endpoint for many model providers
- Centralized billing through Alter
Provider#Model-name model IDs
- Compatibility with OpenAI-style tools and SDKs
Quick setup
1) Generate an API key
- Open Alter Settings (
⌘ ,)
- Go to Router
- Under Alter API Keys, click Add New Key
- Copy the key (
sk-...)
2) Use the endpoint
Primary endpoint:
Some clients require /v1:
https://alterhq.com/api/v1
3) List available models
curl https://alterhq.com/api/models \
-H "Authorization: Bearer YOUR_API_KEY"
Use this format when selecting a model:
Examples:
OpenAI#gpt-5
Claude#claude-sonnet-4-6
Gemini#gemini-2.5-pro
Alter#best
Split guides
To keep this page focused, advanced topics are in dedicated guides: