Developer documentation

Test the API before shipping.

Switch between OpenAI-compatible Chat Completions and Anthropic Messages, generate request snippets, and test with your own gateway API key.

Interactive request

Requests are sent to your gateway origin.

Live API

The supplied key is sent only to this gateway request and is not stored by this page. The request consumes credits if accepted by the API.

Generated request

Copy a starter snippet for your application.

Loading model list…

Response

Live request result and timing.

Not sent
Submit a request to inspect the JSON response.

Authentication

For OpenAI-compatible clients, send Authorization: Bearer YOUR_GATEWAY_API_KEY. For Anthropic Messages clients, send x-api-key and anthropic-version: 2023-06-01. Never use a provider's upstream API key with this gateway.

Endpoints

GET /health GET /public/models GET /v1/models requires gateway key POST /v1/chat/completions OpenAI format POST /v1/messages Anthropic format POST /v1/messages/count_tokens
Review model rates ↗