Auth & headers
Wrong headers are the top cause of 401s. Endpoint list comes from the pricing API.
Request headers
OpenAI-compatible
http
Authorization: Bearer sk-xxxx
Content-Type: application/jsonAnthropic-compatible
http
x-api-key: sk-xxxx
anthropic-version: 2023-06-01
Content-Type: application/jsonEndpoints declared by the site (live)
Syncing live data…
Security
Split keys per purpose; delete and recreate on leak. Never commit to Git.