KrakenD vs Apache APISIX

KrakenD suits teams that want a configuration-led gateway on an Apache-2.0 Community Edition with an optional Enterprise tier. Apache APISIX suits teams that want etcd-backed dynamic configuration and a large plugin catalog. The choice turns on support needs, etcd appetite, custom code and AI requirements.

On this page

KrakenD vs Apache APISIX: when each one fits

A platform team that must choose a self-hosted API gateway, with KrakenD and Apache APISIX both on the shortlist, should start with the operating model it wants. KrakenD fits a configuration-led gateway, available as a Community Edition under the Apache License 2.0, with an optional Enterprise tier for teams that need security and governance features and vendor support. Apache APISIX fits teams willing to run an etcd-backed gateway, with a large built-in plugin catalog and custom plugins written in Lua or in several other languages through plugin runners. Both are Apache-2.0 at the core, so the license rarely decides the choice. Five checks usually do: support requirements, appetite to run etcd, custom code needs, AI gateway requirements and identity flows.

Support and etcd come first. KrakenD's Enterprise Edition adds security and governance features and 24/7 support backed by SLAs, but its pricing is not published, so request a written quote and the exact SLA terms before comparing. APISIX is an Apache Software Foundation project, and its downloads page does not mark any release as long-term support, so ask any commercial provider, such as API7.ai, what support it offers and for how long. On etcd, APISIX's traditional and decoupled deployment modes depend on an etcd cluster, while standalone mode loads configuration from a YAML or JSON file or the API. If your team has no etcd operating experience, budget that effort explicitly or confirm whether standalone mode fits your change process.

Custom code, AI and identity flows are the checks that most often change the answer. KrakenD lists custom code extensions among its features, so confirm which languages and extension points the Community Edition supports for your code. APISIX runs Lua plugins inside worker processes and reaches Java, Go and Python through external plugin runners, while WebAssembly support is still experimental. KrakenD describes LLM routing, prompt guardrails, token budgets and a built-in MCP server as part of its AI Gateway, offered with Enterprise, so an AI requirement may move the KrakenD option to a paid tier. APISIX also lists AI gateway functions among its more than 100 built-in plugins, so confirm which ones your use case needs. For identity, the openid-connect plugin works with Keycloak, Auth0, Microsoft Entra ID, Google and Okta, covering authorization code, client credentials, token introspection and PKCE. Map each application's login flow against both products before you shortlist.

KrakenD vs Apache APISIX by scenario: which one fits your team

This table maps six common team situations to the platform that fits better and names what to confirm before deciding. Read each row as a starting point, because the answer often depends on your edition, your plugin languages and your identity setup. In short, Apache APISIX suits teams that want open-source plugin breadth and etcd or file-driven configuration, while KrakenD suits teams that want a free Community Edition and may evaluate Enterprise for AI and governance features.

ScenarioBetter fitWhy, and what to confirm
Open-source gateway now, paid support possibly laterKrakenDCommunity Edition is described as free with no limitations. Enterprise adds security, governance and 24/7 support with SLAs. Confirm Enterprise pricing with sales.
Team already operating etcdApache APISIXTraditional and decoupled modes store configuration in etcd, so existing cluster skills carry over. Confirm etcd sizing and backup ownership before choosing.
Custom plugins in Java, Go or PythonApache APISIXPlugin runners support these languages, and Lua runs inside workers. WebAssembly is still experimental. Confirm KrakenD's custom code model for your language.
AI traffic governanceKrakenD if Enterprise is acceptable, otherwise APISIXKrakenD lists LLM routing, prompt guardrails, token budgets and an MCP server in its Enterprise AI Gateway. Confirm which of these controls APISIX plugins cover for you.
SSO through Keycloak or Microsoft Entra IDApache APISIXThe openid-connect plugin works with Keycloak and Entra ID and supports authorization code, introspection and PKCE flows. Confirm KrakenD's OIDC setup for your edition.
Configuration as files, with no shared databaseApache APISIXStandalone mode reads YAML or JSON files or an API, with no etcd. Confirm standalone limits for your change process and how KrakenD reloads file-driven configuration.

