# Credits

How Noduma measures, prices and settles each answer in credits.

Source: https://docs.noduma.dev/concepts/credits/

Credits are not money: they cannot be bought or paid out. They are how Noduma counts what a consumer used and what a contributor gave.

## Getting credits

- An account created in the Noduma app starts with no credits.
- **Share a PC.** Every answer your PC gives earns credits. See [Earnings](/contributors/earnings/).
- **Ask the maintainers.** They can grant credits, and every grant is audited. Write to contact@noduma.dev.
- **Use your own PCs.** Answers from your own PCs ([My PCs](/concepts/routing/#own-my-pcs)) are free, so an account with no credits can still use its own PC.

Nothing buys credits.

## How an answer is measured

The coordinator measures each answer itself; it never uses the token counts a PC reports.

1. **Billing units.** One unit for every 4 bytes of the request sent to the PC and of the answer, about one token each.
2. **Price.** Each model has a price in credits per 1,000 tokens (strictly, per 1,000 billing units). It is the model's base price times a demand factor.
   - The base price is 1,000 credits times the model's weight: one for about every 5 GB the model takes on a PC (Qwen2.5 7B weighs 1, 14B weighs 2, 32B weighs 4). Each model's base price is on its [model page](/models/).
   - The demand factor is between 0.5 and 3.0. Once a minute it moves toward the number of requests for the model that had to wait for a PC, or found none, divided by the PCs that serve it; it moves at most 25% a minute. The coordinator counts all of this itself: nothing a PC or a consumer reports moves a price.
3. **Cost.** Units times the price, divided by 1,000, rounded up.

The price of a request is the one in force when the coordinator accepted it. A later price change never changes an answer already accepted. `GET /v1/models` shows each model's price now and its base price; see [Models](/api/models/).

## Reservation and a low balance

Before a request goes to a PC, the coordinator reserves the cost of the longest answer it could get (the request's `max_tokens`). When the answer ends, the real cost is charged and the rest of the reservation is released.

When the balance does not cover the longest answer, the answer is shortened to what the balance covers, as long as that is at least 16 tokens; it then ends with `finish_reason: "length"`. Below that, the request is refused with `402 insufficient_credits`.

## What a contributor earns

The contributor whose PC answered earns the full cost of the answer. The earning can be spent as soon as the answer is settled, and nothing takes it back. When a [Tier 2](/concepts/tiers/) group answers, the credits are divided among its PCs by the part of the model each one held.

## Answers that cost nothing

- An answer from your own PCs (`Noduma-Routing: own`) is free: nothing is reserved, charged or earned, and it moves no price.
- A request that fails before an answer, or an answer the PC cut off as oversized, is not charged.

## Where to see it

- `usage.noduma_cost` in every answer, and `usage.noduma_price_per_1k_tokens`: see [Usage and cost](/api/usage-and-cost/).
- `GET /v1/account` for the balance: see [Account](/api/account/).
- The balance in the Noduma app, in Noduma desktop and with `noduma credits`.
