Get startedAPI referenceGoing to productionExplore models

Account & operations

Usage & billing

Successful responses include provider-reported input, cache, and output token counts when available. PicoX records the request, selects the lowest applicable price without stacking discounts, and atomically debits both the API key budget and workspace wallet.

01Provider usage

Read from the upstream response or final stream event, including cache read and cache write tokens.

02Pricing route

Uncached input, cache read, cache write, and output tokens each use the selected route price.

03Usage ledger

The request, latency, provider, token breakdown, cost, and status are recorded together.

Usage fallback

When a provider omits usage, PicoX estimates tokens to keep metering and route behavior consistent.

Base prices and multipliers

Token prices are listed in USD per million tokens. Resolve the current base and route prices, then compare supplier and account offers against the same reference. Each price component uses the lowest applicable rate; discounts never stack.

Example
Base input:     $4.00 / 1M tokens
Route quote:    $2.00 / 1M tokens
Supplier offer: 10% off base = $3.60
Account offer:  20% off base = $3.20
Final price:    $2.00 / 1M tokens (best offer; no stacking)
Copied