KrakenD

krakend.io
DevOps
Few Days

The fastest API gateway. True linear scalability.

How to Replace KrakenD

Overview

KrakenD is a stateless, distributed, high-performance API Gateway that helps you effortlessly adopt microservices. It goes beyond simple reverse-proxy functionality to create an API that can connect, secure, aggregate, transform or remove data from your services.

Features

89 features across 17 categories

AI Gateway(8)

AI Budget ControlAIPremium

Granular token usage monitoring and enforcement to keep your AI expenses transparent and within budget

AI GatewayAI

Ability to connect endpoints to AI providers and models

AI GovernanceAIPremium

Enforce compliance, security, and operational guardrails inline with AI traffic

AI SecurityAI

From isolated authorization flows to data masking and exfiltration prevention

Google Gemini IntegrationAIPremium

Use Google's Gemini AI without writing custom integration code

LLM Routing, Multi-Routing, and AggregationAIPremium

Distribute AI requests across one or multiple Large Language Model providers or instances

OpenAI IntegrationAIPremium

Use OpenAI's API without writing custom integration code

Unified LLM Interface and Prompt TemplatesAIPremium

Route to the right LLM, abstract the request and response interface

Authorization & Authentication(12)

API KeysPremium

Authenticate users with API keys in headers or query strings

AWS SigV4 AuthenticationPremium

Service-to-service authentication using AWS SigV4 service accounts

Basic AuthenticationPremium

Authentication of requests based on .htpasswd files

Client Credentials

OAuth 2.0 Client Credentials Grant to automatically request access tokens before reaching the backend's protected resources

Google GCP AuthenticationPremium

Service-to-service authentication using Google Cloud service accounts

JWT Token Signing

A wrapper for your existing login endpoint that signs with your secret key the selected fields of the backend payload right before returning the content to the end-user

JWT, OpenID Connect, OAuth2

Authorize tokens coming from third parties or your company identity provider, and apply business logic rules

mTLS

Mutual TLS authentication (mTLS) for authentication in business-to-business (B2B) applications where clients provide certificates to connect to KrakenD

Multiple Identity Providers per EndpointPremium

Support validation of tokens originated in multiple identity providers, internal or external

NTLM AuthenticationPremium

NT Login Manager Authentication against Windows backends like Microsoft Dynamics

Revoke ServerPremium

An API to revoke tokens through all KrakenD nodes in a cluster

Token Revocation Bloom Filter

An RPC listener that allows you to revoke JWT tokens

Caching(2)

Cache

Store backend responses in memory to reduce the number of calls a user sends to the origin, reducing the network traffic and alleviating your services' pressure

HTTP Cache Headers (for CDN)

Set automatically cache headers for CDN or intermediate caching

Also in: Count

Configuration(3)

Extended Flexible ConfigurationPremium

Extends the flexible config adding $ref, nested directories, multiple settings file formats, conflict handling, debugging and more

Flexible Configuration

Declare the configuration using templates and environment-specific values

Multi-Format Configuration

Write the configuration in JSON, YAML, TOML, HCL and more

Debugging(1)

Dump to DiskPremium

Dump requests and responses into files

DevOps(1)

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

Also in: MuleSoft, Jira, Jira

Developer Tools(13)

Custom Go Plugins

Write your own Go plugins and side-load them with KrakenD to extend the functionality

Documentation

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

DOT Image GeneratorPremium

Generate Graphviz images displaying your configuration logic

Hot-Reload in Development

Speed up development with a specific container with hot-reload functionality

IDE Integration

Automatic validation as you type, showing documentation while hovering an attribute, explanation of errors, and autocompletion of properties

KrakenD Designer

A visual tool to generate KrakenD configurations

OpenAPI ExporterPremium

Generate OpenAPI documentation from the KrakenD configuration

OpenAPI ImporterPremium

Import configurations from OpenAPI + Mocking server generation (Swagger v2 & OpenAPI 3)

OpenAPI ServerPremium

Start an API gateway from an OpenAPI definition file

Plugin Builder

A ready-to-use image to build your custom Go plugins and embed them in KrakenD

Plugin GeneratorPremium

A plugin generator that builds all the boilerplate necessary to develop your plugins

Postman Collection GenerationPremium

Generate Postman collections during the CI/CD stage

Syntax Validation and Linting

Validate configuration files (syntax, linting, route declaration testing)

Also in: Jobber, Hugging Face, 1Password

Error Handling(1)

Multistrategy Error Handling

Override the policy of returning backend error details with different strategies (delegated, graceful degradation, forward, interpretation)

Integration(1)

Services Connectivity

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

Monitoring(1)

Monitor & Analytics

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

Performance(2)

Faster JSON Decoding (fastjson)Premium

A speed-optimized JSON decoder for larger datasets and complex objects

Gzip CompressionPremium

Output compression of responses in gzip format

Request/Response Transformation(16)

API Aggregation

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

