Skip to main content
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

  1. Open Alter Settings (⌘ ,)
  2. Go to Router
  3. Under Alter API Keys, click Add New Key
  4. Copy the key (sk-...)

2) Use the endpoint

Primary endpoint:
https://alterhq.com/api
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"

Model naming format

Use this format when selecting a model:
Provider#Model-name
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: