Skip to main content
XRoute provides unified HTTP endpoints under the base prefix https://api.xroute.ai for 60+ LLMs, media generators, and 100+ real-time data APIs.

Base URLs

All API requests share the unified origin https://api.xroute.ai:

Essentials

Credit Balance

Check your remaining prepaid Credits and key spending limits (GET https://api.xroute.ai/apis/v1/account/balance).

Account Usage

Query historical invocation totals and settled USD spend (GET https://api.xroute.ai/apis/v1/account/usage).

Chat Completions

Call 60+ frontier models via OpenAI format, Anthropic format, or provider-native format under https://api.xroute.ai.

List Models

Fetch live model IDs, context windows, and token pricing (GET https://api.xroute.ai/v1/models).

Settled call cost

Every paid response includes the x-xroute-cost-usd header reporting the exact USD amount deducted from your Credits balance.