Automatic Output Encoding

Automatic output encoding and translation (XML, JSON, RSS, noop)

Backend For Frontend

Create an API consumption layer that provides aggregated views of several services and returns only the needed data

Conditional Request and Responses (CEL)

Add validation rules to continue with the request or to return the response

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

Data Transformation

Filter, group, capture, rename, inject, and more on responses from services

Flatmap

Manipulate arrays and flatten objects from the response

Lua Advanced HelpersPremium

Advanced helpers that run on Go's native implementation rather than Lua for better performance and extended functionality

Lua Scripting

Transform requests and responses with Lua scripts

Martian (DSL)

Statically transform requests and responses through a simple DSL definition

Regular Expression ReplacementsPremium

Modify the response of your services with regular expressions

Request Manipulation using Go Templates (Body Generator)Premium

Craft the body you send to a backend through templates, and injecting other values from the user request such as the original body, headers, querystrings or URL parameters

Response Manipulation using Go TemplatesPremium

Completely manipulate the response of a backend using Go templates before it is returned to the end-user

Response Manipulation with Query LanguagePremium

Select, slice, filter, map, project, flatten, sort, and all sorts of operations through a javascript-like query language

Sequential Proxy

Use the output of a previous call to be chained in the next call

WorkflowsPremium

Create nested and dependent API consumption to complete a job

Routing(9)

Catchall (Fallback Upstream)Premium

Receives all the traffic from routes and methods that do not resolve to any of the other existing endpoints in the configuration

Conditional RoutingPremium

Route requests to one or multiple backends based on request headers or custom policy expressions

Configurable Client RedirectsPremium

Allow the end-user to follow redirects set by services instead of the gateway resolving them

Header and Query String Based Dynamic RoutingPremium

Header and query string processing to assemble the final upstream URL

JWT Claim-Based Routing

JSON Web Token processing to assemble the final upstream URL

Noop Proxy

Proxy requests to a single backend without manipulation and preserving the response as is

URL RewritePremium

Define a set of URLs or regular expressions that are handled by an endpoint

Virtual HostsPremium

Run different configurations of KrakenD endpoints based on the host accessing the server

Wildcard RoutesPremium

Create a single endpoint for a group of URLs sharing a common pattern (e.g.: /foo/*)

Security(13)

Audit Configuration

Check security and best practices recommendations of your configuration before going live

Authentication

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

Clickjacking Protection

OWASP recommendations that add a frame-breaking strategy

CORS

Cross-origin resource sharing

Cross-Site Scripting (XSS) Protection

Enables the Cross-site scripting (XSS) filter in the user's browser

FIPS-140-2 Cryptography ModulePremium

Binary with a FIPS 140-2 validated encryption module available

HTTP Public Key Pinning (HPKP)

Resist impersonation by attackers using mis-issued or otherwise fraudulent certificates

HTTP Strict Transport Security (HSTS)

Web security policy mechanism to protect websites against protocol downgrade attacks and cookie hijacking

MIME-Sniffing Prevention

Prevent the user's browser from interpreting files as something else than declared by the content type

Restrict Connections by Host

Define a list of hosts that KrakenD should accept requests to

Security Policies EnginePremium

A powerful engine that evaluates requests, responses and tokens during runtime and allows you to perform business validation logic, ABAC, and RBAC

TLS for HTTPS and HTTP/2

TLS configuration secured by default to TLS 1.3. Multiple certificates are possible

Zero-Trust Parameter Forwarding

Explicit configuration for cookie, query-string, and headers forwarding

Testing(2)

End-to-End Testing ToolPremium

Integrated tool to write integration tests to launch in your pipeline and check that the functionality works correctly

Mocked Data

Add static/stub data as replacement of failing responses or while you are scaffolding your project

Traffic Control(2)

Traffic Management

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

Traffic Shadowing/Mirroring

Test new backends in production by sending them copies of the traffic but ignore their responses

Validation(2)

JSON Schema Request Validation

Validate the request body against a JSON schema

JSON Schema Response ValidationPremium

Ensure the response passes a JSON schema validation before returning it to the end-user

Cost Calculator

Pricing data not available for KrakenD. Check their website for current pricing.

Build vs Buy

Should you build a KrakenD alternative or buy the subscription? Estimate based on 89 features.

Buy KrakenD

Better Value
Monthly costContact Sales
3-year totalVaries
Time to deployDays

Build Your Own

Development cost$72,000
Maintenance$1,080/mo
3-year total$110,880
Dev time~6 months

Buying KrakenD saves ~$110,880 over 3 years vs building.

Estimates based on 89 features and a BuildScore of 4/5. Actual costs vary.

Integrations

18 known integrations

AWSGoogle Cloud (GCP)Google GeminiGraphQLgRPCJWTKafkaLambdaOAuth2OpenAIOpenID ConnectOpenTelemetryPostmanRabbitMQREST APIsSNSSOAPSQS