# API credits

> A prepaid unit of usage that different endpoints consume at different rates.

Credits turn many prices into one balance. Instead of separate meters for searches, emails and phones, each call costs a set number of credits, and you buy credits in bulk.

Credit systems work when the conversion is published, stable and easy to calculate before a call. They fail when costs are hidden or change by context.

To budget, multiply the expected number of hits for each endpoint by its credit cost, then by your price per credit. Misses that are free do not count. Dry-run quotes give the same answer automatically for a specific request.

## How Dizo handles it
A Dizo credit costs $0.025 down to $0.010 depending on purchase size. Costs per endpoint are published and returned in `x-dizo-credits-used` on every response.

Docs: [/docs/pricing](https://dizo.ai/docs/pricing.md), [/docs/billing](https://dizo.ai/docs/billing.md)

Related terms: [Pay-as-you-go API](https://dizo.ai/glossary/pay-as-you-go-api.md), [Dry-run quote](https://dizo.ai/glossary/dry-run-quote.md)
