BYOK is live — 1,000,000 free BYOK requests every month, no top-up requiredLearn more

OpenAI-compatible API

OpenAI-compatible API for 60 models

BoostRail exposes an OpenAI-compatible API — the same /v1/chat/completions and /v1/models your OpenAI SDK already calls. Point base_url at BoostRail, keep your code, and reach 60 models from 13 labs through one key.

Endpoint
/v1/chat/completions
Models
60
Labs
13

What “OpenAI-compatible” means

An OpenAI-compatible API speaks the same request and response shape as OpenAI's own API: the same endpoints (/v1/chat/completions, /v1/models), the same JSON fields, the same streaming format, and the same Authorization: Bearer header. A client built for the OpenAI SDK works against it unchanged.

So you don't adopt a new SDK or rewrite your integration. You change two values — base_url and api_key — and every request keeps working, now routed through BoostRail to any model in the catalog.

Why call models through one OpenAI-compatible endpoint

  • One integration, every model: Claude, GPT, Gemini, DeepSeek, GLM, Grok, Kimi, Qwen and MiniMax behind a single API key — no separate account, SDK, or bill per provider.
  • Switch models by changing one string: the model parameter picks the model; nothing else in your code changes.
  • Streaming behaves the same: set stream=true and responses arrive in the standard OpenAI server-sent-events format.
  • Per-token billing in USD: one prepaid balance, transparent per-token prices, one statement across every model.
  • Bring your own keys (BYOK): route through your own provider keys when you have them, with the platform as automatic fallback — plus 1,000,000 free BYOK requests every month.

How to use it

If your app already uses the OpenAI SDK, this is the whole change — swap base_url and api_key, keep the rest:

Python

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.boostrail.com/v1",
)
response = client.chat.completions.create(
    model="claude-sonnet-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

API reference →

Models you can reach

One OpenAI-compatible endpoint reaches 60 text models from 13 labs: Anthropic, OpenAI, Google, DeepSeek, Zhipu, xAI, Moonshot, MiniMax, Alibaba, Xiaomi, Tencent, StepFun, NVIDIA. Per-token USD prices are public on the Models page.

View models →

Start with one endpoint

Create a key, point base_url at BoostRail, and call any model in the catalog with the OpenAI SDK you already use.

Last updated: 2026-10-03