Now in beta · smile4u.in

All AI.
One API.

One SDK. Smart routing across OpenAI, Anthropic, Gemini, and Llama via Groq. Automatic failover. Cost optimisation. Zero lock-in.

Integrates withAnthropicOpenAIGeminiLlama
uniq_demo.py
from uniq import AI
 
ai = AI(api_key="uq_••••••••••••••••")
 
response = ai.complete(
"Explain transformer architecture",
model="auto", # routes to best provider
)
 
print(response.text)
 
# ✓ Provider : anthropic → claude-sonnet-4-6
# ✓ Latency : 1.24s │ Tokens: 342 │ $0.0014
Connected to smile4u.in
Python 3.10+·uniq-ai 0.1.0
4
Providers
12+
Models
< 50ms
Routing overhead
99.9%
Uptime SLA

Platform

Everything you need,
nothing you don't.

Built for developers who want the simplest possible interface to the most powerful AI models — without sacrificing control.

Smart Routing

Auto-classify

Automatically classifies your prompt — code, math, analysis, translation — and routes to the model with the strongest performance for that task. No config required.

Automatic Failover

< 50ms switch

If a provider is down, rate-limiting, or times out, the request is instantly retried against the next healthy provider in your fallback chain — fully transparent to your app.

Cost Optimisation

Save up to 80%

Routes to the cheapest model capable of handling the request. The routing engine balances latency, quality, and per-token cost in real time across all configured providers.

Usage Analytics

Per-key tracking

Every call is logged with provider, model, token counts, latency, and estimated cost. Query summaries by day or month, or page through the full history — all via REST API.

API Key Management

Instant revoke

Generate scoped `uq_*` keys, revoke compromised credentials instantly, and track per-key request volumes — all without restarting or redeploying your application.

SDK-First Design

pip install uniq-ai

A typed Python SDK with sync and async clients, context-manager support, and exponential-backoff retries baked in. Works exactly like you'd expect from a mature platform SDK.

Pricing

Simple, transparent pricing.

Start free. Scale when you're ready. No hidden fees, no egress charges.

Free

For side projects and exploration.

$0/ mo
Start for free
  • 1,000 requests / month
  • OpenAI + Groq providers
  • Smart routing
  • API key management
  • Usage analytics (7 days)
  • Community support
  • Auto failover
  • Cost optimisation
  • All providers

Pro

For teams with production workloads.

$99/ mo
Get Pro
  • 500,000 requests / month
  • All providers + private endpoints
  • Smart routing + custom rules
  • Auto failover
  • Cost optimisation
  • Usage analytics (90 days)
  • Rate limit controls
  • 99.9% uptime SLA
  • Priority support
  • Unlimited requests
  • SSO
  • Audit logs

Enterprise

For large-scale, compliance-critical deployments.

Custom
Talk to us
  • Unlimited requests
  • All providers + custom models
  • Custom routing logic
  • Dedicated infrastructure
  • Unlimited analytics retention
  • SSO / SAML
  • Audit logs
  • 99.99% uptime SLA
  • Dedicated support + SLA

All plans include API key management and the full Python SDK. Prices in USD. Cancel anytime.