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

# Credits and quotes

| Need | Endpoint | API Key |
| - | - | - |
| Read the current versioned price catalog | `GET /billing/prices` | Optional |
| Estimate credits for 1–20 items | `POST /billing/estimates` | Optional |
| Obtain a time-limited quote for one task | `POST /billing/quotes` | Required |
| Check available and reserved credits by account | `GET /credits` | Required |
| List completed credit deductions | `GET /usages` | Required |

Pass the quote's `id` as `quoteId` and keep the workflow and pricing inputs the same. Use the same quote when retrying an uncertain submission. Request a fresh quote when the previous quote expired or the pricing inputs changed.

Read `billingStatus` separately from the generation status. `Reserving` means a hold is being acquired, `Held` means credits are reserved, `Captured` means they were charged, and `Released` means the hold was released. `Included` indicates a task billed as part of another task. Use [task results and errors](https://docs.lululab.ai/task-results.md) for recovery steps.


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