← Back to home
Comparison · Infra & APIs

KRLS vs SuperTokens

A side-by-side editorial comparison of KRLS and SuperTokens — release velocity, themes, recent moves, and the top alternatives to consider.

KRLS vs SuperTokens: at a glance

FeatureKRLSSuperTokens
SectorInfra & APIsInfra & APIs
Velocity score0.02.5
Sparks · 30d00
Top themeskernel-methods, machine-learning, causal-inference, scalabilityauthentication, saml, user-migration, account-linking
Last editorial update49m ago12d ago
WebsiteVisit →Visit →

What is KRLS?

A 2014 kernel regression method getting the scalability and tooling it never had, in a three-release afternoon.

KRLS fits kernel regularized least squares, a method whose exact form requires an n-by-n kernel matrix and therefore stops being usable well before modern sample sizes. Three releases shipped within 33 minutes of each other addressed exactly that: a Nystrom approximation mode with conditional approximate inference, kmeans landmark selection with an accessor for reusing landmarks across fits, and GCV as an alternative to leave-one-out for choosing lambda. The default path remains the exact one, and existing calls are unchanged.

Read the full KRLS trajectory →

What is SuperTokens?

SuperTokens is hardening SAML and building a migration path off other auth providers.

SuperTokens is an open-source authentication service, and its core repo is running a 12.0 canary line alongside stable patches. The work in this window falls into two piles: SAML security — XML signature wrapping protection in 12.0.2-canary, further hardening in the 12.0.10 release — and migration mode, where new core-user-data records can be created as MIGRATED and the transition is now blocked while inconsistent users exist. Release notes are thin, usually a PR title or two per tag.

Read the full SuperTokens trajectory →

KRLS vs SuperTokens: editorial side-by-side

K
KRLS
INFRA · APIS
0.0

A 2014 kernel regression method getting the scalability and tooling it never had, in a three-release afternoon.

◆ Current state

KRLS fits kernel regularized least squares, a method whose exact form requires an n-by-n kernel matrix and therefore stops being usable well before modern sample sizes. Three releases shipped within 33 minutes of each other addressed exactly that: a Nystrom approximation mode with conditional approximate inference, kmeans landmark selection with an accessor for reusing landmarks across fits, and GCV as an alternative to leave-one-out for choosing lambda. The default path remains the exact one, and existing calls are unchanged.

◆ Where it's heading

The package is being modernized on two tracks that reinforce each other. The interface track — a formula method, broom extractors, autoplot, summary and glance diagnostics — makes the estimator fit contemporary R workflows without touching the algorithm, and the notes are explicit that existing matrix-interface calls remain bit-identical. The performance track removes the reasons it could not be run at all: the Nystrom mode for the kernel matrix, and an average-marginal-effects variance computation rewritten via a row-sum identity to quadratic per-predictor cost. Everything is added as opt-in, which suggests the goal is reaching new users without disturbing replication of published results.

◆ Prediction

With approximation, landmark reuse, and a second lambda criterion now in place, the remaining gap is guidance on when to trust them; the scaling vignette shipped alongside GCV points to more empirical validation rather than new estimation machinery.

S
SuperTokens
INFRA · APIS
2.5

SuperTokens is hardening SAML and building a migration path off other auth providers.

◆ Current state

SuperTokens is an open-source authentication service, and its core repo is running a 12.0 canary line alongside stable patches. The work in this window falls into two piles: SAML security — XML signature wrapping protection in 12.0.2-canary, further hardening in the 12.0.10 release — and migration mode, where new core-user-data records can be created as MIGRATED and the transition is now blocked while inconsistent users exist. Release notes are thin, usually a PR title or two per tag.

◆ Where it's heading

Migration mode plus account-linking exploration is the tell: this is infrastructure for importing an existing user base from another provider without breaking identity linkage mid-flight, and the guard added in 12.0.5-canary shows they hit the inconsistent-state case in practice. The SAML work runs in parallel because enterprise SAML is what a team is usually migrating toward. Also worth noting: an automated contributor, supertokens-agent-runner, opened its first PRs in this window, so part of the fix and test volume is now agent-authored.

◆ Prediction

A stable 12.x release consolidating the canary migration-mode work is the readable next step, likely once the MIGRATED transition guards have run without incident. More SAML hardening should be expected given two separate fixes landed in this window alone.

Alternatives to KRLS and SuperTokens

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either KRLS or SuperTokens.

See all KRLS alternatives → · See all SuperTokens alternatives →

Recent activity from KRLS and SuperTokens

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 13d agoSuperTokensSAML hardening lands on the stable 12.0 line
  2. 1mo agoSuperTokensMigration mode blocks transition while inconsistent users exist
  3. 1mo agoSuperTokens12.0.4-canary ships with no described changes
  4. 1mo agoSuperTokensActivity log table put into use
  5. 2mo agoSuperTokensSAML gains XML signature wrapping protection
  6. 2mo agoSuperTokensNew core user data records can be created as MIGRATED
  7. 3mo agoKRLSGCV added as an alternative lambda selection criterion
  8. 3mo agoKRLSKmeans landmark selection and landmark reuse across fits
  9. 3mo agoKRLSNystrom approximation mode lifts the sample-size ceiling
  10. 3mo agoKRLSFormula interface plus broom and autoplot support
  11. 3mo agoKRLSv1.1-0: Update Chad Hazlett affiliation MIT -> UCLA in 9 .Rd files

Frequently asked questions

What is the difference between KRLS and SuperTokens?

They serve adjacent needs but don't currently overlap on shipped themes. SuperTokens is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is KRLS better than SuperTokens?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. SuperTokens is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to KRLS?

Top KRLS alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "KRLS alternatives" section above for the current picks, or visit /alternatives/krls for the full list with editorial commentary on each.

What are the best alternatives to SuperTokens?

Top SuperTokens alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "SuperTokens alternatives" section above for the current picks, or visit /alternatives/supertokens for the full list with editorial commentary on each.