Eden Router v2

edenrouter.com · v2

The right model for each request

Eden Router v2 picks the model, and how hard it thinks, for every task across Anthropic, OpenAI, Google and Moonshot in ~6 µs warm / ~40 µs cold—now with 100% task-complexity accuracy, factual reliability scoring (0–100) for hallucination mitigation, and a full developer API.

Illustrative picks. The measured numbers are below.
  1. 01Read the request in ~6 µsPrefix-indexed rules with LRU memoization read the prompt for free in ~6.2 µs warm (~40 µs cold) with 100% complexity accuracy. Optionally Gemini 3.6 Flash rates borderline or open-ended prompts with hard-expert floor protection.
  2. 02Score quality & factual reliabilityEach model at each effort gets both an expected-quality score (from 8 public benchmarks and our 44-task suite) and a factual reliability score (0–100, calibrated on 432 factual questions) to suppress hallucinations on high-risk queries.
  3. 03Pick, cascade or fail overOne dial, five levels. Returns the winning model, effort, provider-native request, cross-provider failover chain, speculative cascade plan, or budget-capped batch schedule.

Eden Router v2

Faster, sharper on expert tasks, and built against hallucinations

Eden Router v2 re-architects the task analyzer, the Gemini 3.6 Flash classifier, the factual reliability engine, and the developer API.

100% complexity accuracy

0% → 100% on expert tasks

v1’s linear keyword sum capped single-domain prompts below the expert threshold (0.68), misclassifying 100% of terse expert math, systems, and compiler tasks. v2 adds structural complexity signals, domain interaction bonuses, and calibrated boundaries (0.22 / 0.48 / 0.72), reaching 100% accuracy across simple, moderate, complex, and expert benchmarks.

Hallucination mitigation first

Factual reliability (0–100)

Every (model, effort) pair carries a factual reliability score calibrated against our 432-question SimpleQA-Verified + MHFPQ evaluation and AA-Omniscience knowledge z-scores. When riskAware is on (default), high-risk medical, legal, financial, and citation queries automatically shift toward higher-reliability models and step up reasoning effort.

Sub-50 µs hot path

6.2 µs warm · 40 µs cold

Prefix-indexed phrase tables, pre-compiled regexes, and a 64-entry LRU hot-path cache route ~160,000 cached prompts/sec (~25,000 cold prompts/sec) with zero network calls. When Gemini 3.6 Flash classification is enabled, a 256-entry LRU cache and in-flight request coalescing eliminate duplicate ratings.

Production orchestration

Failover, cascades & batch budgets

Built-in cross-provider failoverChain for high availability, 2-stage speculative planCascade (fast draft + frontier verifier, automatically bypassed when hallucination risk is high), and greedy marginal-utility routeBatch under a strict maxTotalCostUSD cap.

Eden Router v1 vs. Eden Router v2 benchmark comparison
Eden Router v1 versus Eden Router v2
MetricEden Router v1Eden Router v2
Expert task detection accuracy0% (capped below 0.68)100% (calibrated 0.72 threshold + expert floor)
Overall 4-tier complexity accuracy62.5%100%
Routing latency (warm / cold)~210 µs / ~210 µs6.2 µs warm / 40 µs cold
Hallucination & factual risk routingNone (capability only)Per-(model, effort) reliability (0–100) + assessRisk + effort boost
Gemini 3.6 Flash classifierUncoalesced, could downgrade hard expert tasks256-entry LRU + in-flight coalescing + hard-expert floor (≥ 0.78)
Developer API endpoints/v1/chat/completions, /v1/route, /v1/models, /v1/usage+ /v1/route/failover, /v1/route/cascade, /v1/route/batch, /v1/openapi.json

Measured

Move the dial, see what it does

44 graded tasks, simple to expert, run on 18 models (13 October 2026). Each dot is one way of choosing: coral for the router, light for always using one model. Further up passes more; further left costs less.

Optimize for

Level 3 passes 93% of tasks at $0.013 each: 2.4× cheaper than always using Claude Opus 5.5, and 1.7× the cost of always using GPT-6.1 Sol, which passed 100%.

40%50%60%70%80%90%100%$0.001$0.003$0.01$0.03Cost per task, log scale (cheaper →)Tasks passedSolOpusLunaHaikuIdealL1L2L3L4L5

Hover or focus a dot for its numbers.

Passed = scored 0.70 or more. Claude costs are the price of the answer’s own tokens at API rates. L1–L5 are the router at each level.

