# Billing & limits

> Prices, the prepaid balance, usage and limits.

Part of the Endor docs. Index of every page: https://endor.thetokencompany.com/llms.txt. HTML version: https://endor.thetokencompany.com/docs/billing.

## Prices

| Item | Price |
|---|---|
| Decisions of a continuous model | The continuous model price of its base model: 1.5 × the decision price, also before its first version. It includes the learning. |
| Decisions of a model from a custom project, or of a base model called directly | Per 1M input tokens, by base model: $0.005 to $0.042 ([Base models](https://endor.thetokencompany.com/docs/base-models)) |
| Training in custom projects | $7.00 per GPU-hour of training work, billed by the second |
| Server evaluations and predictions | Billed as decisions, for every row decided (with or without labels) |
| Storage, datasets, client evaluations | Free |

Endor bills decisions on `usage.input_tokens`. There are no output tokens.

Endor bills training by the GPU time that your training calls use, measured per call: `forward`, `forward_backward`, `predict`, `optim_step` and `save_checkpoint`. Start-up, model load and the time between your calls are free. Each run session costs at least 60 GPU-seconds. A session starts when a GPU takes the run and ends when the run is parked or closed. A session without training calls costs nothing.

## Balance

Endor is prepaid. Usage decreases the balance of your organization.

1. Under **Billing** in the dashboard, pick an amount from $5 to $5,000 and click **Add credits**.
2. Pay on the Stripe Checkout page with a card, Link, Apple Pay or Google Pay. Checkout also asks for your billing address, and optionally a business name and a tax ID. Stripe saves the card and these details and puts them on your invoices. The credits appear a few seconds after payment.
3. Optional: turn on auto top-up. Set a threshold ($5 minimum) and a target amount ($10 or more above the threshold). Auto top-up charges the card picked under it, without a page visit. Pick another saved card there, or add one without a purchase. If the card is declined or your bank asks to confirm the charge, auto top-up turns off. Add credits with Checkout, then turn it on again.

Each purchase and each auto top-up gives one invoice. Download invoices, and change your card, billing address, business name or tax ID, under **Billing**.

See the balance under **Billing**, with `endor whoami` or `client.balance()` in the SDK, or with `GET /v1/balance`.

A new organization has a balance of $0. When the balance is $0 or less, these calls fail with `402 insufficient_balance`: decisions, new runs, training calls, dataset uploads and server evaluations. Calls that Endor accepted before continue. The SDK raises `endor.InsufficientBalanceError` and does not retry.

## Usage

```python
from datetime import datetime, timezone

import endor

client = endor.EndorClient()
rows = client.usage(datetime(2026, 10, 1, tzinfo=timezone.utc), datetime(2026, 10, 6, tzinfo=timezone.utc))
for r in rows:
    print(r.hour, r.kind, r.project, r.model, r.input_tokens, r.gpu_seconds, r.cost_usd)
```

Each row is one hour. `kind` is `decide` (with `input_tokens`) or `train` (with `gpu_seconds`). A continuous model's decisions have `project` (its name), `model` (the version that answered) and `continuous_learning` `true`. The decisions of a custom project's model have `project` `null` and `model` its name. Training has `project` `null` and `training_run_id`. One call covers 14 days maximum. The CLI gives the same data: `endor usage --start 2026-10-01 --end 2026-10-06 --csv`.

Decisions show in usage, and on the dashboard's **Usage** page, within about a minute. A run's GPU time shows every 5 minutes while the run is on a GPU, and the rest within a minute after the run is parked or closed.

## Limits

A count limit gives `409 limit_reached`, and the message names the limit, for example "This organization has 25 open runs, the maximum of 25 (idle ones count): ...". A rate limit gives `429 rate_limited` with `Retry-After`.

The values below are the defaults. Your organization's own limits can differ: `GET /v1/whoami` (`endor whoami`) returns them in `limits`, for example `max_active_runs` and `max_production_models_per_org`. To raise a limit for your organization, email rasmus@thetokencompany.com.

| Limit | Default | Error |
|---|---|---|
| Continuous models in an organization | 5 | `409 limit_reached` |
| Models from custom projects in production in an organization | 3 | `409 production_full` (promote with `replace`, or archive one first) |
| Saved models from custom projects in an organization, saves in progress included | 500 | `409 limit_reached` |
| API keys in an organization, revoked keys not included | 20 | `409 limit_reached` |
| Open runs in an organization, idle runs included | 25 | `409 limit_reached` |
| Datasets in an organization | 1,000 | `409 limit_reached` |
| Dataset storage in an organization. A deleted dataset counts for 30 days, until its files are removed. | 200 GB | `409 limit_reached` |
| Time without calls before a run is parked (`idle`) | 2 minutes | none |
| Time without calls or heartbeats before a run is closed. The SDK sends a heartbeat every minute while the run is open. | 1 hour | none |
| Pending calls on a run | 64 | `429 queue_full` |
| Datums in a training call | 1,024 | `422 invalid_input` |
| Decision requests in an organization, all keys together | 1,200 a minute: up to 1,200 at once, then 20 a second | `429 rate_limited` |
| Questions being decided at once in an organization, per base model | 256 | `429 rate_limited` |
| Dataset uploads, run creations, evaluations in an organization | 60, 20, 120 a minute | `429 rate_limited` |
| Model download calls in an organization | 30 a minute | `429 rate_limited` |
| Balance calls (`GET /v1/balance`) in an organization, the dashboard's billing pages included | 300 a minute | `429 rate_limited` |
| [User reports](https://endor.thetokencompany.com/docs/api#user-reports) in an organization | 20 an hour | `429 rate_limited` |
| Questions in a decision request | 64 | `422 invalid_input` |
| Rows in a dataset | 50,000 | `422 invalid_input` |
| Request body | 64 MB for a dataset upload, 32 MB for an evaluation or a training call, 4 MB elsewhere (decisions: 1 MB plus their images) | `413 payload_too_large` |
| Time range of a usage call | 14 days | `422 invalid_input` |

## Other pages

- [Overview](https://endor.thetokencompany.com/docs/index.md): What Endor does: you train decision models on your labeled data in custom projects with the SDK, Endor runs the GPUs, and you call them by name. Continuous models are for invited organizations.
- [Quickstart](https://endor.thetokencompany.com/docs/quickstart.md): Start here: install the SDK, measure base models on your data, train a model in a custom project, evaluate it, promote it and call it.
- [Core concepts](https://endor.thetokencompany.com/docs/concepts.md): Organizations, continuous models and their production and preview versions, names, base models, custom projects, datasets, runs, evaluations and futures.
- [Custom projects](https://endor.thetokencompany.com/docs/training.md): Custom projects (custom_models in the SDK and API): train a model with the SDK, save, promote to production, call, download; the training loop in detail.
- [Continuous models](https://endor.thetokencompany.com/docs/continuous-learning.md): Continuous models (projects in the SDK and API), only available to invited organizations: create one, call its production version or its preview, auto-promote, promote and roll back versions, feedback, price.
- [Decisions](https://endor.thetokencompany.com/docs/decisions.md): Decisions with the SDK and over HTTP, model names, giving feedback on them, TypeSafe clients, cold starts, errors.
- [Base models](https://endor.thetokencompany.com/docs/base-models.md): The 18 base models: limits, rules, prices and cold starts.
- [Data format](https://endor.thetokencompany.com/docs/data-format.md): Decision rows, question types, hard and soft labels, datums and limits: the data for custom projects.
- [API reference](https://endor.thetokencompany.com/docs/api.md): Each /v1 endpoint: method, path, body fields, response fields and errors.
- [Python SDK](https://endor.thetokencompany.com/docs/sdk.md): The Python SDK (0.9.0): client, continuous models (client.projects) and versions, custom projects (client.custom_models), datasets, runs, evaluations, futures, data helpers, recipes, errors, CLI.
- [Updates](https://endor.thetokencompany.com/docs/updates.md): Changes to the API and SDK, newest first, and when old names and endpoints stop working.
- [Index](https://endor.thetokencompany.com/llms.txt): every page and the API schema.
