OpenAI + Anthropic compatibility
Both API surfaces come from the same router. The two are not separate products — they're two doors into the same model pool, same pricing, same API key, same usage dashboard.
Endpoint comparison
| Capability | OpenAI | Anthropic | Status |
|---|---|---|---|
| Chat / Messages | /chat/completions | /messages | Live |
| Streaming (SSE) | stream=true | stream=true | Live |
| Function calling | tools | tools | Live |
| JSON mode | response_format | tool use + schema | Live |
| Vision | image_url | image blocks | Live |
| Embeddings | /embeddings | — | OpenAI only |
| Audio (ASR / TTS) | /audio/* | — | OpenAI only |
Model mapping
Most frontier models are available under both endpoints. When the underlying model is the same (e.g. Claude 3.5 Sonnet), the samemodel string works on both surfaces.
For open-source models hosted on IQx, use the OpenAI endpoint. The Anthropic endpoint is reserved for Anthropic-hosted and Anthropic-distributed models.
Headers & auth
Headers
# OpenAI endpointAuthorization: Bearer tf-your-api-key-here# Anthropic endpointx-api-key: tf-your-api-key-hereanthropic-version: 2023-06-01