> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eachlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Organization Discounts

> List the model discounts of the authenticated organization with a standard API key.

## Endpoint

```
GET https://api.eachlabs.ai/v1/billing/discounts
```

Returns every model discount of your organization, current and ended, with the
current ones first. The organization comes from the API key. The request takes
no parameters, so it can only list your own organization's discounts.

## Authentication

Pass a standard API key as a Bearer token:

```http theme={"dark"}
Authorization: Bearer YOUR_API_KEY
```

## Code Examples

```bash cURL theme={"dark"}
curl https://api.eachlabs.ai/v1/billing/discounts \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```python Python theme={"dark"}
import requests

response = requests.get(
    "https://api.eachlabs.ai/v1/billing/discounts",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    timeout=10,
)
response.raise_for_status()

for discount in response.json()["discounts"]:
    print(discount["model_slug"], discount["discount_type"], discount["discount_value"])
```

```javascript JavaScript theme={"dark"}
const response = await fetch(
  "https://api.eachlabs.ai/v1/billing/discounts",
  { headers: { Authorization: "Bearer YOUR_API_KEY" } }
);

if (!response.ok) throw new Error(`Discounts request failed: ${response.status}`);
const { discounts } = await response.json();
console.log(discounts);
```

## Response

```json theme={"dark"}
{
  "discounts": [
    {
      "model_slug": "nano-banana-2-text-to-image",
      "model_name": "Nano Banana 2 | Text to Image",
      "router_model": null,
      "discount_type": "percent",
      "discount_value": 20,
      "starts_at": "2026-11-01T00:00:00Z",
      "ends_at": null,
      "is_expired": false
    },
    {
      "model_slug": "topaz-upscale-video",
      "model_name": "Topaz Upscale Video",
      "router_model": null,
      "discount_type": "fixed_amount",
      "discount_value": 0.05,
      "starts_at": "2026-10-01T00:00:00Z",
      "ends_at": "2026-10-31T23:59:59Z",
      "is_expired": true
    }
  ]
}
```

An organization with no discounts gets an empty list:

```json theme={"dark"}
{
  "discounts": []
}
```

### Response Fields

Each item in `discounts` contains:

| Field | Type | Description |
| - | - | - |
| `model_slug` | string | The model the discount applies to. |
| `model_name` | string \| null | The model's display name. `null` when it cannot be resolved. |
| `router_model` | string \| null | The LLM model, for a discount on `eachlabs-llm-router`. `null` for other models, and for a router discount that covers every LLM model. |
| `discount_type` | string | `percent` or `fixed_amount`. |
| `discount_value` | number | For `percent`, the percentage off, from 0 to 100. For `fixed_amount`, the USD taken off each execution. |
| `starts_at` | string | When the discount starts, in UTC (`2026-11-01T00:00:00Z`). |
| `ends_at` | string \| null | When the discount ends, in UTC. `null` when it has no end date. |
| `is_expired` | boolean | `true` once `ends_at` has passed. |

The same discount also shows in the `cost` of
[`GET /v1/models/{slug}`](https://docs.eachlabs.ai/api/models/get-model) when you call it with
your API key.

## Error Responses

| Status | Response | Description |
| - | - | - |
| `401` | Authentication error | The API key is missing or invalid, or its authenticated organization context is unavailable. |
| `503` | `{"status":503,"error":"service unavailable"}` | Discount data is temporarily unavailable. Retry with bounded backoff. The API never returns an empty list for this failure. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.