GET/api/plan-discounts

Get plan discounts per model

Keyless. Each plan's percent off list price per public model, taken from the lane that leads the model's route (a discount on a fallback lane is never charged), largest Ultra discount first. Cached for five minutes; a 503 with Retry-After means a refresh is in progress.

Authentication: No authentication

Responses

  • 200

    The per-plan discounts.

    Response
    • bestobject

      Percent off list price per plan (Free is what every organization pays).

      best
      • freenumber
      • pronumber
      • maxnumber
      • ultranumber
    • modelsarray<object>
      models
      • slugstring
      • namestring
      • freenumber

        Percent off list.

      • pronumber
      • maxnumber
      • ultranumber
  • 503

    The summary is refreshing or the last refresh failed. Retry after the Retry-After seconds.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

Request

curl https://api.experientiallabs.ai/api/plan-discounts

Response

{
  "best": {
    "free": 25,
    "pro": 100,
    "max": 100,
    "ultra": 100
  },
  "models": [
    {
      "slug": "gpt-6-luna",
      "name": "GPT-6 Luna",
      "free": 0,
      "pro": 100,
      "max": 100,
      "ultra": 100
    },
    {
      "slug": "claude-haiku-5.5",
      "name": "Claude Haiku 5.5",
      "free": 0,
      "pro": 0,
      "max": 75,
      "ultra": 100
    }
  ]
}

https://api.experientiallabs.ai/api/plan-discounts