API Overview
Openference exposes a stable OpenAI-compatible surface plus direct Anthropic format for Claude. All requests require a validAuthorization: Bearer YOUR_API_KEY header.
Base URL
Core Endpoints
Format handling
- If the model route supports the client format natively, we pass through.
- Otherwise we automatically convert between OpenAI ↔ Anthropic ↔ Gemini.
Model names
Use the exact model ID returned byGET /v1/models (or shown on the website).
Some routes may map an alias to a specific upstream model ID.
Streaming
Add"stream": true (OpenAI) or the equivalent for Anthropic.
We forward SSE correctly.