TL;DR — Higress is an Istio+Envoy-based API gateway, born at Alibaba, rebuilt around AI. One unified protocol fronts every LLM provider, with token quotas, semantic caching, multi-key load balancing, content safety, and grayscale rollouts. Its trick is Wasm plugins (Go/Rust/JS) hot-loaded with zero downtime — and it can turn any REST API into an MCP server.
What it is
Higress is a cloud-native, AI-native API gateway with an Istio + Envoy kernel, open-sourced under Apache 2.0. It connects to all mainstream LLM providers (international and Chinese) through one unified protocol, and extends through a rich Wasm plugin system. In the AI Native landscape it sits in AI Native Infra › Gateway as a full ingress gateway that doubles as an LLM and MCP gateway.
Why it exists
Higress was born inside Alibaba to fix two production pains: NGINX/Tengine reloads dropping long-lived connections, and weak load balancing for gRPC/Dubbo. Both get worse in the AI era — LLM streaming holds connections open for minutes. Using Envoy's xDS, Higress pushes config changes in milliseconds with no reload, which matters enormously for SSE streaming and gRPC.
How it works
The Istio control plane + Envoy data plane do the routing; behavior is layered on as Wasm plugins. Plugins run in a sandbox (memory-safe), can be written in Go/Rust/JS, version independently, and hot-update without dropping traffic. The ai-proxy plugin is what normalizes provider protocols; other plugins add quotas, caching, safety, and MCP.
Fig 1 — Envoy data plane; AI behavior added as hot-swappable Wasm plugins.
AI Gateway features
- Unified LLM protocol — one secure endpoint, switch models behind it; flexible multi-model switching with fallback retries.
- Token quota & rate limiting — per-key token budgets and limits; multi-API-key load balancing across keys.
- Semantic caching — cache responses by meaning to cut cost and latency on repeat queries.
- Content safety — compliance/guard filtering for prompts and responses.
- Grayscale rollouts & cost auditing — canary new models; audit per-call spend.
- Smart load balancing — newer strategies: minimum-load (Wasm), global-least-request (Redis), and prompt-prefix matching to reuse warm backends.
MCP & the marketplace
Higress hosts MCP servers through its plugin mechanism, so agents can call tools through the gateway. With openapi-to-mcp you convert an OpenAPI spec into a remote MCP server in minutes, complete with auth, rate limiting, and observability. Its open MCP Marketplace (HiMarket / mcp.higress.ai) is aimed at enterprises with many existing REST APIs that want to expose them to agents fast — "API is MCP."
Quick start
Quickest local try is the standalone Docker install; for clusters use Helm:
# standalone (Docker)
curl -fsSL https://higress.cn/ai-gateway/install.sh | bash
# Kubernetes (Helm)
helm install higress oci://higress.cn/charts/higress -n higress-system --create-namespace
Then open the console, add an LLM provider + key, and call the gateway with an OpenAI-style request. Switching providers is a console/config change, not a code change.
When to use, when to skip
Use it when you want one gateway for ingress + AI, lean on streaming/gRPC heavily, need semantic caching or content safety out of the box, or want to expose existing REST APIs as MCP servers quickly. Strong fit if you value the Wasm-plugin extensibility or run in the Alibaba/China ecosystem.
Skip it for a tiny app — LiteLLM is lighter. If you're standardizing strictly on the Kubernetes Gateway API, kgateway or Envoy AI Gateway align more closely with that spec.
vs the alternatives
| Tool | Best for | Trade-off |
|---|---|---|
| Higress | Wasm-plugin extensibility, streaming, semantic cache, API→MCP | Own config model; Istio footprint |
| kgateway | Gateway-API-native, inference-aware routing | Gateway API learning curve |
| Envoy AI Gateway | Focused AI-only CRDs on Envoy | Younger, narrower |
| LiteLLM | Fast app-level multi-provider proxy | Not a full ingress gateway |
References
- What is Higress — official overview + docs.
- higress.ai — AI gateway product site.
- alibaba/higress — source, plugins, releases.
- HiMarket / MCP Marketplace — API-to-MCP marketplace.
Extra reads
- API is MCP — the marketplace launch — the REST→MCP pitch.
- From ingress-nginx to Higress — migration story.
- Beyond NGINX Ingress — why reloads hurt AI.
- Higress notes — Jimmy Song — concise architecture take.
Verified against the official Higress docs (higress.cn / higress.ai) and project sources, May 2026.
Where Higress fits: the mental model
Higress is a control-plane component that routes, schedules, or reliably executes AI work across services. The useful question is not simply “can it run the demo?” It is whether the component gives your team a clear ownership boundary, predictable failure behavior, and enough evidence to operate changes safely. Treat it as one replaceable layer in a larger system rather than letting it quietly become the architecture.
Start by drawing the request and data path. Mark where untrusted input enters, where identity is checked, where durable state changes, and where retries can repeat work. That diagram tells you which guarantees belong to Higress and which still belong to your application, platform, cloud provider, or database. The distinction matters during incidents: a healthy process is not proof that the end-to-end task is correct.
Core concepts you should understand first
The vocabulary below is more important than any single SDK method. It lets application engineers, platform engineers, security reviewers, and incident responders describe the same system without confusing a framework feature with an end-to-end guarantee.
| Concept | Meaning in this layer | Design question |
|---|---|---|
| Desired state | The versioned configuration describing what should run, route, or be deployed. | Write down how Higress represents or enforces this before production. |
| Reconciliation | A controller repeatedly compares desired and observed state and makes idempotent changes. | Write down how Higress represents or enforces this before production. |
| Retry policy | Which failures are retryable, delay/backoff, maximum attempts, and what happens after exhaustion. | Write down how Higress represents or enforces this before production. |
| Idempotency | The property that repeating an operation produces no additional side effect. | Write down how Higress represents or enforces this before production. |
| Backpressure | Slowing admission or producers when downstream capacity is saturated. | Write down how Higress represents or enforces this before production. |
| Rollout | A controlled transition between versions with health checks, traffic shaping, and rollback. | Write down how Higress represents or enforces this before production. |
From quick start to a production deployment
The earlier quick start proves that the package or service runs. Production readiness is a different exercise. Build the smallest vertical slice that crosses every real boundary—identity, network, persistence, upstream provider, telemetry, and rollback—before broadening the feature set.
- Pin the compatibility envelope. Record the Higress release, language/runtime version, client SDK version, model or backend version, and—where applicable—Kubernetes API or driver requirements. Use a lock file, immutable image digest, or chart version; floating “latest” tags prevent repeatable rollback.
- Define contracts before configuration. Write the accepted input, successful output, error classes, timeout, idempotency behavior, and ownership of durable state. Validate at the boundary so corrupt work fails early instead of surfacing deep in a workflow.
- Create separate development, staging, and production identities. Do not copy a broad personal API key into every environment. Prefer workload identity or short-lived credentials, scope access by tenant and operation, and verify denial cases as part of deployment.
- Add bounded failure behavior. Every remote call needs a deadline. Retry only transient, idempotent operations with exponential backoff and jitter. Set concurrency and queue limits so an upstream slowdown becomes controlled backpressure rather than resource exhaustion.
- Instrument the complete path. Emit a correlation ID, component and release version, duration, outcome, retry count, and resource or cost dimensions. Keep sensitive prompt, document, and credential values out of ordinary logs.
- Ship through a reversible rollout. Run compatibility and regression tests, deploy to a canary or isolated workload, compare service-level indicators, then increase exposure. Preserve the previous artifact and configuration until rollback has been exercised.
Production configuration checklist
- Pin artifacts by version and, where possible, digest.
- Set connect, request, and total workflow deadlines.
- Bound retries, concurrency, queue length, and payload size.
- Separate read-only operations from mutations.
- Use idempotency keys for replayable mutations.
- Persist canonical state outside disposable workers.
- Encrypt traffic and durable data with managed keys.
- Redact secrets, tokens, prompts, and personal data.
- Apply per-tenant quotas and authorization filters.
- Expose readiness separately from process liveness.
- Back up metadata and test restore, not only backup.
- Document owner, escalation path, RPO, and RTO.
Failure modes and the response you should design
| Failure mode | What you observe | Engineering response |
|---|---|---|
| Retry storm | Workers retry together and amplify an outage. | Use jitter, attempt limits, circuit breakers, and dead-letter handling. |
| Poison job | One malformed item fails forever. | Validate at admission and quarantine after a bounded number of attempts. |
| Configuration drift | Runtime behavior differs from reviewed configuration. | Continuously reconcile and alert on persistent drift. |
| Partial rollout | Old and new versions disagree on schema or state. | Use backward-compatible contracts and expand/contract migrations. |
| Control-plane loss | Existing data plane runs but changes cannot be made. | Document degraded operation, backup state, and rehearse recovery. |
| Credential fan-out | One broad secret reaches every worker. | Use workload identity and least-privilege, short-lived credentials. |
Turn these rows into runbook entries with an alert, first diagnostic query, safe mitigation, and escalation owner. Test at least one failure in staging every release cycle. If the system cannot be forced into a failure safely, it is usually not yet observable or isolated enough.
Security, privacy, and tenant isolation
Place Higress in a threat model, not just an architecture diagram. Identify human users, workload identities, administrators, upstream services, model providers, artifact registries, and data stores. For each edge, document authentication, authorization, encryption, audit evidence, and the consequence of credential compromise.
Apply least privilege at the operation and resource level. A component that only retrieves documents should not be able to delete the index; an evaluation worker should not inherit production mutation credentials; a model-serving pod should not need cluster-admin. In multi-tenant systems, enforce the tenant boundary before retrieval or execution and include tenant identity in quotas and audit events. Never rely on a prompt instruction, namespace string supplied by the client, or UI filtering as authorization.
Decide what data is permitted in telemetry. Prompts, retrieved chunks, tool arguments, model responses, notebooks, and traces can contain secrets or regulated data. Redact close to collection, keep high-sensitivity payload capture opt-in, encrypt exports, restrict support access, and give each class an explicit retention period. Verify deletion across caches, replicas, indexes, backups, and derived evaluation datasets.
Observability and service-level objectives
A useful dashboard follows the user-visible unit of work and then decomposes it by component, release, tenant tier, backend, and failure class. Start with these signals for Higress:
- queue depth and oldest age — graph both rate and distribution, then compare with the previous release and traffic mix.
- success and retry rate — graph both rate and distribution, then compare with the previous release and traffic mix.
- p95 control-plane latency — graph both rate and distribution, then compare with the previous release and traffic mix.
- backend saturation — graph both rate and distribution, then compare with the previous release and traffic mix.
- rollout failure and rollback rate — graph both rate and distribution, then compare with the previous release and traffic mix.
- configuration reconciliation lag — graph both rate and distribution, then compare with the previous release and traffic mix.
Choose an SLO at the boundary your users experience, such as “99% of accepted tasks complete correctly within five minutes over 28 days.” Availability alone is insufficient for AI systems because a fast but incorrect or ungrounded result is still a failure. Pair latency and completion objectives with a reviewed quality or policy indicator. Page on rapid error-budget burn; use tickets for slow capacity trends.
Testing and release strategy
Use four layers. Unit tests cover deterministic adapters, schemas, policy, and error mapping without a live external service. Contract tests exercise the pinned integration boundary—API, CLI, SDK, protocol, or ephemeral service—and verify its exact surface. Scenario tests exercise representative end-to-end cases, including permissions and state. Load and resilience tests establish saturation, queue behavior, retry amplification, and recovery after dependency loss.
Keep a small blocking suite for every commit and a broader scheduled suite for expensive or probabilistic checks. Store results with the application version, Higress version, configuration hash, model/backend version, dataset version, and random seed. A score without that provenance cannot explain a regression. Before upgrading, read the migration notes, run both versions against the same replay set, and explicitly test rollback across any schema or state transition.
How to decide whether Higress is the right tool
| Question | Evidence to collect | Red flag |
|---|---|---|
| Does it remove a real constraint? | A measured bottleneck, missing guarantee, or repeated custom component. | Adoption is based only on a demo or feature count. |
| Can the team operate it? | Named owner, upgrade path, alerts, runbooks, backup, restore, and on-call skills. | Only the original prototype author understands failure behavior. |
| Is the interface portable? | Your domain contracts wrap vendor-specific APIs; data and state have an export path. | Business objects are inseparable from framework internals. |
| Does it meet the envelope? | Benchmarks using your payloads, concurrency, topology, quality bar, and cost model. | Published benchmark hardware or workload does not resemble production. |
| Is failure affordable? | Tested degraded mode, bounded blast radius, rollback, RPO, and RTO. | A component outage blocks unrelated tenants or irreversible actions. |
Prefer the smallest component that satisfies the required guarantees. A provider SDK, relational table, background job, or standard Kubernetes controller is often better than another platform when the workload is small and predictable. Choose Higress when its specific abstraction removes sustained engineering work and the team is willing to own its lifecycle.
A focused 90-minute validation lab
- Minutes 0–15: run the documented quick start in a disposable environment with pinned dependencies. Save the exact commands and a known-good input/output fixture.
- Minutes 15–35: replace the toy input with one representative case from your system. Add schema validation, a deadline, and a correlation ID.
- Minutes 35–55: force invalid credentials, a timeout, malformed input, and one dependency failure. Record the observed errors and whether retries are safe.
- Minutes 55–75: run a small concurrency test and capture latency, throughput, saturation, and unit cost. Do not extrapolate beyond the tested range.
- Minutes 75–90: write the adoption decision: required guarantees met, open risks, owner, next experiment, and the simplest credible alternative.
Frequently asked questions
Should we standardize on Higress for every team?
Standardize the contracts, telemetry, security controls, and release evidence first. Standardizing one implementation is useful only when workloads share requirements and a platform team owns upgrades and support.
Can we use the hosted version and skip operations work?
Hosted service removes part of the control-plane burden, not architecture ownership. You still own identity, tenant isolation, data classification, quotas, dependency failure, observability, export, and an exit plan.
What should be pinned for reproducibility?
Pin the tool/server, client SDK, runtime, configuration, model or backend, container image digest, and test dataset. Record these values with every benchmark and evaluation result.
When is a proof of concept ready for production?
After representative success and failure tests pass, sensitive data paths are approved, limits and SLOs are defined, telemetry and runbooks exist, restore or rollback is rehearsed, and an accountable owner accepts the remaining risk.
Official sources and freshness
This guide was reviewed for architecture and operational guidance on 10 July 2026. Projects evolve quickly: verify installation syntax, supported versions, feature maturity, and upgrade notes against the exact release you deploy.