article
OpenAI-Compatible API: A Quick Overview
RavenRouter exposes a unified OpenAI-compatible endpoint so you can switch models without changing your client code.
Published June 21, 2026
One endpoint, many models
Point your existing OpenAI SDK or HTTP client at RavenRouter and pass your API key in the Authorization header.
curl https://api.ravenrouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'
See the Quickstart for full integration steps.
