Back to directory

Developer Tools · API Development & Testing

UnKey

Deploy APIs and control keys, traffic, permissions, and usage

Unkey is a developer platform for deploying APIs and managing keys, rate limits, permissions, analytics, and audit logs. Unkeyed, Inc. licenses the main code under FSL-1.1-ALv2, with Apache 2.0 becoming available after two years for each version. A hosted service offers separate API Management and Deploy products.

Key facts

License
FSL-1.1-ALv2 (source-available)
Main language
Go, TypeScript
Maintainer
Unkeyed, Inc.
First released
2023
Latest release
heimdall/v1.0.6, October 21, 2026
GitHub stars
5,342, October 2026
Hosted option
API Management from $0/month; Deploy from $5/month

What UnKey is

Unkey is a developer platform for teams building and operating APIs. Unkeyed, Inc. maintains the repository, which was created in 2023. GitHub lists 5,342 stars, 623 forks, 180 open issues, and ten named top contributors, with chronark leading that list. The repository does not publish a first release year in its listed details. A company announcement dated April 23, 2026 reports a $4.5 million seed round led by Uncork Capital, with follow-on participation from Essence VC, Sunflower Capital, and others. The project combines API deployment, gateway routing, authentication, rate limiting, permissions, usage analytics, and audit logs. External pull requests are paused while the team focuses on platform direction and stability, although issues remain open.

How it works

Unkey divides its hosted product into Compute and API Management. Compute deploys applications from GitHub repositories or container images. API Management issues, verifies, and revokes keys, applies rate limits and usage quotas, and supports per-key permissions, roles, and fine-grained access control. A typical workflow starts with deploying an API or connecting an existing one, then placing requests behind a gateway policy. The policy can authenticate a key, limit an identifier, and record request data. Teams can inspect usage, latency, and verification activity by key, then review workspace actions in audit logs. Existing credentials can be imported as pre-hashed keys, allowing users to keep plaintext keys outside Unkey while migration takes place.

Architecture and recent releases

The repository contains Go and TypeScript, with JavaScript, Astro, CSS, Shell, and other repository languages also listed. The API service uses MySQL for primary data, Redis for distributed rate-limit counters and usage tracking, Vault for encryption-related services, and optional ClickHouse for analytics. Kafka can distribute cache invalidation between API instances. Docker Compose supports development and small deployments, while Kubernetes with Helm is documented for production. The latest listed release is heimdall/v1.0.6, dated October 21, 2026. Its changelog includes gateway policies using workspace keyspaces, deployment fixes, documentation changes, checkout promotion-code updates, and the FSL-1.1-ALv2 relicensing change. The project also documents container-based deployment workflows.

License and pricing

The main code is under FSL-1.1-ALv2, a source-available license. It allows use, copying, modification, derivative works, performance, display, and redistribution for permitted purposes, including internal use, education, research, and professional services. A competing commercial product or service with the same or substantially similar functionality is prohibited under the current terms. Each version receives an additional Apache 2.0 license on the second anniversary of its availability. Hosted API Management has a free plan with 150,000 valid requests monthly and 1,000 keys. Paid API Management starts at $25 monthly. Deploy starts at $5 monthly, followed by $25 Pro, $50 Business, and custom Enterprise pricing.

Limitations and how it compares

Unkey's combined scope creates an operational tradeoff. Self-hosting requires MySQL, Redis, S3-compatible storage, and Vault, while ClickHouse is optional for analytics. Docker Compose needs four CPU cores, 8GB RAM, and 50GB disk; Kubernetes guidance starts at eight CPU cores, 16GB RAM, and 100GB persistent storage. Kong Gateway is a closer fit for teams focused on gateway management. Tyk offers API gateway and management capabilities, while Keycloak focuses on identity and access management rather than API deployment. Unkey suits teams that want deployment and API controls in one product and accept source-available licensing, several stateful dependencies, and the maintenance responsibility of operating them.

