Base URL & Authentication
All traffic goes through one base URL:Full endpoint examples
| Purpose | URL |
|---|---|
| Chat (OpenAI format) | https://api.openference.com/v1/chat/completions |
| Chat (Anthropic format) | https://api.openference.com/v1/messages |
| Responses API | https://api.openference.com/v1/responses |
| Embeddings | https://api.openference.com/v1/embeddings |
| List models | https://api.openference.com/v1/models |
Authentication
Use HTTP Bearer token authentication.- Keys are created in the dashboard.
- Prefix is always
sk-token-for new keys (legacysk-user-keys continue to work). - Keys can be restricted to a subset of models.
cURL
OpenAI SDK (Python / JS)
One key for everything
A single key works simultaneously across:- Cursor, Claude Code, Codex CLI, OpenCode
- Continue, Cline, VS Code extensions
- Python, Node, any SDK or framework
- curl, Postman, etc.
Model restrictions
When creating or editing a key you can limit which models it can access.- The
GET /v1/modelsresponse will only return allowed models for that key. - Requests to disallowed models return 403.
- Leave the restriction empty to allow all active models.

