Skip to content
Compresr docs

API reference

GET /billing/tiers

List the public Compresr usage tiers and their rate limits.

GET/api/billing/tiersPublic

List the public Compresr usage tiers and their rate limits.

Public, unauthenticated endpoint. Returns the same tier schedule that drives the pricing page and the live TierTable component. Most readers want Rate limits & headers; this page documents the raw shape.

Response

Response
  • successboolean

    Always true on 200.

  • messagestring | null

    Always null here.

  • tiersarray

    Ordered list of tiers, lowest to highest. Note: at the top level, not under data.

    • namestring

      Stable tier identifier: tier1, tier2, tier3, tier4, tier5.

    • display_namestring

      Human-readable name (e.g. "Tier 1").

    • min_monthly_tokensinteger

      Minimum monthly compressed tokens to reach this tier.

    • max_api_keysinteger

      Maximum number of API keys the tier permits.

    • rate_limitsobject
      • rpminteger

        Requests per minute. -1 means unlimited.

      • tpminteger

        Tokens per minute. -1 means unlimited.

      • rpdinteger

        Requests per day. -1 means unlimited.

  • scale_limitsobject

    Per-model-scale limit matrices, keyed by scale ("base", "x2", "x5"). Models with a higher scale run at multiplied limits — see Rate limits.

    • <scale>array

      One entry per tier: { tier, rate_limits: { rpm, tpm, rpd } }.

Status codes

Status codes
  • 200
    Tiers returned.
  • 500
    Internal error fetching the tier schedule.
Request
python
Response
json