Docs / Migration
Migrating from OpenAI
Zero-change migration: just swap two environment variables.
BASH
export OPENAI_BASE_URL=https://compassapi.ai/v1
export OPENAI_API_KEY=$COMPASS_KEYModel name mapping
Original model name
Unified slug
gpt-5.1
gpt-5.1
claude-sonnet-4-5
claude-sonnet-4.5
gemini-3-pro-latest
gemini-3-pro
deepseek-chat
deepseek-v4
Differences to watch for
- Organization and project headers (OpenAI-Organization, etc.) are ignored.
- Billing queries go through the Compass console, not the upstream dashboard.
- Stateful APIs such as Assistants and Realtime are not proxied yet.