Compute Unit (CU) Pricing Model
BlockDB uses a Compute Unit (CU) pricing model that charges based on the computational complexity of each API endpoint. This ensures you only pay for what you use, without being forced into expensive plans for simple queries.How Compute Units Work
Each API request consumes a certain number of Compute Units based on the dataset level and endpoint complexity:| Dataset Level | Endpoint Family | Compute Units (CU) | Examples |
|---|---|---|---|
| 00xx | Reference & Catalog | 1 CU | Price catalog discovery, enumerations |
| 01xx | Ledger & Execution | 1 CU | Blocks, Transactions, Logs, Contracts, Function Results |
| 02xx | Tokens & Pools | 2 CU | ERC-20 tokens, ERC-721 tokens, Pools |
| 03xx | Reserves | 3 CU | Pool reserves snapshots |
| 04xx | Pricing Layers | 4 CU | Catalog, Depth, Impact Grid, OHLC |
| 05xx | Pricing Analytics | 5 CU | VWAP, LWAP calculations |
| Lineage | Data Provenance | 1 CU | Lineage record, genesis, parents |
| Verification | Integrity Checks | 1 CU | Receipt root, logs bloom verification |
CU consumption is calculated per request. Pagination and result size do not affect CU costs—only the endpoint type determines the CU value.
CU Billing & Tracking
How CU Consumption is Tracked
Query theGET /usage endpoint to retrieve your current CU consumption, remaining quota, and detailed usage statistics. 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.Monthly CU Allowances
Plans include monthly CU allowances that reset each billing cycle:- Testing Plan: Base CU allowance for development and testing
- Production Plan: Higher CU allowance for production workloads
- Enterprise Plan: Custom CU allowances tailored to your needs
CU consumption is tracked per API key. You can distribute your total CU allowance across multiple API keys for different applications or environments.
Overage Handling
When you exceed your monthly CU allowance:- Hard limits: API requests are blocked once your CU allowance is exhausted
- Additional packages: Purchase additional CU packages to continue using the API
- No automatic overage charges: You control when to purchase additional CUs—no unexpected charges
- Package options: Additional CU packages are available in various sizes to match your needs
Monitor your CU consumption through the
GET /usage endpoint or the BlockDB Admin Panel to plan ahead and purchase additional packages before reaching your limit.Pricing Examples
Example 1: Simple Block Query
Example 2: Token Price Analysis
Example 3: Complex Analysis Workflow
The CU model ensures you pay proportionally to the computational cost of each request. Simple lookups cost less than complex analytics, making it economical to use BlockDB for both simple and advanced use cases.
See Also
- Delivery Methods - When to use API vs Archive Delivery
- Usage Endpoint - Track your CU consumption
- Billing & Invoicing - Billing cycles and payment methods