# 🧱 Compute Units (CU)

A **Compute Unit (CU)** is the standard unit of measurement for API usage. Each API call consumes a certain number of CUs, depending on the complexity of the operation and the amount of data being processed.

* **Why CUs?**\
  Instead of counting only the number of requests, CUs provide a fair way to measure actual computational cost. A simple request may consume fewer CUs, while decoding a large block with hundreds of transactions will consume more.
* **How CUs are counted:**
  * **Decode Transaction** → consumes a small number of CUs (lightweight operation).
  * **Decode Block** → consumes more CUs, since it decodes all transactions within a block.
* **Billing & Rate Limits:**
  * Your plan includes a monthly CU quota.
  * If you exceed the quota, requests may be throttled or billed as per your pricing plan.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://txdecoder.gitbook.io/docs/pricing-and-payments/compute-units-cu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