How APISIX's three deployment modes change what you operate

The deployment mode you pick for APISIX sets what you back up, how you upgrade and who gets paged. Traditional, decoupled and standalone modes differ mainly in where configuration lives and how many moving parts sit in your on-call path, while KrakenD takes a different configuration-driven route that you should check against its docs before comparing.

APISIX traditional mode

Traditional mode runs the data plane and control plane together, so every node serves client traffic and talks to etcd. Client requests arrive on port 9080 and the Admin API listens on port 9180, so firewall rules, health checks and load balancer targets must account for both. For backups, etcd holds the configuration you must protect, since routes and plugin settings live there. Upgrades affect serving and admin paths on the same host, so plan a rolling sequence and confirm the order in the APISIX upgrade notes. On call, a configuration fault and a traffic fault can land on the same node.

APISIX deployment modes

APISIX decoupled mode

Decoupled mode splits the data plane from the control plane, and both share one etcd cluster. That lets you scale gateway nodes without exposing admin endpoints on every edge host, but it makes etcd a shared dependency that affects every data plane reading from it. Backups cover the etcd cluster as one unit, so restore tests should include a data plane reconnecting to it. Before any upgrade, confirm version compatibility between the two planes in the deployment modes docs. On call, name the owner of the etcd cluster, because that person is paged for gateway incidents too.

APISIX standalone mode

Standalone mode drops etcd and loads configuration from a YAML or JSON file or through the API. Your configuration becomes a versioned artifact, so backups can be file archives and git history, which suits teams that already deploy through pipelines. The risk is drift between file and API changes, so decide which source is authoritative before go-live. Confirm in the docs how the API and the file interact in this mode. On call, the first question shifts from what is in etcd to which configuration version each node is running.

KrakenD configuration model

KrakenD is configured declaratively, so its behavior lives in configuration you version, review and test. The Community Edition is Apache-2.0 licensed and free to use with no limitations, while Enterprise adds security and governance features and 24/7 support backed by SLAs. Confirm its deployment options, clustering and configuration format in the KrakenD docs before you assume they match APISIX's three modes. Backups should cover the configuration files and any state the deployment depends on. Upgrade and on-call effort depends on how the gateway is clustered, so verify that first.

KrakenD Enterprise docs

How APISIX decoupled mode splits traffic from configuration

The diagram starts with API clients, which send requests to the data plane on the client traffic side. Administrators and pipelines send configuration changes to the control plane on the administrative network. Both planes meet at one etcd cluster: the control plane writes configuration into it, and the data plane reads it to serve requests. The boundary between the two groups is the line to check. Confirm that client-facing networks reach only the data plane, that the Admin API stays on the administrative side, and that etcd accepts connections only from the two planes. Confirm listener and port settings for your topology in the deployment documentation.

Decoupled mode separates client traffic from administrative configuration writes.

KrakenD vs Apache APISIX feature by feature

This table compares KrakenD and Apache APISIX on licensing, release status, deployment, extensibility, traffic control, identity, AI features and support. Where a detail is not publicly documented here, the cell names what to confirm with the vendor. The main takeaway: APISIX has more publicly documented detail on topologies and plugins, while KrakenD's AI features and support tiers sit in its Enterprise Edition.

