Enterprise AI API Gateway · PHP · OpenAI-Compatible
One API.
Every AI Model.
NexusAI aggregates Together AI, Runware, Groq, OpenRouter and more behind a single OpenAI-compatible API. Drop-in replacement. Zero code changes.
# Just change base_url and API key — everything else stays the same
from openai import OpenAI
client = OpenAI(
base_url="https://api.nexusai.com/v1",
api_key="nxs_live_..."
)
Everything you need
to ship AI-powered products
Smart Load Balancing
Auto-routes to the fastest, cheapest provider. Circuit breaker, retries, and failover built-in.
Cent-Level Billing
Per-token, per-image, per-second billing. Full ledger, invoices, and profit margin tracking.
OpenAI-Compatible
Drop-in replacement. Works with any OpenAI SDK, Langchain, LlamaIndex, and more.
Real-Time Analytics
Monitor usage, latency, costs and model performance with live dashboards.
Enterprise Security
AES-256 credential storage, SHA-256 API keys, CSRF protection, audit logs.
Iran-Ready
ZarinPal payments, IRR/Toman currency, Farsi RTL UI, Kavenegar SMS support.
SSE Streaming
Full Server-Sent Events streaming for all text generation endpoints.
Pluggable Providers
Add any OpenAI-compatible provider with one file and one DB row.
Multi-Currency
USD, EUR, GBP, IRR with live exchange rates and custom IRR override.
Supported Models
+ Many more via OpenRouter
Simple, Transparent Pricing
Start free. Upgrade when you need more.
Free
$0/mo
- 1M tokens/month
- 2 API keys
- Basic models
- Community support
Get Started
Most Popular Pro
$29/mo
- 10M tokens/month
- 10 API keys
- All text models
- Image generation
Get Started
Best Value Enterprise
$99/mo
- Unlimited tokens
- Unlimited API keys
- All models & modalities
- Custom rate limits
Get Started
Compare all plans →