API reference

API overview

Two compatible surfaces on one key: OpenAI-style chat completions and Anthropic-style messages.

Base URLs

SDKBase URL
OpenAI and compatiblehttps://api.useorbix.app/v1
Anthropichttps://api.useorbix.app

Authentication

Send your key as a bearer token. The Anthropic surface also accepts x-api-key.

bash
Authorization: Bearer orb_live_…

Endpoints

MethodPathCompatible with
POST/v1/chat/completionsOpenAI Chat Completions
POST/v1/messagesAnthropic Messages
GET/v1/modelsOpenAI Models list

Model ids

Ids are provider/model, for example anthropic/claude-sonnet-5.5 or google/gemini-4-argon. Both surfaces accept any model, so you can call GPT through /v1/messages or Claude through /v1/chat/completions.

Billing headers

Every response includes:

HeaderMeaning
x-orbix-list-costCost at list price, USD
x-orbix-discountDiscount applied, 0 to 1
x-orbix-chargedAmount charged to your balance, USD
x-orbix-pool-factorPool factor at the time of the request
x-orbix-upstreamUpstream that served the request

For streaming responses the same values are sent in the final event.