Drop-in OpenAI compatible
Works with the official SDKs, LangChain, LlamaIndex, Dify, Cursor and any client that speaks the OpenAI format.
An OpenAI-compatible gateway to 370+ LLMs — automatic failover, one bill, and prices below official rates.
ONE KEY FOR MODELS FROM
Keep the OpenAI SDK you already use. Point base_url at NixAPI and every model sits behind a single key.
Each call goes to the healthiest, fastest channel for that model, measured continuously.
When a provider slows down or errors out, traffic moves to a healthy route before your users notice.
Tokens from every provider land on a single, itemised balance. Top up once, spend on any model.
Ten providers. Ten API keys. Ten invoices. Ten ways to fail at 3 a.m. NixAPI turns all of it into one endpoint that just works.
Everything you need to run production LLM traffic — without juggling accounts, SDKs and invoices.
Works with the official SDKs, LangChain, LlamaIndex, Dify, Cursor and any client that speaks the OpenAI format.
Every routing group is monitored around the clock.
No subscription, no minimum. Top up and spend on any model.
monthly minimum
A lightweight gateway talks to upstreams directly, adding only tens of milliseconds.
Create keys per project, cap spend, restrict models and inspect every request from the console.
Something looks off? Chat with a real engineer from the bottom-right corner, or drop us an email.
Active-active redundancy and round-the-clock operations keep every call landing.
Core services run redundantly across nodes and fail over within seconds.
Upstream channels are probed continuously; requests take the fastest healthy path.
An on-call team monitors and responds around the clock, before issues reach you.
GPT, Claude, Gemini, DeepSeek, Qwen and more — 370+ models behind one endpoint and one balance. Pay only for the tokens you use.
USD per 1M tokens · Official list price vs. the lowest NixAPI group price at build time. Live rates on the pricing page.
Whether a model comes from the US or China, you call it through the same base_url. The gateway keeps checking upstream channels and routes around failing ones.
Guardrails at every layer: access, transport and audit.
Group API keys by project, then add IP allowlists, rate limiting, circuit breaking and authentication.
Encrypted in transit end to end. GDPR data processing agreement; request and response bodies are not stored by default.
Key operations are logged and traceable, backed by regular security audits and vulnerability scans.
# pip install openaifrom openai import OpenAIclient = OpenAI(- base_url="https://api.openai.com/v1",+ base_url="https://api.nixapi.com/v1", api_key="sk-…",)resp = client.chat.completions.create( model="claude-sonnet-5", messages=[{"role": "user", "content": "Hello"}],)// npm i openaiimport OpenAI from 'openai';const client = new OpenAI({- baseURL: 'https://api.openai.com/v1',+ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY,});const resp = await client.chat.completions.create({ model: 'gemini-2.5-pro', messages: [{ role: 'user', content: 'Hello' }],});# any OpenAI-compatible client works- curl https://api.openai.com/v1/chat/completions \+ curl https://api.nixapi.com/v1/chat/completions \ -H "Authorization: Bearer $NIXAPI_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek-v3.2", "messages": [{"role": "user", "content": "Hello"}] }'GDPR DPA, no call data retained by default, enterprise audit support.
Three years in production, with load balancing and automatic retries.
Every model price and group multiplier is public. No hidden fees.
One base_url for the apps and frameworks that speak the OpenAI protocol.
24/7 technical support, in multiple languages.
NixAPI is an AI API gateway. It gives you one OpenAI-compatible endpoint and one API key to call models from OpenAI, Anthropic, Google, DeepSeek, Alibaba Qwen and other providers.
"Nix" means to get rid of something. NixAPI nixes the overhead of working with many AI providers (separate keys, SDKs, invoices and markups), so calling any model comes down to one endpoint. The name also nods to *nix (Unix-like) systems: stable, low-level infrastructure built for developers.
No. Keep your existing OpenAI SDK or HTTP client, change base_url to https://api.nixapi.com/v1 and use your NixAPI key. Request and response formats stay the same.
More than 370+ models, including GPT, Claude, Gemini, DeepSeek, Qwen, Kimi, GLM and Grok families. The full, up-to-date list with prices is on the pricing page.
Pay as you go. You top up a balance and each request is charged per token at the listed model price. There is no subscription or monthly minimum.
NixAPI health-checks every upstream channel. If one slows down or returns errors, requests are automatically routed to a healthy channel for the same model.
Reach the team through the contact page in the console. Technical guides and API references are in the documentation.
Create an account, grab a key, and call any model in under a minute.