Softwr

Cybersecurity · head to head

Hanko vs Keygen

Hanko logo

Hanko

Cybersecurity

Open-source, passkey-first authentication and user management you can self-host or run in the cloud

From
Free
Free plan
Yes
Keygen logo

Keygen

Cybersecurity

Open, source-available software licensing API

From
Free
Free plan
Yes

The short version

  • Keygen is free; Hanko starts at $29/mo.
  • Where Hanko falls short: organisations, roles and permissions are not yet released.
  • Where Keygen falls short: specific Active Licensed User (ALU) pricing not listed; requires interactive pricing calculator.

How do Hanko and Keygen differ?

Hanko and Keygen differ on pricing model (Open-source against Usage-based). Only the attributes on which Hanko and Keygen actually diverge.

Attributes where Hanko and Keygen differ
AttributeHankoKeygen
Pricing modelOpen-sourceUsage-based

Identical on both: starting price (Free), free tier (Yes), platforms (Web).

Not yet recorded: category for Hanko, founded for Hanko.

Which features does each one have?

They share no listed features; 8 appear only for Hanko. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Hanko

  • Passkeys, passwords and passcodes
  • Social and OAuth login
  • MFA with TOTP and security keys
  • SAML enterprise SSO
  • Hanko Elements web components
  • Webhooks and admin API
  • Server-side sessions and revocation
  • Self-hosting or managed cloud

Only in Keygen

Nothing recorded that Hanko does not also cover.

What is each one used for?

Hanko is most often brought in for passkey-first login for consumer apps; Keygen for software licensing and distribution. The jobs each tool is most often brought in to do.

Hanko

  • Passkey-first login for consumer appsnot Keygen
  • Self-hosted auth for privacy-sensitive productsnot Keygen
  • Replacing a Firebase or Cognito loginnot Keygen
  • Adding MFA to a web appnot Keygen
  • EU-hosted authenticationnot Keygen

Keygen

  • Software licensing and distributionnot Hanko
  • Product release managementnot Hanko
  • API-based license verificationnot Hanko

Where do Hanko and Keygen fall short?

Hanko's most cited limit: organisations, roles and permissions are not yet released. Keygen's: specific Active Licensed User (ALU) pricing not listed; requires interactive pricing calculator. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Hanko

  • Organisations, roles and permissions are not yet released
  • Native iOS, Android and Flutter SDKs are still on the roadmap
  • AGPL-3.0 licence may need a commercial licence for some products
  • SAML SSO costs $49 a month per connection on top of Pro

Keygen

  • Specific Active Licensed User (ALU) pricing not listed; requires interactive pricing calculator
  • Whitelabel API add-on costs $995/year per domain
  • Source is released under the Fair Source model, not an OSI-approved open source licence
  • Offline node-locked licensing for air-gapped sites uses the separate Keygen Relay product

How much do Hanko and Keygen cost?

Hanko has a free plan, with paid plans from $29/mo; Keygen is free to use. Plan by plan below, from each vendor's own pricing page.

Hanko

Free
  • StarterFree
    • 10,000 monthly active users
    • 2 projects
    • Passkeys, passwords, MFA, social login
  • Pro$29/mo
    • $0.01 per monthly active user above 10,000
    • 5 projects
    • Webhooks and admin API

Keygen

Free
  • DevFree
    • Up to 100 Active Licensed Users
    • 10 product releases
    • Core licensing API only
  • StdOn request
    • Scaling with licensing volume
    • Distribution API (OCI/Docker, npm, Rubygems, PyPI, Tauri)
    • Flat monthly/yearly fees
  • EnterpriseOn request
    • Audit logs
    • SAML/SSO
    • IP filtering

Which should you pick?

Choose Hanko if

  • You need passkeys, passwords and passcodes.
  • You want to start without paying.
  • You also want social and oauth login.

Choose Keygen if

  • You want to start without paying.

Questions people ask

Is Hanko or Keygen better?
It depends on the job. Hanko fits passkey-first login for consumer apps; Keygen fits software licensing and distribution. Hanko starts at Free and Keygen at Free.
Which is cheaper, Hanko or Keygen?
Hanko starts at Free and Keygen at Free.
Does Hanko or Keygen run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Hanko for free?
Both have a free tier, so you can try either at no cost before committing.
What is Hanko best used for?
Hanko is most often used for passkey-first login for consumer apps, self-hosted auth for privacy-sensitive products, replacing a firebase or cognito login, adding mfa to a web app. Of those, passkey-first login for consumer apps and self-hosted auth for privacy-sensitive products are not what Keygen is typically brought in for.
What can Hanko do that Keygen cannot?
Hanko covers Passkeys, passwords and passcodes, Social and OAuth login, MFA with TOTP and security keys, SAML enterprise SSO.

Answered from the vendors’ own pages

Hanko: Is Hanko open source?

Yes. Hanko is open-source under the AGPL-3.0 licence and can be self-hosted, or used as the managed Hanko Cloud.

Source
Keygen: Does Keygen have a free tier?

Yes, the Dev tier is free and supports up to 100 Active Licensed Users with 10 product releases and core licensing API access.

Source
Hanko: How much does Hanko Cloud cost?

Starter is free with 10,000 monthly active users. Pro is $29 a month plus $0.01 per user above 10,000.

Source
Keygen: How is Keygen pricing calculated?

Keygen uses scalable, flat monthly or yearly fees based on your licensing volume (Active Licensed Users). No revenue share or transaction fees are charged.

Source
Hanko: Does Hanko support SAML SSO?

Yes. SAML SSO is available on Pro at $49 a month per connection.

Source
Keygen: Does Keygen charge for additional features like SSO?

SAML/SSO is included in Enterprise tiers. Whitelabel API support costs $995/year per domain. Premium Support SLA is $995/month for Enterprise.

Source
Hanko: What counts as a monthly active user?

A user who is issued a session token at least once in a month, or whose session token is validated through Hanko, counts once for that month.

Source
Share

Related pages

Other head to heads