News KrakenD 3.0 Is Here: AI Router, Semantic Cache, and On-the-Fly Stream Manipulation News KrakenD Partners with AITERA Solutions to Connect Enterprise Services in Malaysia News KrakenD CE 3.0.4, EE 3.0.4 and EE 2.13.14 Update Released News What Is an AI Gateway? Architecture, Controls and Use Cases

Background Pattern

The AI & API Gateway

High-Performance Open Source API Gateway for Microservices

KrakenD is a stateless API gateway that routes, secures, aggregates, and transforms traffic to your microservices from a single entry point. Free and open source, with an Enterprise edition that adds advanced security, governance, and an AI Gateway for LLM and agent traffic.

Get KrakenD    Explore KrakenD Enterprise
KrakenD API gateway connecting clients to REST, SOAP, messaging, Lambda, WebSocket, gRPC, and AI/LLM backends
image AMC Networks logo
image Privalia-Veepee logo
image Hewlett Packard logo
image Letgo logo
image Universal logo
image America's Navy logo
image Oracle logo

Go beyond a simple reverse-proxy

What Is KrakenD and What Problems Does It Solve?

KrakenD sits between your API consumers and your backend services. Instead of rebuilding routing, authentication, aggregation, and traffic management in every microservice, you handle them once in the gateway. A mobile app that needs data from several services, for example, gets it from a single endpoint. With the Enterprise AI Gateway, the same layer also governs traffic to LLM providers and AI agents.

the api gateway pattern

Complex API integrations

Connect multiple backend services through one consistent, client-facing interface.

Too many client requests

Aggregate the responses of several services into a single API response.

Duplicated security logic

Apply authentication and traffic policies once, at the gateway, instead of in every service.

Operational complexity

Manage the API configuration in version control and ship it through your deployment pipelines.

The Fastest AI & API Gateway in the Market

80K+

requests/second on commodity hardware

Get KrakenD
bg pattern

Unprecedented throughput

Built for High Throughput and Horizontal Scalability

Core routing needs no central database and no coordination between instances, so you add nodes and throughput grows with them. Run it on Kubernetes, containers, any cloud, or on-premises.

  • Stateless design: independent instances with no shared state for core routing

  • Single binary: deploy one binary or container with its configuration

  • GitOps-ready: version, review, and automate every configuration change

Explore KrakenD Performance Benchmarks
performance comparison of api gateway

* Independent study from the IEEE Symposium on Computers and Communications (ISCC)

Essential API Gateway Features for Modern Applications

KrakenD handles the concerns shared by all your microservices, so your teams focus on business logic instead of re-implementing the same layers. The Enterprise AI Gateway extends them to your LLM and AI agent traffic. Feature availability differs between editions: see the full feature matrix.

API Aggregation

Create faster interactions with automatic API Composition and aggregation of multiple data sources into a single response.

Traffic Management

Control your traffic with rules like rate limiting, concurrent calls, shadow proxy, bot detection, circuit breaker, IP filtering, and others.

Authentication

End-User validation and gateway to service validation: JWT, Client credentials, Oauth2, OpenID, API-Keys, Basic Auth, mTLS.

Services Connectivity

Connect not only to REST APIs, but many other services like RabbitMQ, SNS, SQS, Kafka, GraphQL, gRPC, SOAP, Lambda...

Data and Protocol Manipulation

Modify the data you return to the end-user, or the payload you send to your services. Filter fields, enrich responses, convert from SOAP, JSON or XML automatically.

Monitor & Analytics

Thanks to our OpenTelemetry integrations and other exporters, you can push logs, metrics, and traces to your favorite processors or telemetry providers.

Documentation

With the OpenAPI exporter, you can automatically generate rich documentation websites. Have an OpenAPI? Then, create your API gateway using the OpenAPI specs!

GitOps Operated

Manage your API gateway exactly as you are managing the rest of the services today. Put the configuration in a version control system and delegate the needed parts to each team.

Unified LLM Interfaces

Route requests to any model (OpenAI, Anthropic, Gemini, or self-hosted) through one interface, with provider failover built in.

AI Security & Guardrails

Filter prompts and responses before they reach your users or your models. Detect prompt injection and data leaks at the gateway.

Token & Cost Control

Track and limit token consumption per user, team or endpoint. Prevent runaway AI costs before they hit your invoice.

MCP Server

Expose your APIs as tools for AI agents in seconds. Same auth, quotas and security you already trust in KrakenD.

Open source at the core

Choose the Right KrakenD Edition for Your Architecture

Every edition shares the same stateless engine and runs self-hosted on your infrastructure. Pick the one that matches your operational, security, and AI requirements.

Community Edition

The free, open source API gateway under the Apache 2.0 license. Routing, aggregation, transformation, rate limiting, JWT validation, OpenTelemetry, and an MCP Gateway to proxy your existing MCP servers, with no per-request fees.

Explore KrakenD Open Source »

Enterprise Edition

Advanced security, traffic management, and governance, with professional support and SLAs. Unlimited requests and APIs on every plan, with flat, predictable pricing.

Explore KrakenD Enterprise »

AI Gateway

LLM routing with failover, prompt guardrails, token and budget control, semantic caching, and an MCP Server for AI agents. Built into the Enterprise binary, not a separate product.

Explore KrakenD AI Gateway »

Use cases

When Is KrakenD the Right AI & API Gateway?

KrakenD fits teams that value stateless deployment, API aggregation, declarative configuration, and control over their infrastructure. When you compare gateways, weigh throughput, latency, security, deployment dependencies, licensing, and total cost of ownership. Compare Community and Enterprise features.

Microservices Architecture

Connect distributed services and expose unified APIs without duplicating gateway logic in each one.