The same numbers as a table
Router levels and single-model baselines
SettingPassedMean scoreCost per task
Level 1 · max efficiency86%0.85$0.0035
Level 2 · efficient91%0.90$0.0058
Level 3 · balanced (default)93%0.95$0.013
Level 4 · performance98%0.99$0.024
Level 5 · max performance95%0.98$0.029
Always GPT-6.1 Sol100%1.00$0.0078
Always Claude Opus 5.5100%1.00$0.031
Always GPT-6 Luna84%0.83$0.00065
Always Claude Haiku 4.550%0.51$0.0071
What this says, plainly. Against always using a flagship model, the router is much cheaper: level 3 passed 93% for $0.013 a task, while Claude Opus 5.5 on every task cost $0.031. But one strong, cheap model, GPT-6.1 Sol, passed every task for $0.0078, and on this set the router did not beat it. An ideal chooser that knew each task’s best cheap model would have spent about a third of that ($0.0027 a task). The router is the practical way to get close without knowing in advance, and closing that gap is what we are working on.

How we measured

Graded tasks, keys we computed ourselves

The test

  • 44 tasks: 9 simple, 12 moderate, 13 complex, 10 expert. 38 graded by rule, 6 by an AI judge with fixed rubrics.
  • Every answer key is computed and cross-checked by a second, independent method.
  • 18 models from Anthropic, OpenAI, Google and Moonshot, each at the effort it was measured at.
  • The router ran on rules alone and made no model calls of its own.

Limits

  • Small sample. 44 tasks, one run each. Gaps of a few points between levels are within noise.
  • Our tasks, not yours. They lean toward exact computation and code.
  • Prices and models move. These are October 2026 prices and versions.
  • One judge is also a contestant. The AI judge for six tasks is one of the models compared.

EVES

Checking the answer too

EVES is Eden’s verification system. It checks claims against the web before it answers, and says when it doesn’t know. On 432 factual questions it stated something false 9.7% of the time.

It also declined to answer more often (about 21% of questions), and part of its lead comes from web search. Method and limits

The Eden Router v2 APIprivate beta

One OpenAI-compatible endpoint plus dedicated routing, failover, cascade and batch endpoints. Send a chat request with your own provider keys; Eden Router v2 picks the model and effort among the providers you sent a key for, weighs factual reliability on high-risk prompts, calls the provider, and returns the answer with full x_eden telemetry.

Invite only for now: one key per client, made by us. Server to server only (no browser calls). We keep your key hashed (SHA-256) and log numbers only (time, model, tokens, cost, latency, status), never prompts, answers or provider keys.

curl https://edenrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $EDEN_ROUTER_KEY" \
  -H "x-openai-key: $OPENAI_API_KEY" \
  -H "x-gemini-key: $GEMINI_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "eden-router:level-3",
       "x_eden": {"risk_aware": true, "classifier": "auto"},
       "messages": [{"role": "user", "content": "Refactor this to fix a race condition"}]}'
from openai import OpenAI

client = OpenAI(base_url="https://edenrouter.com/v1", api_key=EDEN_ROUTER_KEY,
                default_headers={"x-anthropic-key": ANTHROPIC_API_KEY, "x-gemini-key": GEMINI_API_KEY})
r = client.chat.completions.create(model="eden-router", messages=[{"role": "user", "content": "Hi"}],
                                   extra_body={"x_eden": {"efficiency": 70, "performance": 60, "risk_aware": True}})
print(r.choices[0].message.content, r.model, r.x_eden["reliability"], r.x_eden["actual_cost_usd"])

Models: eden-router (balanced) or eden-router:level-1 (max efficiency) to level-5 (max performance). Optional x_eden: efficiency and performance (0–100), providers (openai, anthropic, gemini, moonshot), classifier (off, auto, always: a Gemini 3.6 Flash rating on your Gemini key, about $0.0005), risk_aware (boolean, default true: shifts high-risk factual queries toward higher-reliability models and steps up effort). Provider keys: x-openai-key, x-anthropic-key, x-gemini-key, x-moonshot-key. Streaming ("stream": true) works as in OpenAI's API. Every answer carries x_eden: the model, effort, factual reliability (0–100), risk assessment, estimated and actual cost, and the rationale. On a provider error before any text, it tries the router's next pick once.

Routing & orchestration endpoints (no provider call): POST /v1/route (single decision with reliability & risk), POST /v1/route/failover (provider-diverse failover chain), POST /v1/route/cascade (2-stage speculative cascade with high-risk safeguard), POST /v1/route/batch (budget-constrained batch optimization under max_total_cost_usd), GET /v1/models, and GET /v1/usage (your requests and daily totals). Limits per key: requests a minute and a daily spend cap; past them you get a 429.

Ask to join the beta

API & benchmark updates

Get the Eden Router v2 benchmark & API onboarding brief

Receive our engineering notes on sub-50 µs complexity classification, speculative cascades, and private-beta API access.