CapabilityKrakenDApache APISIX
License and editionsCommunity Edition is under the Apache License 2.0 and free with no limitations. Enterprise Edition adds security, governance and AI features, priced by contacting sales.Apache-2.0 licensed Apache Software Foundation project. Confirm with API7.ai whether its enterprise offering adds features beyond the open source release.
Latest releaseDocumented at version 3.0 for both editions. Confirm the current release and support window with KrakenD.3.19.0, released September 28, 2026. The downloads page does not mark it as long-term support.
Deployment modes and configuration storeNot covered in this comparison. Ask KrakenD which topologies it supports and how configuration is stored and distributed across nodes.Traditional, decoupled and standalone modes. Traditional and decoupled use etcd, while standalone reads a YAML or JSON file or an API.
Extensibility languagesCustom code extensions are listed in its docs. Confirm which languages are supported and how custom code is built, deployed and upgraded.Lua plugins run in worker processes. External plugin runners add Java, Go and Python. WebAssembly support is still experimental.
Built-in traffic control and authenticationRouting, request and response manipulation, authentication and authorization, throttling and quotas are listed in its docs.More than 100 built-in plugins cover authentication, security and traffic control. Confirm that the specific plugins you need are in your version.
ObservabilityTelemetry is listed among its features. Confirm which metrics, tracing and log formats the Community Edition exposes.Observability is one of its built-in plugin categories. Confirm the exporter and log integrations available for your monitoring stack.
AI gateway featuresEnterprise only: LLM routing, prompt guardrails, token budgets and a built-in MCP server, per its docs.AI gateway functions are listed among its built-in plugin categories. Confirm which LLM routing, guardrail and token features ship in your version.
Identity integrationAuthentication and authorization are documented. Confirm which identity providers and OIDC flows the Community and Enterprise editions support.The openid-connect plugin works with Keycloak, Auth0, Microsoft Entra ID, Google and Okta. It supports authorization code, client credentials, introspection and PKCE flows.
Support options and migration toolingEnterprise adds 24/7 support backed by SLAs, priced by sales. Confirm migration help and any tooling for moving from other gateways within the quote.Open source project. API7.ai publishes an API7 Enterprise offering. Confirm its support terms and any migration tooling with API7.ai.

What the licenses and paid editions cover for each gateway

The KrakenD Community Edition is the free edition of the gateway. The LICENSE file in the krakend-ce repository is the Apache License, Version 2.0, and the KrakenD docs describe this edition as free to use with no limitations. Your legal team should read that file directly, because it sets the terms you accept when you deploy.

  • License: Apache License, Version 2.0, as stated in the repository license file.
  • Core features: routing and forwarding, request and response manipulation, authentication and authorization, throttling, quotas, telemetry and custom code extensions.
  • Excluded items: the security and governance features and the AI Gateway belong to the Enterprise Edition, so plan for them separately if you need them.
  • Support: 24/7 support backed by SLAs is an Enterprise item. Set your own incident process, on-call rota and patch window for this edition.
  • Your costs: you pay for hosting, upgrades, testing and staff time. These recur on your own budget and grow with the number of environments you run.

Check that your security review and change process accept an edition without a vendor SLA before you standardize on it.

What drives the running cost of KrakenD and APISIX

Neither gateway's open-source edition carries a license fee, so the running cost sits elsewhere. Most of the budget goes to the infrastructure you operate, the staff who maintain extensions, and the support and upgrade work that keeps each version current. The five cards below set out each driver and end with what to request in a written quote.

Infrastructure and state stores

Both gateways run in your own cloud accounts, data centers or air-gapped networks, so compute, load balancing, logging and on-call capacity are your costs under either option. APISIX traditional and decoupled modes add an etcd cluster that you must size, back up and monitor alongside the gateway nodes. Standalone mode removes etcd, but it moves configuration into files or the Admin API, so check how changes are reviewed and recorded. Ask each vendor for its recommended node count per environment.

Deployment modes

Skilled staff for extensions

Plan for the skills each extension model requires. APISIX plugins written in Lua run inside worker processes, so the team extending them needs Lua and NGINX knowledge. Other languages go through external plugin runners, which add a process your team must deploy and operate. KrakenD extensions use custom code, so confirm with KrakenD which languages and build steps it needs. Check that these skills exist in-house before you choose, or budget for outside help.

Support and SLAs

KrakenD's Enterprise Edition includes 24/7 support backed by SLAs, and its pricing is not published, so the figure comes from a sales quote. Check the response times and severity definitions in that SLA, since they define what you are buying. For APISIX, confirm which support options exist, who provides them, and on what hours and response terms, before you assume a comparable SLA.

KrakenD Enterprise docs

Upgrades and release tracking

Upgrade effort is a recurring cost. APISIX 3.19.0 was released on September 28, 2026, and the APISIX downloads page does not mark any release as long-term support, so your team must set its own upgrade cadence and test plugin compatibility on each move. Budget regression testing for every version you run. For KrakenD, the Community Edition is free to use, so confirm in writing how long each Enterprise version receives support before you commit.

