Agent crypto top-ups
Use SDK version 0.1.2 or hosted MCP to request crypto payment instructions and check verified settlement. Create a key with Billing access in API keys. Existing keys retain their original permissions. Your separately authorized wallet signs transfers; Dreamtune never requests its private key or seed phrase. Follow the agent funding workflow for exact steps, expiry and recovery. The Billing API documents routes, units, permissions and errors; the SDK and MCP tool reference cover client methods.Optional key limits
You can set separate cumulative spending limits for models, tools and compute when creating a key. A blank limit allows that category to use wallet credit. It does not provide credit after the wallet is exhausted. New paid work requires a positive balance and remaining applicable key budget. One billable operation can be active per workspace across these categories.Model and tool settlement
Successful operations settle using confirmed actual cost and the saved server billing policy. A final receipt can include:
Amounts are integer strings in USD millionths:
"1000000" means USD 1.00.
For a final receipt, cost - discountAmount + fee = total.
Pending runs do not contain a final cost breakdown. Failed new model/tool runs
have a zero final charge.
An operation that completes successfully can cost more than the remaining key
budget or wallet balance. Its confirmed cost still settles, and further work is
blocked until the admission requirements are met. Key limits are not guaranteed
maximum prices for a single upstream operation.