The AI Routing
Engine.

ANT is the intelligent routing engine that analyzes every prompt and routes it to the best AI model across the entire ecosystem — automatically optimizing quality, speed, and cost.

Powered by Antbase.

GPT-4oClaude OpusGemini 2.5Llama 3.3Mistral LargeDeepSeek V3Qwen3 235BCommand R+12,500+ more

Framework Setup

OpenClaw (Recommended)

One-line install. Creates account, generates API key, configures OpenClaw.

curl -fsSL https://antbase.ai/install.sh | bash

⚡ANTantbase.ai/v1/chat/completions
Classify LLM

Task: analysis

Complexity: medium

Optimize LLM

Tokens: -38%

Compress + rewrite

Route AI

Selected: GPT-4o

Cost: $0.012

Frequently Asked Questions

Core Advantages

Built for production AI workloads. Every component is designed for reliability, performance, and cost efficiency.

Optimal Model Routing

Every request is analyzed and routed to the best-performing model for the task — balancing quality, speed, and cost automatically.

Cost/Latency Classifier

A multi-stage classifier pipeline determines complexity and optimal routing in milliseconds.

Failover Protection

Circuit breakers, retry logic, and provider health monitoring ensure zero downtime — if one provider fails, traffic reroutes instantly.

OpenAI-Compatible API

Drop-in replacement for the OpenAI API. Change one base URL and your entire stack routes through ANT — no code changes.

Multi-Provider Network

30+ providers including OpenAI, Anthropic, Groq, Gemini, NVIDIA NIM, DeepSeek, Together, Mistral, Perplexity, SambaNova — with free tier access.

Real-time Analytics

Live dashboard showing routing decisions, token savings, latency metrics, and provider health — full observability out of the box.

Pay only for what you use

No subscriptions. No tiers. Just top up and go.

52%

avg cost reduction

~50ms

routing overhead

12,500+

models available

Managed Credits

We handle provider billing

  • No platform fee on credit purchases
  • $5 free credits to start
  • Zero markup on token prices
  • All models + smart routing
Start Free

Bring Your Own Keys

Use your existing API keys

  • 100K free req/mo
  • $0.001/req after free tier
  • Pay providers directly
  • Smart routing included
Connect Keys

See how ANT saves you money →

Dashboard Preview

Real-time visibility into routing, cost savings, and virtual model performance — all in one place.

antbase.ai/app

Dashboard

Credits Balance
$
$47.82

Available credits

Requests Today
⚡
1,247

API calls processed

Cost Today
↗
$0.4812

Total spend

Avg Latency
◎
43ms

Response time

✦

Prompt Optimization

Active — compressing prompts to save tokens

18,432

Tokens saved today

247

Requests optimized

38%

Optimization rate

🔑

API Keys

Active model per key

+ Create Key
ant_7f3x...Production
ant:auto
ant_k9m2...Staging
ant:balanced
ant_2b8w...Free Tier Bot
ant:free
◆

Virtual Models

Set model=“ant:auto” in your API calls

ant:auto

Smart routing

ant:free

Zero cost

ant:fast

Lowest latency

ant:balanced

Quality + speed

ant:best

Highest quality

ant:reasoning

Deep thinking

Estimated Savings

Since using ANT

$12.47

38.2% saved · 4,812 requests

Your cost:$20.18
Without ANT:$32.65

Provider Distribution

Auto-routed across 30+ providers

NVIDIA NIM35%
Groq22%
Gemini18%
OpenAI12%
Anthropic8%
DeepSeek5%

Quick Settings

Cost Saver
Quality Mode
Fast
Balanced
Best

Live Model Intelligence

Rankings computed from real routing data — not benchmarks.

Top Models

View all →

Top Providers

View all →

Built with ANT. Powered by ANT.

We eat our own dog food. Antbase and ANT were built entirely using Kilo AI and OpenCode connected to ANT for all AI-assisted coding.

Kilo AI — src/middleware/auth.ts
Kilo AIAnalyzing codebase...
$
KKilo AI+OCOpenCode

AI coding assistants like Kilo AI and OpenCode connect to ANT as their inference backend. Every code generation, refactor, and debugging request is intelligently routed to the best model for the task.

Coding tasks routed to specialized code models

Automatic fallback across 30+ providers

Up to 60% cost savings vs direct provider calls

OC
OpenClawconnected to ANT
⚡Routed via ANTGemini 2.5 Flash • $0.0003 • 340ms
OC
OpenClaw

OpenClaw is a fully open-source AI assistant that connects to ANT out of the box. Install it with a single command and get access to 12,500+ models through intelligent routing.

One-line install:

curl -fsSL https://antbase.ai/install.sh | bash

ANT supports all bots and agents that use the OpenAI-compatible API format. Whether you're building with LangChain, AutoGPT, CrewAI, or your own custom agent — just point it at ANT.

OpenClawLangChainAutoGPTCrewAIDifyn8nCustom Agents
hermes — autonomous coding
⚡Routed via ANTant:coder • automatic failover
H
Hermes Agent

Hermes Agent, open-source and autonomous — one command and it runs on 20,000+ models with automatic failover. Point it at ANT and let it plan, edit, and test across your codebase.

One-command onboarding:

curl -fsSL https://antbase.ai/hermes.sh | bash
ant:coderOpenAI-compatibleAutonomous20,000+ modelsAuto failover
Set up Hermes
ANT
ANT Vision
What plant is this?
Ask about photo...
⚡ANT SDKGemini 2.5 Flash • Vision
ANT
Mobile App SDK

Building AI into your mobile app has never been easier. ANT's OpenAI-compatible API means you can integrate vision, chat, and reasoning capabilities with just a few lines of code — no complex provider management needed.

Swift / iOS:

let client = ANTClient(apiKey: "YOUR_KEY")
let response = try await client.chat(
    model: "auto",
    messages: [.user("Identify this plant")],
    images: [photoData]
)

One API for chat, vision, reasoning, and embeddings

Save up to 60% on inference costs with intelligent routing

Free tier models available — start building at zero cost

No vendor lock-in — switch models without changing code