APISIX downloads

One-time and recurring costs

Split the budget into one-time work and recurring work. One-time items include design, initial deployment, migrating routes, plugins or custom code, and hardening. Recurring items include infrastructure, staff time, support renewals, upgrades and retesting. Ask for a written quote that states the edition and license terms, the SLA response times, the migration scope, who performs upgrades, and which items recur and on what schedule. A DeployOpen quote follows from that written scope.

Moving routes between KrakenD and APISIX in the right order

This sequence moves API traffic from KrakenD to Apache APISIX without changing what clients see. It starts by documenting what the current gateway does, then rebuilds identity, logging and custom behavior on the target before any route moves. The end result is one gateway, a written record of what transferred and what was rebuilt, and logs that show both paths behaved the same.

  1. Inventory routes, upstreams and policies

    List every route, upstream backend, authentication rule, rate limit, quota and custom code extension in the current KrakenD configuration. Your platform team does this with each API owner, because the configuration file alone does not show which routes carry live customer traffic or which clients depend on a specific header or response shape. Record certificates and TLS settings too, so you can confirm them later. Done means one inventory sheet where every row names the route, backend, auth rule, throttling and owner, and each owner has signed off on their rows.

  2. Map each item to the APISIX model

    Map each inventory row to its APISIX equivalent: routes and upstreams to APISIX route and upstream objects, authentication to plugins such as openid-connect, and rate limits to traffic control plugins. Ask both vendors, KrakenD and API7 or the Apache project contacts for APISIX, whether they offer a configuration import path for your current format, and get the answer in writing. Expect manual mapping for anything without a clear equivalent, and list those items as rebuild tasks with a named owner. Done means every row carries a transfer or rebuild label and an owner.

  3. Set up identity and logging first

    Deploy APISIX in the topology you plan to run, then connect identity and logging before any traffic moves. APISIX supports traditional, decoupled and standalone modes, and the choice changes where configuration lives: etcd in the first two, or a YAML or JSON file or the API in standalone. Configure the openid-connect plugin against your identity provider and test each authorization code, client credentials and token introspection flow from your inventory. Send access logs to the pipeline you already use. Done means a test route authenticates a user and a service account, and the logs show both requests.

  4. Rebuild plugins and custom code

    Rebuild each plugin, custom code path and identity flow that has no direct equivalent. APISIX includes more than 100 built-in plugins, so check the catalog before writing anything new. Custom plugins can be written in Lua, or in Java, Go or Python through external plugin runners, while WebAssembly plugin support is still experimental. Your KrakenD custom code extensions will need to be rewritten against APISIX's plugin model, so involve the developers who wrote them. Done means each rebuilt item has a test that replays the behavior captured in step one and passes in staging.

  5. Run both gateways in parallel

    Run KrakenD and APISIX side by side, with KrakenD serving production and APISIX handling test routes and a small share of traffic agreed with each owner. Send the same sample requests to both gateways and compare status codes, response bodies, latency, rate-limit responses and authentication outcomes in their logs. Investigate every difference and record its cause and owner. Done means the two gateways return matching results for the sampled requests, and every remaining difference has a documented explanation.

  6. Move routes in groups

    Move routes in groups, starting with low-risk, read-only APIs and finishing with those that handle personal data, payments or privileged actions. Move one group at a time, keep its KrakenD definition in place until the group is stable, and document a rollback step, such as pointing the route back to KrakenD. Each group should run on APISIX through an observation window agreed with its owner before the next group moves. Done means every group has run on APISIX without unexplained errors, and each owner has approved the move in writing.

  7. Retire KrakenD after parity checks

    Retire KrakenD once traffic and logs confirm parity. Confirm that KrakenD receives no production requests over the agreed observation period, that APISIX logs cover every inventory row, and that dashboards and alerts point at APISIX. Export the final KrakenD configuration, store it under your retention policy, and keep the list of rebuilt items so an auditor can trace each control to its new home. Done means the inventory has no open rows, the KrakenD service is stopped, and the decommissioning record is filed with the platform owner.

Where gateway work tends to need the most scoping