Main features

  • API key management. Issue, verify, revoke, migrate, and administer API keys for applications through the API Management product.
  • Global rate limiting. Apply globally consistent rate limits and usage quotas to identifiers across authenticated API traffic, ensuring requests receive uniform controls regardless of gateway instance, deployment location, or processing path.
  • Permissions and RBAC. Configure per-key permissions, roles, and fine-grained access controls for workspace resources and API requests through Unkey’s API Management product, supporting authorization across applications, teams, and authenticated traffic.
  • API deployment. Deploy applications from GitHub repositories or container images through the Compute offering and its deployment workflow.
  • Gateway controls. Route, authenticate, and shape traffic through gateway policies and environment gateways before requests reach applications.
  • Usage analytics. Track usage, latency, verification events, and per-key insights through optional ClickHouse analytics storage for API operations, monitoring, and review.
  • Immutable audit logs. Retain workspace action history while applying hosted-plan retention periods to audit records, supporting review of changes, accountability, and compliance across teams, projects, environments, and administrative activity.

Self-hosting UnKey

Unkey documents Docker Compose for development and small production deployments, plus Kubernetes with Helm for production. Docker Compose requires Docker Engine 24.0 or later, Compose v2, four CPU cores, 8GB RAM, and 50GB disk on Linux. Kubernetes requires version 1.28 or later, eight CPU cores, 16GB RAM, and 100GB persistent storage across nodes. Core services are MySQL 8.0 or later, Redis 7.0 or Dragonfly, S3-compatible object storage, and Vault. ClickHouse is optional for analytics. Restate and Kafka are optional integrations. The documentation recommends backups for production persistent storage, but does not publish an upgrade procedure or backup schedule.

Strengths

  • It combines API deployment, gateway controls, keys, rate limits, permissions, analytics, and audit logs.
  • The hosted API Management free plan includes 150,000 valid monthly requests and 1,000 API keys.
  • Docker Compose and Helm document development and Kubernetes production installation paths.
  • Each version receives an Apache 2.0 license after its second anniversary.

Drawbacks

  • FSL-1.1-ALv2 prohibits competing commercial products or services with substantially similar functionality.
  • Self-hosting requires MySQL, Redis, S3-compatible storage, and Vault.
  • External pull requests are paused while the team focuses on platform direction and stability.

What teams replace with it

Teams usually evaluate UnKey when they want to move off Auth0, Kong Gateway, Tyk, RapidAPI.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to UnKey

Frequently asked questions

Is Unkey free?

Unkey has a free hosted API Management plan with 150,000 valid requests per month, up to 1,000 API keys, one-day log retention, and three-day audit-log retention. Deploy is paid, starting at $5 per month on Starter. Self-hosting uses the repository under its license and requires you to operate MySQL, Redis, object storage, Vault, and any optional analytics services.

Can companies use Unkey commercially?

The current repository license is FSL-1.1-ALv2. It permits internal commercial use and professional services for an authorized licensee, while defining a competing commercial product or service as prohibited use. Each version receives an Apache 2.0 license on the second anniversary of its availability. Teams should review the license terms before offering Unkey-like functionality commercially.

How do I self-host Unkey, and what does it require?

Unkey documents Docker Compose and Kubernetes with Helm. Docker Compose requires Docker Engine 24.0 or later, Compose v2, four CPU cores, 8GB RAM, and 50GB disk. Kubernetes requires version 1.28 or later, eight CPU cores, 16GB RAM, and 100GB persistent storage. MySQL, Redis or Dragonfly, S3-compatible storage, and Vault are core dependencies.

How does Unkey compare with Kong Gateway?

Kong Gateway concentrates on API gateway management, while Unkey combines gateway policies with API deployment, API keys, rate limits, permissions, analytics, and audit logs. Unkey also sells separate Compute and API Management offerings. Kong is a closer choice for gateway-centered deployments. Unkey fits teams seeking one platform for deployment and API access controls.

Does self-hosting keep API data in my infrastructure?

The self-hosting documentation describes running Unkey in your own infrastructure, giving you control over data, deployment, and scaling. The documented stack stores primary application data in MySQL, rate-limit counters and usage tracking data in Redis, encryption-related material through Vault and S3-compatible storage, and analytics in optional ClickHouse. Secret handling, retention, backups, and operational security remain your responsibility.

Similar projects to compare

Sources

Last updated 2026-10-22.