Backend for Frontend

Build client-specific responses for web, mobile, and partner applications from the same services.

The BFF pattern »

Application Modernization

Put the gateway in front of a monolith and move capabilities to microservices one route at a time.

Monolith to microservices »

Cloud and Hybrid Infrastructure

Run the same gateway on Kubernetes, any cloud, or your own data center, managed from Git.

Enterprise AI Governance

Apply centralized controls to LLM requests and AI agent traffic with the Enterprise AI Gateway.

AI governance »

AI Agents and MCP

Expose your existing APIs as tools that AI agents can call, with the same authentication and quotas, through the Enterprise MCP Server.

KrakenD MCP Server »

What People are Saying

Trusted by the world's largest companies.

Postman image
KrakenD represents a renaissance of innovation and investment in the API gateway and management space by challenging the established players with a more lightweight, high performance, and modern gateway for API publisher to put to work across their API operations, while also continuing to establish the Linux Foundation as the home for open API specifications and tooling that are continuing to touch and shape almost every business sector today
Chief Evangelist, Postman

Kin Lane

Chief Evangelist, Postman

Hepsiburada image
At Hepsiburada we have a massive amount of traffic and a complex ecosystem of around 500 microservices and different datacenters. Adding KrakenD to our Kubernetes clusters has helped us reduce the technical and organizational challenges of dealing with a vast amount of resources securely and easily. We have over 800 containers running with KrakenD and looking forward to having more.
Engineering Director, Hepsiburada

Alper Hankendi

Engineering Director, Hepsiburada

Gundlach Automotive image
KrakenD is working on our production environment like a charm. Its documentation is well structured and comprehensive at once; so we were able to discover and activate new features without any difficulties.
Senior Full-Stack Developer, Gundlach Automotive

Martin Gilles

Senior Full-Stack Developer, Gundlach Automotive

IBM image
I've chosen KrakenD because of its simplicity, statelessness, immutability, and performance.
Tech Lead Cloud Infrastructure, IBM

Fabijan Bajo

Tech Lead Cloud Infrastructure, IBM

Single.Earth image
We have implemented KrakenD and I must say that I am very impressed how easy the installation and configuration process has been. The documentation is one of the best I have ever seen.
Software Architect, Single.Earth

Märt Suga

Software Architect, Single.Earth

Smart Tribune image
Flexibility, performance and robustness are defining KrakenD just to name a few, we were able to quickly and easily build a robust gateway for our systems and we keep enjoying it everyday.
CTO, Smart Tribune

Samy Lastmann

CTO, Smart Tribune

lastminute.com image
KrakenD played a vital role in our API transformation journey by protecting our business platforms boundary and exposing the business capabilities in a standard way to both internal and external audience.
Enterprise Architecture, lastminute.com

Stefano Leopizzi

Enterprise Architecture, lastminute.com

Culture Amp image
I don't need to think about KrakenD, it just works.
Platform Engineering Lead, Culture Amp

Dave McPherson

Platform Engineering Lead, Culture Amp

Ardan Studios image
I'm excited to hear that KrakenD framework is being brought into the family of open source projects managed by the Linux Foundation. I believe this shows the global community the commitment KrakenD has to keeping their technology open source and free to use. With the adoption that already exists, and this new promise towards the future, I expect amazing things for the product and the community around it.
Managing Partner, Ardan Studios

William Kennedy

Managing Partner, Ardan Studios

Skalena image
The Opensource model always was a great proof of innovation and nowadays a synonym of high-quality products and incredible attention with the real needs from the market (Customer Experience). The Linux Foundation is one of the catalysts of incredible solutions, and KrakenD and now Lura would not have a better place to be. With this move, I am sure that it is a start of a new era for this incredible solution in the API Gateway space, the market will be astonished by a lot of good things about to come.
Founder and partner, Skalena

Edgar Silva

Founder and partner, Skalena

Ahgora Sistemas image
It seems that KrakenD does not exist because it hasn't caused any problems so far and is really fast, as promised.
Head of Technology, Ahgora Sistemas

Celso Zavatti

Head of Technology, Ahgora Sistemas

Openroom Inc. image
KrakenD allowed us to focus on our backend and deploy a secure and performant system in a few days. After more than 2 years of use in production and 0 crash or malfunction, it also has proven its robustness
CTO, Openroom Inc.

Jonathan Muller

CTO, Openroom Inc.

Stayforlong image
KrakenD makes it easier for us to manage authentication, filter bots, and integrate our apps. It has proved to be stable and reliable since day one. It is wonderful!
CTO, Stayforlong

Raúl M. Sillero

CTO, Stayforlong

Coop Atlantique image
We began by creating a model with the community version to assess its capabilities. Once we confirmed that this tool met our needs, we opted for an enterprise license. Simply to benefit from tools that facilitate integration into our model and address specific requirements of our architecture in terms of security, data transformation, and authentication management.
Senior Engineer, Coop Atlantique

Nicolas Gabetty

Senior Engineer, Coop Atlantique

It must be mentioned again how speedy KrakenD folks are to responding and how helpful it is. It feels like we're working with a team that works here in Paylocity
Senior Software Engineer, Paylocity

Dannie Walker

Senior Software Engineer, Paylocity

Get Started with KrakenD and Build APIs with Confidence

Start building with KrakenD Community Edition, the free and open source API gateway. Run it from a single binary or container, follow the installation guide, and configure your first endpoint to connect an application with its backend services.

$ docker run -p 8080:8080 krakend run -c krakend.json

For advanced requirements, KrakenD Enterprise adds capabilities and professional support. Request an Enterprise Demo or explore customer stories.

bg gradient pattern

Stay up to date with KrakenD releases and important updates