Scope the work around the places where the gateway meets your existing access rules: authorization mapping, custom code and identity wiring. Authorization mapping means turning current role and scope rules into per-route decisions, and it is usually larger than the install itself. APISIX's openid-connect plugin supports authorization code, client credentials, token introspection and PKCE flows with providers such as Keycloak, Microsoft Entra ID, Okta and Auth0, but claim checks and route-level rules still need to be written and tested against your own identity provider. Custom logic is the other large item. APISIX runs Lua plugins inside worker processes and reaches other languages through plugin runners, while WebAssembly support is still experimental. KrakenD documents custom code extensions alongside its authentication and authorization features. Ask each vendor which of your rules fit configuration and which need code your team must maintain after handover.

Cutover under live traffic is where plans tend to slip. Run both gateways in parallel for each route group, move traffic in steps, and keep the old path available until logs and error rates match. In APISIX's traditional mode, client traffic arrives on port 9080 and the Admin API listens on port 9180, so firewall rules, load balancer health checks and any scripts that call the Admin API must be inventoried before the first route moves. The operating setup is the second half of that work. Decide where logs and metrics are shipped, and decide where configuration lives: in etcd for traditional and decoupled APISIX deployments (decoupled mode shares one etcd cluster between the data plane and control plane), in a YAML or JSON file in standalone mode, or in a configuration pipeline your team owns. Each choice changes who restores configuration during an incident and how backups are scoped, so settle it with your platform team before work starts.

A DeployOpen engagement is fixed-scope. Scope, deliverables and timelines are agreed in writing before work starts, and no timeline is given until that scope is agreed. To scope a gateway migration, the client team needs to supply three things: the environments the gateway will run in (development, staging and production, with their network paths and certificate arrangements), access to the identity provider so client registrations, redirect URIs and test users can be configured and checked, and a route inventory listing each upstream service, its authentication requirement, its rate limits and its named owner. Gaps in the inventory usually surface later as additional cutover work, so it is the most useful input to prepare first. Ongoing support, upgrades and continuous testing are available as retainers and can be scoped separately from the migration.

Questions teams ask before choosing KrakenD or APISIX

What drives the cost of KrakenD and APISIX, and is open source enough?

Both gateways can be downloaded and run without a license fee, so the cost is mostly people, infrastructure and support. KrakenD's Community Edition is described as free to use with no limitations, under Apache-2.0. Its Enterprise Edition adds security and governance features and 24/7 support backed by SLAs, and its pricing is only available by contacting sales. APISIX is Apache-2.0 licensed, and the supplied material does not list a paid tier from the project itself. Commercial support comes from third parties, such as API7.ai's API7 Enterprise, so confirm what that product includes. The open-source edition is usually enough when your team can operate the gateway, accept community support, and build any governance controls, such as audit trails and approval workflows, on its own. Ask each vendor for a written list of what the paid tier includes, the support hours, and the SLA terms before comparing totals.

Can our team run KrakenD or APISIX without outside help?

Your team can run either gateway alone if it already operates Linux servers or Kubernetes, manages configuration as code, and can troubleshoot HTTP routing and TLS. APISIX adds components to plan for. In traditional mode, data and control planes run together and share etcd, and the gateway listens on port 9080 for client traffic and port 9180 for the Admin API. Decoupled mode separates the planes but still uses one shared etcd cluster. Standalone mode removes etcd and loads configuration from a YAML or JSON file or an API. Plugin work is the main skill gap: APISIX plugins are written in Lua, and external plugin runners support Java, Go and Python. Check your team's skills against the gateway's configuration model, its monitoring and its upgrade process. If gaps remain, DeployOpen can plan, implement, document and support the platform under a fixed-scope engagement or a retainer.

How long does a migration to KrakenD or APISIX take?

No duration is supplied for either migration, so treat any figure from a vendor or partner as a claim to verify against your own inventory. Length is set by the work you must move, not by the gateway name. Count the routes and backend services, the consumers and clients that call each route, and the authentication flows each one uses. Then count the policies you depend on, such as rate limits, quotas, header rewrites and custom code, because custom behavior takes longer to reproduce than standard routing. Add the testing you need for each route, the parallel running period, and how client cutover is scheduled and rolled back. APISIX's more than 100 built-in plugins can reduce custom work if your current policies map to them, and custom plugins extend the effort. A written scope from DeployOpen sets the timeline before work starts, and most engagements are fixed-scope.

