What a verifier on every request costs today
Take an API platform serving 2,000 requests a second. Each request crosses 4
services, and each service checks the caller’s token by calling a central
verifier: a token introspection endpoint (RFC 7662) or an auth gateway you
run. Every check is a network call on the request path. Introspection
answers per request, at the cost of a network call, and a cached answer can
be stale (RFC 7662 §4).
At these inputs, that is 20.7 billion verifier calls a month, or 20,736,000,000 calls over 2,592,000 seconds. Assume each call costs 3 ms, a median same-region hop plus verifier time. With 4 checks in a row, each request waits 12 ms on the network before it does any work.
The verifier is also a fleet to run. Assume each replica handles 2,000 checks a second and you keep 2 spare for failover and deploys: that is 6 replicas. At an assumed $150 a replica a month, the fleet costs $10,800 a year. And every service now depends on it: when the verifier slows down, every request slows down with it.
With QuorumAuth: keep revocation, drop the verifier call
Sign-in, and each session refresh, is a request to a QuorumAuth edge, the same in both models; every later request is verified in your service, without a round trip. At these inputs:
| At these inputs | A verifier on every request | Verified in your service by QuorumAuth |
|---|---|---|
| Verifier calls a month after sign-in | 20.7 billion | 0 |
| Network wait added per request | 12 ms | 0 ms |
| Verifier replicas you run | 6 | 0 |
| Verifier fleet cost a year | $10,800 | $0 |
| A revoked token | Refused while the verifier answers; a cached answer can be stale | Refused within a minute; a cut-off service refuses every token |
Checking every token, with and without the extra call
A verifier on every request
- 20.7 billion verifier calls a month
- 12 ms of network wait added per request
- 6 verifier replicas to run and pay for
Verified in your service by QuorumAuth
- 0 verifier calls after sign-in
- 0 ms of network wait added per request
- Revoked token refused within a minute; a cut-off service refuses every token.
In short At these inputs, verifier calls fall from 20.7 billion a month to 0, and the verifier fleet from 6 replicas to 0.
Two columns compare one request path at these inputs. A verifier on every request: 20.7 billion verifier calls a month, 12 ms of network wait added per request, and 6 verifier replicas to run. Verified in your service by QuorumAuth: 0 verifier calls after sign-in, 0 ms of network wait added per request, and 0 verifier replicas. A revoked token is refused within a minute, connected or not. A service that stops hearing from QuorumAuth refuses every token rather than trust an old list.
Verifier calls fall from 20.7 billion a month to 0. Network wait added per request falls from 12 ms to 0. The verifier fleet falls from 6 replicas and $10,800 to 0 replicas and $0 a year, a saving of $10,800. QuorumAuth charges $0 per verification: verifications are never billed, so more token checks never raise the bill.
How it works
- Sign-in reaches an edge. The user or service signs in with one request to a QuorumAuth edge, as with any identity provider.
- Keys arrive once. The QuorumAuth SDK in your service fetches the signing keys the first time it sees an unknown key id, and again after a rotation. Every other check reads them from its cache.
- Revocations are pushed. QuorumAuth pushes each revocation to every service as it happens. A revocation a service already holds is refused even offline. A service that stops hearing from QuorumAuth refuses every token with a retryable error after a short fixed limit, under a minute, until it hears again.
- The check runs in process. The service verifies the signature, the expiry, the audience and one signed claim set, then answers. A delegated token can only narrow as it passes from one service to the next.
QuorumAuth still runs the authority that issues tokens and streams revocations. It sits off your request path, not out of your architecture. See how to revoke a JWT before it expires for the revocation side, and zero-trust service authentication for the whole service-to-service setup.
Conditions
- The comparison is with central verification: token introspection, or an auth gateway you run, called for every check. If your services already check JWTs locally from a key set, QuorumAuth gives you revocation that holds in every service and tokens that narrow as they travel, on top of the call you already skip.
- JWT and Biscuit tokens are verified in process. A Macaroon is still checked by a call to QuorumAuth.
- The in-process check ships in the Rust and TypeScript SDKs.
- A revocation takes effect when it reaches the service, not at the moment you revoke: within a minute, or the service refuses every token. A plain JWT checked locally stays valid until it expires: 1 hour by default on Amazon Cognito, 24 hours on Auth0. See the OWASP JWT cheat sheet.
- A newly started service waits once, inside its first check, for its revocation view.
- Every latency, capacity and cost input above is an assumption, not a measurement, and each computed number shows its formula. Change the inputs and the outcome moves with them: more traffic, more services per request or a slower hop all widen the gap.
Take the verifier off your request path
Count the token checks on one request, then start free on QuorumAuth and follow how to revoke a JWT before it expires. See machine-to-machine authentication for every service in the estate.
Worked numbers
Key numbers
| Figure | Today | With QuorumAuth | Saved |
|---|---|---|---|
| Verifier calls a month after sign-in | 20,736,000,000 verifier calls per month after sign-in | 0 verifier calls per month after sign-in | – |
| Network wait added per request | 12 ms per request | 0 ms per request | – |
| Verifier replicas you run | 6 verifier replicas you run | 0 verifier replicas you run | – |
| Verifier fleet cost a year | $10,800 per year | $0 per year | $10,800 per year |
| Charge per verification | – | $0 per verification: verifications are never counted | – |
All figures, with sources and formulas
Assumptions you can change
| Figure | Value |
|---|---|
| Requests per second | 2,000 requests per second, assumed, not measured |
| Token checks per request | 4 token checks per request, one per service the request crosses, assumed |
| Seconds in a month | 2,592,000 seconds per month |
| Verifier capacity per replica (assumed, not measured) | 2,000 token checks per second per verifier replica |
| Spare verifier replicas | 2 spare replicas for failover and deploys |
| Cost per verifier replica (assumed, not measured) | $150 per replica per month, compute and operations |
| Months in a year | 12 months |
| Verifier hop (assumed, not measured) | 3 ms per verifier call: median same-region hop plus verifier time, assumed, not measured |
Sourced
| Figure | Value | Source |
|---|---|---|
| Network calls per token check with QuorumAuth | 0 network calls per token check after sign-in: the SDK verifies incoming tokens locally, without a round trip | QuorumAuth: zero-trust service authentication |
| QuorumAuth charge per verification | $0 per verification: verifications are never counted | QuorumAuth pricing |
| Default Amazon Cognito access-token lifetime | 1 hour | Amazon Cognito: CreateUserPoolClient, access token validity |
| Default Auth0 access-token lifetime | 24 hours | Auth0: update access token lifetime |
Computed
| Figure | Value | Formula |
|---|---|---|
| Verifier calls a month after sign-in, before | 20,736,000,000 verifier calls per month after sign-in | requests_per_second * verifications_per_request * seconds_per_monthRequests per second, Token checks per request, Seconds in a month |
| Verifier calls a month, before, in billions | 20.7 billion verifier calls per month | verifier_calls_month_before / 1000000000Verifier calls a month after sign-in, before |
| Verifier calls a month after sign-in, with QuorumAuth | 0 verifier calls per month after sign-in | verifier_calls_month_before * network_calls_per_verification_afterVerifier calls a month after sign-in, before, Network calls per token check with QuorumAuth |
| Verifier replicas, before | 6 verifier replicas you run | requests_per_second * verifications_per_request / verifier_capacity_per_replica + verifier_spare_replicasRequests per second, Token checks per request, Verifier capacity per replica (assumed, not measured), Spare verifier replicas |
| Verifier fleet cost a year, before | $10,800 per year | verifier_replicas_before * replica_cost_month * months_per_yearVerifier replicas, before, Cost per verifier replica (assumed, not measured), Months in a year |
| Verifier replicas, with QuorumAuth | 0 verifier replicas you run | verifier_replicas_before * network_calls_per_verification_afterVerifier replicas, before, Network calls per token check with QuorumAuth |
| Verifier fleet cost a year, with QuorumAuth | $0 per year | verifier_replicas_after * replica_cost_month * months_per_yearVerifier replicas, with QuorumAuth, Cost per verifier replica (assumed, not measured), Months in a year |
| Network wait added per request, before | 12 ms per request | verifications_per_request * verify_hop_msToken checks per request, Verifier hop (assumed, not measured) |
| Network wait added per request, with QuorumAuth | 0 ms per request | verifications_per_request * network_calls_per_verification_after * verify_hop_msToken checks per request, Network calls per token check with QuorumAuth, Verifier hop (assumed, not measured) |
| Verifier fleet cost saved a year | $10,800 per year | verifier_cost_year_before - verifier_cost_year_afterVerifier fleet cost a year, before, Verifier fleet cost a year, with QuorumAuth |
Frequently asked questions
Does QuorumAuth still need the network to check a token?
Only to sign in. Sign-in, and each session refresh, is a request to a QuorumAuth edge, as it is with a verifier; after that each service checks incoming tokens in process. It fetches signing keys when it meets a key id it does not know and after a rotation, and serves every other check from its cache. Revocations are pushed to it in the background. A newly started service waits once, inside its first check, for its revocation view.
How quickly does a revoked token stop working?
As soon as the revocation reaches the service. QuorumAuth pushes it as it happens. A service that stops hearing from QuorumAuth refuses every token with a retryable error after a fixed limit of under a minute, rather than admit a revoked one. A plain JWT stays valid until it expires: 1 hour by default on Amazon Cognito, 24 hours on Auth0.
My identity provider already issues JWTs that my services check locally from a key set. What do I gain?
The hop is already gone for you; what QuorumAuth adds is a revocation that holds in every service before the token expires, and delegated tokens narrowed each time they pass to another service. Both are checked in process, with no verifier call.
Which tokens and languages does this cover?
JWT and Biscuit tokens are verified inside your service. A Macaroon is still checked by a call to QuorumAuth. The in-process check ships in the Rust and TypeScript SDKs.
Sources