Skip to main content

Compute Unit (CU) Pricing Model

BlockDB measures API usage in Compute Units (CU), weighted by the computational complexity of each API endpoint. Your custom plan includes a monthly CU allowance sized to your workload.

How Compute Units Work

Each API request consumes a fixed number of Compute Units determined by the data layer β€” not by result size or pagination depth. Your monthly CU allowance (cu_limit, cu_used, cu_remaining on GET /usage) is account-wide and shared by every API keyβ€”adding keys does not create separate CU pools. The same applies to RPS; see Rate limiting.
CU consumption is calculated per request. Result size and pagination do not affect CU cost β€” only the endpoint level determines the CU value.

CU Billing & Tracking

How CU Consumption is Tracked

Query the GET /usage endpoint to retrieve your plan, cu_used, cu_remaining, cu_limit, cu_reset_at, and rate_limit_rps. This endpoint is free to use and does not consume compute units.
The /usage endpoint provides comprehensive usage data including consumption by dataset, billing period information, and rate limits.

Overage Handling

When you exceed your monthly CU allowance:
  • Hard limits: API requests are blocked once your CU allowance is exhausted
  • Additional capacity: Contact support@blockdb.io to add CUs or resize your plan
  • No automatic overage charges: You decide when to add capacityβ€”no unexpected charges
Once your CU allowance is exhausted, API requests will return 429 Too Many Requests until additional CUs are added to your plan. Plan your usage accordingly to avoid service interruptions.

Pricing Examples

Example 1: Raw block query (L1)

Example 2: ERC-20 token lookup (L2)

Example 3: Fiat VWAP price (L5, dataset 0605, b0605_token_to_fiat_vwap)

Example 4: Multi-step analysis workflow

See Also

Last modified on May 29, 2026