Does SSO and OpenID Connect need a paid tier in KrakenD or APISIX?

For APISIX, the openid-connect plugin is part of the Apache-2.0 project's plugin set, and its documentation says it works with identity providers such as Keycloak, Auth0, Microsoft Entra ID, Google and Okta. It supports authorization code, client credentials, token introspection and PKCE flows. For KrakenD, the documented features include authentication and authorization, but the supplied material does not say which protocols or identity providers the Community Edition covers, and the Enterprise Edition adds security and governance features. Confirm each identity provider you use against the KrakenD documentation and a test tenant before deciding. Ask both vendors which flows they support, how they validate tokens and map claims, and whether any SSO or admin setting requires a paid edition. The APISIX openid-connect plugin documentation lists the supported flows.

Which gateway suits AI traffic controls, and what should we confirm?

KrakenD documents an AI Gateway offered with its Enterprise Edition, adding LLM routing, prompt guardrails, token budgets and a built-in MCP server. APISIX's documentation lists AI gateway functions among its more than 100 built-in plugins. Choose by the controls you must have. If prompt guardrails, token budgets and a built-in MCP server are required, the KrakenD path runs through the Enterprise Edition, so confirm scope and pricing with sales. If you plan to use APISIX AI plugins, confirm which ones ship in your version, what each one enforces, and how it handles provider API keys. For either gateway, confirm where prompts and responses are logged, how upstream credentials are stored, which identity is applied to tool calls, and whether controls cover MCP traffic. Before an agent rollout, DeployOpen's AI agent rollout security review tests prompt injection, tool and file permissions, data exposure, credential handling and SSO and admin settings, then delivers findings, fixes and a retest.

What does a DeployOpen engagement cover before implementation starts?

DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, including cloud accounts, data centers and air-gapped networks. Most engagements are fixed-scope, and the scope, deliverables and timelines are agreed in writing before work starts. For a gateway decision, the written scope usually covers:

  • the gateway or gateways in scope and the first set of routes or APIs
  • identity integration and the identity providers to test
  • the deployment target and the network controls around it
  • any security testing or hardening you request
  • documentation and evidence for compliance reviews, which DeployOpen prepares but does not certify
  • backup, upgrade and support terms

DeployOpen does not publish a price list. A quote follows from the written scope, so ask for each item to be priced separately.

How DeployOpen helps choose and implement either gateway

DeployOpen plans, implements, integrates, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For KrakenD vs Apache APISIX, the work starts with a written scope covering licensing, traffic, identity and operations, so the choice is tested against your requirements before any build begins. Either gateway can then be built, tested and handed over with the documentation your platform and security teams need.

How we scope

  • Written scope covers routing, identity, edition and deployment questions for KrakenD or APISIX, with open items named first.
  • KrakenD Enterprise features, support terms and pricing questions go into the written scope as separate items for procurement.
  • Fixed-scope engagements agree deliverables and timelines in writing before work starts, and ongoing support is available as a retainer.

How we build

  • Gateway configuration is built in your infrastructure, covering routes, upstream services and authentication flows agreed in scope.
  • For APISIX, the build covers the etcd topology, Admin API access on port 9180, and openid-connect setup.
  • For KrakenD, the build covers the edition in use, custom code extensions and throttling or quota policies.

How we hand over

  • Handover includes written documentation of the configuration, plus evidence prepared for your compliance team's review.
  • API security testing of the deployed gateway can be scoped alongside the build as a separate written item.
  • Confirm each vendor's supported release lines and upgrade path before handover, since support windows vary.

How we support

  • Upgrades, backups and ongoing testing can run under a retainer once the gateway is in production.
  • Retainer scope is agreed in writing, so ask for the covered tasks alongside the fixed-scope quote.
  • If you run KrakenD Enterprise, confirm vendor support entitlements with KrakenD directly, since DeployOpen is not an official partner.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.