OpenAI-Compatible API Relay

One Key, Every Model

Unified API gateway for image generation and chat. Multi-channel routing, usage-based billing, zero-config deployment.

View Docs
4K
Max Resolution
16s
Avg Latency
$0.12
Per Image

Features

🔄

Multi-Channel Routing

Automatic failover across upstreams. Health checks, cooldowns, weighted distribution.

💰

Usage-Based Billing

Prepaid credits. Per-model pricing. Real-time balance. No subscription.

📦

OpenAI Compatible

Drop-in for /v1/images/generations and /v1/chat/completions. Zero code changes.

🛠

Admin Dashboard

Key management, channel config, usage logs, pricing control. All built-in.

⚡

Fast & Lightweight

Rust + SQLite binary. 9MB memory. Sub-millisecond cold start. Single executable.

🔒

Privacy First

Per-key log isolation. Admin token protection. SHA-256 key hashing. No data sharing.

Simple Pricing

Image

10 cr

per generation
up to 3840×2160

Chat

5 cr

per completion
GPT-4o class models

Credit

$0.01 USD

1 credit
no expiry

API Reference

# Generate an image curl https://api.exnilo.co/v1/images/generations \ -H "Authorization: Bearer sk-xxxxxxxx" \ -d '{"model":"gpt-image-2-c","prompt":"a beautiful landscape","size":"1024x1024"}' # Chat completion curl https://api.exnilo.co/v1/chat/completions \ -H "Authorization: Bearer sk-xxxxxxxx" \ -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello!"}]}'