Production system — real numbers only

Route to the cheapest model.
Pay for cloud only when needed.

muLLM classifies every query in microseconds and sends it to local inference, semantic cache, or the cheapest cloud model that can handle it. 88% of queries cost nothing.

0% Cost Reduction
0% HumanEval
0µs Route Decision
0% Free Queries
0%
Cost Reduction in Production
$10.86
Actual vs $449 Estimated
0%
MultiPL-E (6 languages)
0%
Cache Hit Rate (organic)
$0.00066
Per-Query GPU Economics

Three tiers. One goal: $0.

Every query cascades through cost tiers, stopping the moment a tier can answer confidently.

Local First

Groundtruth pattern matching answers deterministic questions in under 1ms — zero AI, zero cost. A local 30B model handles everything else that doesn't need the cloud. No round-trip. No API key consumed.

88% of all queries handled free

Cache Smart

ChromaDB semantic cache finds near-duplicate queries with cosine similarity. 70% hit rate on organic usage. The cache learns your usage patterns — it gets smarter every day without any configuration.

70% hit rate on repeat usage

Cloud Only When Needed

When local and cache can't answer, the router picks the cheapest cloud model capable of the task — Gemini Flash for simple reasoning, GPT-4o only for genuinely hard work. No vendor lock-in.

~12% of queries reach cloud

Four decisions. Microseconds each.

Every query passes through a deterministic cascade — fastest tier first, cloud tier last.

01

Groundtruth

12.7% of all queries. Pattern-matched against a curated fact database — HTTP codes, git commands, Big-O complexity, math, CUDA setup, POSIX signals.

<1ms
02

Semantic Cache

ChromaDB vector search against all prior responses. 70% hit rate on organic usage. Threshold: 0.98 cosine similarity.

~8ms
03

Local 30B

Qwen-3.5 9B on RTX 5090. 100% HumanEval pass@1. Handles code, analysis, writing, math — everything that doesn't require live data.

200–800ms
04

Cloud Router

DeBERTa classifier (82.4% accuracy, 44MB CPU) selects the cheapest model: Gemini Flash 1.5 first, GPT-4o only for complex multi-step tasks.

800ms–4s

Real numbers. No asterisks.

Every result is reproducible. Local model, local hardware, real benchmark datasets.

muLLM benchmark results
Benchmark Score Cost Tier Notes
HumanEval pass@1 100% $0.00 local 164/164 tasks, Qwen 9B, no cloud
MultiPL-E (6 languages) 98.3% $0.00 local JS, Python, Go, Java, Rust, C++
Router Accuracy 82.4% $0.00 classifier DeBERTa-v3-small, 44MB, CPU-only
Routing Latency (groundtruth) 23µs $0.00 tier 0 vs 200–800ms cloud RTT
Semantic Cache Hit Rate 70% $0.00 cache Organic usage; 30% on novel queries
Production Cost Reduction 97.6% — observed $10.86 actual vs $449 estimated direct-to-cloud

Full results → RouterBench · MegaBench · Accuracy Report

50–70% savings even on a laptop.

The local AI tier needs a GPU. But two of the four routing tiers are CPU-only, and smart cloud routing saves money on any hardware.

Groundtruth answers common questions in under 1ms without touching any model. The semantic cache returns prior answers for free. And when you do reach cloud, muLLM picks Gemini Flash ($0.075/M tokens) over GPT-4o ($5/M) whenever the task allows it.

50–70% estimated cloud savings
on a GPU-free machine

Tier 0: Groundtruth

12.7% of queries answered by regex pattern matching. HTTP status codes, git commands, Big-O notation — zero AI, <1ms, zero cost. Works on any hardware.

Tier 1: Semantic Cache

ChromaDB runs on CPU. Every cached query is served free forever. Warm up the cache once, save money on every repeat query permanently.

Smart Cloud Routing

When cloud is needed, the DeBERTa classifier picks the cheapest sufficient model. Simple tasks go to Gemini Flash — 40–60% cheaper than GPT-4o on those workloads.

Infrastructure for inference arbitrage.

When 95%+ of queries cost $0.00 to serve locally or from cache, flat-rate pricing creates margins that per-token cloud billing cannot match.

Charge
$0.01
GPU Cost
$0.00066
Gross Margin
$0.009
Scale
1M
Revenue
$9K

The arbitrage: charge a flat $0.01/query while serving 88% of requests at $0.00. The remaining 12% cloud queries cost ~$0.002 each on average. A million daily queries at these economics is sustainable infrastructure, not a loss leader.

Read the Paper

muLLMRouter introduces the CAA (Cost-Adjusted Accuracy) metric and a human-oracle routing dataset. Explore the full methodology behind the routing classifier and benchmark results.

View RouterBench →

Try it Now

muLLM is running live. Send a query and watch the routing decision — which tier handled it, how long it took, and what it cost. Live routing archaeology available.

Open Chat →