API Management at Scale, Built as One System
Most API platforms are a stack of products from different eras: a gateway here, a portal there, a mesh, an AI proxy and a pile of scripts in between. Ferrum is one design, from the gateway on the wire to the portal your developers use, and it's fast enough to prove it in public.
Five Reasons in Thirty Seconds
One gateway for every kind of traffic.
Public APIs, internal services, LLM and agent traffic, gRPC, WebSocket, raw TCP and UDP, and a SPIFFE-identity service mesh all run through one Rust binary, with one configuration model and one plugin pipeline. One thing to learn, deploy, secure and observe.
Leading or level on every protocol we benchmark.
Our public protocol benchmark runs Ferrum Edge head to head against Envoy, Kong, Tyk and KrakenD on seven protocols (plus DTLS, which only Ferrum proxies). In every ranked protocol and payload cell Ferrum leads or matches the competitor's throughput, it posts the lower p99 latency in nearly all of them, and it runs at least 2.5× Envoy's HTTP/3 throughput. Every run is public and repeatable.
Built for tens of thousands of APIs.
A scheduled CI job loads 30,000 proxies, each with its own consumer, key authentication and access control, into a running gateway in live waves, on SQLite, PostgreSQL and MongoDB. Throughput holds steady from the first wave to the last.
A suite, not a single box.
An admin panel, a developer portal, GitOps by pull request, a Rust service toolkit, a desktop API client and shared wire contracts, all designed around the same gateway. Each piece works alone; together they cover the API lifecycle.
AI-native, not AI-retrofitted.
Route one OpenAI-compatible endpoint to 11 providers with priority fallback and opt-in streaming from OpenAI-compatible providers (Anthropic and Gemini through ai_stream_router; no fallback once a stream is committed), enforce token budgets, cache semantically similar answers, and govern agent tool calls through dedicated MCP and A2A gateways.
Every Stage of the API Lifecycle, One Family
Build the service, ship its configuration, run it at the edge, operate the fleet, publish it to developers and test it end to end, with tools that understand each other.
Ferrum Edge
The gateway: API, AI and mesh traffic in one binary. File, database, control-plane/data-plane and mesh modes; an Admin API for every resource.
Ferrum Foundry
A web console for the gateway: proxies, consumers, plugins, upstreams, TLS, metrics and the audit log, across namespaces.
Ferrum Nexus
A developer portal. Providers publish OpenAPI specs; consumers browse, request access and issue their own credentials. Approvals become gateway ACL grants through the Nexus backend, with role checks and an audit trail.
GitForgeOps
Gateway configuration as YAML in a GitHub repository. Pull requests are validated against the live gateway, merges apply per environment, and a nightly check reports drift.
Ferrum Alloy
An Axum toolkit for the services behind the gateway, with verified trace context from Ferrum Edge and export to Edge file-mode YAML or a GitForgeOps tree.
Ferrum Anvil
A desktop API client for Windows, macOS and Linux. Build requests, run repeatable tests, inspect performance, and troubleshoot Ferrum Edge with explanations grounded in what actually happened.†
Ferrum Anvil v0.1.9 is an unsigned preview. Verify downloads with SHA256SUMS. macOS installers are not Developer ID signed or notarized and Windows installers have no code-signing certificate. In-app updates use verified minisign signatures; this does not code-sign the installers. Preview downloads →
One contract, every product
Ferrum Contracts publishes the shared schemas, vocabularies and conformance fixtures every product speaks, tagged to each Edge release. Each product pins a release, and its CI fails when its copy drifts, so error classes, headers and plugin catalogs mean the same thing everywhere.
Choose your control surface
Run a single file-mode gateway, drive it through the Admin API, click through Foundry, or put every change behind a pull request with GitForgeOps. All of them write the same resources, so a team can start with one and grow into another.
Self-service without losing control
Nexus lets API consumers find an API, request access and manage their own keys, while every gateway change still passes through role checks and an audit record, and Edge enforces the result on the wire.
From One Route to a Global Fleet
The same binary that runs on a laptop runs a multi-region fleet. These are the pieces large API programs lean on.
Control plane / data plane
A control plane holds the configuration and streams it to horizontally scaled data planes over gRPC. Data planes fail over between control planes and keep serving their last applied configuration up to a configurable staleness limit, then fail closed rather than run on policy they can no longer verify.
Tenancy with namespaces
Every resource lives in a namespace, and control planes can scope what each data plane receives, so one fleet can serve many teams or customers without crossing wires.
Tens of thousands of proxies
Routing, plugin resolution and authentication use pre-built indexes swapped in atomically, so the 30,000th proxy costs a request no more than the first. CI proves it every week on three databases.
Safe, live change
Batch writes through the Admin API go live without a restart and without dropping connections. Back up and restore the whole configuration, or put a gateway in read-only mode during maintenance.
Resilient under pressure
Seven load-balancing algorithms, active and passive health checks, circuit breakers, retries, an overload manager with adaptive load shedding, and graceful draining on shutdown.
Your databases, your clouds
PostgreSQL, MySQL, SQLite or MongoDB for configuration, with multi-database failover, and secrets from Vault, AWS, GCP, Azure or files.
Why Ferrum Edge Is Fast
No jargon required — three design decisions explain most of the speed.
Requests Never Wait in Line
In many gateways, every request briefly stops to check the current routing rules — like every customer in a store asking the same clerk for directions. Under heavy traffic, a queue forms. Ferrum Edge gives every request its own instant, read-only snapshot of the rules. There is no clerk, no queue, and no slowdown — even while the rules are being updated live.
No Cleanup Pauses
Gateways written in Go or Java rely on a garbage collector — a background process that periodically freezes the application to tidy up memory. Those freezes surface as random latency spikes for your users. Ferrum Edge is written in Rust, which manages memory precisely as it goes. There is no collector, so there are no collector pauses; what remains is your CPU headroom, the plugins you enable, and your backends.
No Middleman Layers
Several popular gateways are a scripting language running on top of an engine written in a different language, with translation happening on every request. Every layer adds time and complexity. Ferrum Edge is one language, top to bottom — the request path runs as native machine code with nothing lost in translation.
The result, in numbers
Head to head on the same CI runner, Ferrum Edge leads or matches Envoy, Kong, Tyk and KrakenD on throughput in every ranked cell of our protocol benchmark, with lower tail latency in nearly every cell, and runs at least two and a half times Envoy's HTTP/3 throughput. Load it with 30,000 proxies, each with authentication and access control, and throughput holds steady. Methodology and raw data are on the benchmarks page.
Benchmarked Against the Field, in Public
How far Ferrum Edge is ahead of the closest competitor on each protocol: the fastest other gateway at each payload size, measured on the same CI runner, as the median across ranked sizes from 10 KB to 5 MB (UDP uses 1 KB datagrams).
| Protocol | Closest competitor | Ferrum throughput | Ferrum p99 |
|---|---|---|---|
| HTTP/1.1 + TLS | Envoy | +13% | 5% lower |
| HTTP/2 | Envoy | +30% | 36% lower |
| HTTP/3 (QUIC) | Envoy | +171% | 66% lower |
| gRPC (TLS) | Envoy | +14% | 33% lower |
| WebSocket (TLS) | Envoy | +13% | 11% lower |
| TCP + TLS | Envoy | +9% | 9% lower |
| UDP | Kong | +12% | 44% lower |
DTLS is left out because no other gateway proxies it end to end. Full tables, methodology and raw data: protocol benchmarks · gateway comparisons.
How Ferrum Compares
Where Ferrum fits next to the tools you may already run.
vs. Kong
Kong is a mature gateway built as a Lua layer on nginx, with many advanced capabilities in its enterprise edition or a plugin marketplace. Ferrum Edge ships its whole plugin catalog in the core binary, including OIDC, OPA, WAF and the AI suite, runs the request path as compiled Rust, and pairs with its own portal, console and GitOps tooling. In our eight-protocol benchmark it out-runs Kong on HTTP/1.1, gRPC, WebSocket and TCP over TLS.
vs. Envoy / Istio
Envoy is a powerful C++ proxy, and most teams meet it through Istio: a multi-component control plane, a steep configuration model, and custom logic written as Lua, WebAssembly or native C++ filters. Ferrum Edge delivers the same mesh patterns (sidecar, ambient, waypoints, east-west and egress) with Istio resource compatibility and built-in plugins in one memory-safe binary, and it outpaces Envoy on HTTP/2, gRPC and especially HTTP/3.
vs. Tyk / Apigee / Cloud Gateways
Managed API platforms trade control and cost predictability for convenience: per-call pricing, regional constraints, and protocol support that's usually HTTP only. Ferrum is self-hosted on your terms, proxies TCP, UDP, WebSocket and gRPC alongside HTTP, gives you a developer portal in Nexus, and includes usage metering and chargeback plugins for billing internal teams.
vs. nginx / HAProxy / Caddy
Classic reverse proxies are excellent at moving bytes, and some cover the basics: nginx has built-in basic auth and rate limiting, Caddy has a live configuration API. What they leave to the operator is the rest of API management in their open-source editions: consumers and credentials, OIDC and OPA policy, AI governance, a portal and fleet tooling. Ferrum Edge covers the proxying layer, then adds the full gateway: live configuration changes with no reloads or dropped connections, an Admin API, a web console and a GitOps workflow.
vs. Dedicated AI Gateways
Point solutions like LiteLLM or Portkey govern LLM traffic but leave you running a second gateway for everything else. Ferrum Edge's AI capabilities, including 11-provider federation (opt-in streaming for OpenAI-compatible providers, Anthropic and Gemini), token budgets, semantic caching, prompt and output guardrails, tool-call governance, and MCP and A2A gateways, live in the same pipeline as your authentication, WAF and observability. One policy surface for all traffic.
Check our work
Every product above is good software with real strengths, and the right choice depends on your workload. Our benchmark harness is source available under PolyForm Noncommercial or a commercial license, and the instructions to rerun it take one command. Measure your own traffic before you decide.
What's in the Box
Capabilities included in the single Ferrum Edge binary, no add-ons required.
| Capability | Ferrum Edge | Typical Alternative |
|---|---|---|
| HTTP/1.1, HTTP/2, HTTP/3, WebSocket, gRPC, SSE | Built in | HTTP/3 and WebSocket support varies widely |
| Raw TCP and UDP proxying with TLS/DTLS | Built in | Often requires a separate L4 load balancer |
| 10 authentication methods (mTLS, OAuth2, OIDC, JWT, HMAC…) | Built in | OIDC frequently enterprise-tier only |
| WAF content threat detection | Built in | Separate product or paid module |
| AI gateway: 11-provider federation; opt-in streaming for OpenAI-compatible providers, Anthropic and Gemini | Built in | Separate AI gateway product |
| Token budgets, semantic cache, prompt/output guardrails | Built in | Rare; usually third-party add-ons |
| MCP and Agent-to-Agent (A2A) gateways | Built in | Emerging; typically unavailable |
| Service mesh with SPIFFE identity and mTLS | Built in | Separate mesh (Istio, Linkerd) to operate |
| Kubernetes Gateway API + Istio resource translation | Built in | Partial or vendor-specific CRDs |
| Live config updates with zero dropped connections | Built in | Reload-based; may drop long-lived connections |
| Usage metering & chargeback for internal billing | Built in | Enterprise tier or external analytics |
| Secrets from Vault, AWS, GCP, Azure, or files | Built in | Varies; often manual integration |
Built for Teams of Every Size
Individual Developers
Download one binary, point it at a YAML file, and you have a production-grade gateway in two minutes — no database, no license key, no cloud account. Free for noncommercial use, with mock responses and fault injection built in for local API development.
Startups & Product Teams
One system covers your public API, your internal services, and your LLM spend — so a small team isn't operating three platforms. Token budgets and semantic caching keep AI costs contained; the Foundry admin panel and the Admin API keep day-two operations simple.
Enterprises
Control Plane / Data Plane distribution, multi-region failover, SPIFFE workload identity, OPA policy, WAF, compliance-grade AI transcript auditing, chargeback for internal cost allocation, and secrets integration with your existing vault — with commercial licensing and the entire codebase available for audit.
Every Protocol, One Gateway
Consolidate your infrastructure. One gateway for HTTP APIs, gRPC services, WebSocket connections, streaming, and raw TCP/UDP — with or without TLS.
See for Yourself
Start with the file-mode quick start: no database, running in minutes. Then put it next to whatever you run today and compare.