Skip to content

Mercury Flux is Mercury Technology Solution's AI cost optimization layer: a multi-model router that sends each task to the cheapest capable tier (local, cheap, mid, premium), verifies quality with deterministic tests, and learns from outcomes. It is the cost-effective update to Mercury Core and can run as a Booster Pack on Core or as a standalone service.

[ SYS: MERCURY_FLUX // STATUS: ROUTING ]

AI spend that
flows to the right model.

Sends each AI task to a model that can do it, including one you already run. The cost stays visible. It does not replace the ERP.

FLUX ROUTER — LIVETASKS0 inFLUXtriage · routelocal · self-hostedcheap · haiku-classmid · deepseek-classpremium · opus-class
0Tasks routed
0%Premium share
Definition

What Mercury Flux is

Mercury Flux is the AI cost optimization layer from Mercury Technology Solution. It is the cost-effective update to Mercury Core: a multi-model router that sends every task to the cheapest capable tier (local, cheap, mid, premium), verifies quality with deterministic tests, and ledgers every token. Install it as a Booster Pack on Mercury Core, or run it as a standalone service with no Core license.

Key takeaways
  • Flux is the cost-effective update to Mercury Core — same family, cheaper path.
  • It also runs standalone. No Core license is required to route, ledger, or verify.
  • Typical savings are 60–75% versus an all-premium baseline on mixed-difficulty work.
  • Quality is gated by real tests. Cheap models cannot silently degrade output.
  • Herdr Core is open source. Flux Cloud and Flux Intel are optional commercial layers.
01 / The problem

You're overpaying for intelligence you don't use.

$$$ → $

Premium prices for junior work

Renaming config keys doesn't need a $15/M-token model. Neither does 70% of your workload — but that's what you're paying for it.

1 vendor

Locked to one provider

Every switch means rewrites, retesting, renegotiation. So you never switch — and your provider's pricing team knows it.

???

A black-box bill

AI spend lands on the credit card with no breakdown by feature, project, or client. Good luck defending it at budget review.

02 / How it works

One layer between you and every model.

Flux sits above the providers. Swap any model by editing one config line — adopt next quarter's cheaper model this afternoon, not next sprint.

01

Triage

A lightweight classifier scores each task's difficulty — trivial to expert — for fractions of a cent.

02

Route

Tasks flow to the cheapest capable tier: local → cheap → mid → premium. Speculative execution tries cheaper first.

03

Verify

Deterministic tests run in a sandbox before any model reviews anything. Shaky approvals get a second opinion.

04

Learn

Outcomes feed back into routing. The engine gets sharper — and cheaper — every week it runs.

router.config.yaml
your entire integration
Works with the providers you already pay — Claude, GPT, DeepSeek, Qwen, or your own vLLM/Ollama GPUs.
03 / The numbers

Measured on your workload, not our slide deck.

60–75%typical cost reduction vs. all-premium baseline
$0marginal cost on the self-hosted local tier
<1 dayto adopt a newly launched model
100%of tokens ledgered, per project, auditable

Savings depend on workload mix — the Flux dashboard shows yours exactly, from your own runs. Figures are versus an all-premium baseline on mixed-difficulty work.

04 / Why teams choose Flux

An asset that compounds, not a bill that grows.

01

It learns your codebase

The learning router tracks which tier succeeds at which task type in your repos and adjusts automatically. Your routing intelligence never leaves your infrastructure.

02

Quality is enforced, not hoped for

Real test suites gate every change; low-confidence approvals trigger an automatic second opinion. Cheap models can't quietly degrade output.

03

It never goes down

Per-provider circuit breakers with automatic failover up the tier ladder. One provider's outage is your non-event.

04

Built for agencies

Hard per-project budgets mean Client A can never burn Client B's tokens. Every dollar attributed, every run ledgered.

05

Self-host friendly

Route routine work to your own GPUs at zero marginal cost. Rent what's spiky, own what's predictable.

06

CFO-ready

Spend per project, per stage, per feature — with savings vs. baseline on one dashboard. AI goes from black-box expense to managed portfolio.

05 / Open core

Open at the core. Yours at the edges.

The routing engine is open source — audit it, fork it, self-host it, never pay us a cent. Commercial layers add hosted intelligence.

Open sourceFree · forever

Herdr Core

Full routing engine + 4-tier ladderLearning router + outcome trackingLocal ledger and cost dashboardCircuit breakers and failover
CloudPer project · pays for itself in one saved premium day

Flux Cloud

Everything in Herdr CoreHosted dashboards and alertingTeam budgets and rolesSlack / webhook cost alerts
EnterpriseCustom

Flux Intel

Everything in Flux CloudCross-fleet routing benchmarks from opt-in anonymized dataSSO, audit export, SLABooster Pack install on Mercury Core

Ready when you are

Stop paying senior prices for junior work.

pip install mercury-flux

five minutes to your first routed run · MIT-licensed core

FAQ

Frequently asked questions

What is Mercury Flux?
Mercury Flux is an AI cost optimization layer. It routes every task to the cheapest model that can do it well, verifies quality with real tests, and ledgers every token. It is the cost-effective update to Mercury Core and can also run as a standalone service.
How does Flux relate to Mercury Core?
Mercury Core is the human-agent operating system — shared memory, unified interface, Booster Packs. Flux is the routing and cost layer. Install Flux on Core when you want routed spend inside the same substrate. Run Flux standalone when you need the ledger and quality gates without the full OS.
Can Flux run without Mercury Core?
Yes. Flux is pip-installable and self-host friendly. Herdr Core — the routing engine — is open source. No Core license is required to route, ledger, or verify.
Will cheap models lower quality?
Quality is gated, not hoped for. Deterministic tests run in a sandbox before any model reviews a change. Low-confidence approvals trigger a second opinion up the tier ladder. Cheap models cannot silently degrade output.
What is Herdr Core?
Herdr Core is the open-source routing engine inside Mercury Flux. Developers meet Herdr Core on GitHub; buyers meet Mercury Flux on this site. Flux Cloud and Flux Intel are the commercial layers on top.
How fast can we start?
Five minutes to the first routed run: pip install mercury-flux, drop in router.config.yaml, point at the providers you already pay. Core customers can snap Flux in as a Booster Pack without rewriting agent skills.