Price per tool
Each tool has a fixed price per call, from 1 to 40 credits. The price does not depend on the size of the result. A tool costs the same through the Tools API and MCP.
Tools available only through MCP, such as market data, Polymarket, and Hyperliquid tools, are priced in the tool catalog.
Read prices at runtime
GET /api/tools returns a credits field for each tool: its current price per call. Use it rather than hard-coding the table above. credits is null if prices are temporarily unavailable.
Free endpoints
Discovery is not charged:GET /api/tools and GET /api/tools/openapi.json cost no credits. On MCP, reading resources such as nikiwa://chains and nikiwa://usage and using prompts are not charged.
Charges and refunds
A call is charged when it starts and refunded if the tool fails. In practice, you pay only for calls that return a result, including an empty one.
A call that is refused for credits is refused whole: no partial charge, and the tool does not run. See Errors & Status for every credit error and its body.
Idempotency
On the Tools API, send anIdempotency-Key header (1 to 64 characters) to make sure a retried request is not charged twice:
- Each key is charged at most once. Reusing a key whose request has completed, or is still running, returns
409 DUPLICATE_REQUEST. Nothing is charged and the tool does not run again. - The original result is not returned again. Store results on your side if you may need them after a retry.
- If the earlier request was refunded because the tool failed, reusing its key runs and charges the call again.
- Without the header, every request is a new, separately charged call.
Price changes
Prices can change. To make sure you are never charged a price you did not expect, send the price version you last read in the optionalX-Credit-Catalog-Version header. If prices have changed since that version, the request is refused with 409 PRICE_CHANGED, nothing is charged, and the response contains the new version and prices. Without the header, calls are charged at the current price.
Plan limits for developer keys
The key limit counts MCP keys and API keys together; revoked keys do not count. The rate limit that applies to a key is the lower of the key’s own limit and its plan’s limit. If you move to a plan with fewer keys, your existing keys keep working, but you cannot create new ones. See Rate Limits & Metering.