Compute Credits
What are compute credits
Section titled “What are compute credits”Compute credits are the internal unit of account on System R. They are pegged 1:1 to USD. When you call a tool, the cost is deducted from your compute credit balance.
- 1 compute credit = $1.00 USD
- Deposits are converted to compute credits at the time of deposit
- Each tool call deducts a fixed amount (see pricing)
- Balance below $0.01 triggers a low balance warning
How to deposit
Section titled “How to deposit”Send tokens to the System R treasury wallet on Solana, then submit the transaction signature.
Treasury wallet: 9Nc6u9ft3uAr6DSaqHijFjQS53hZPDRL2LoVYvH4vK5H
Accepted currencies
Section titled “Accepted currencies”| Currency | Endpoint | Conversion |
|---|---|---|
| OSR | POST /v1/billing/deposit-osr | $0.005 per token (presale: $0.004) |
| SOL | POST /v1/billing/deposit-sol | Live CoinGecko price |
| USDC | POST /v1/billing/deposit-usdc | 1:1 |
| USDT | POST /v1/billing/deposit-usdt | 1:1 |
| PYUSD | POST /v1/billing/deposit-pyusd | 1:1 |
Deposit flow
Section titled “Deposit flow”- Send tokens to the treasury wallet on Solana mainnet.
- Wait for the transaction to confirm (finalized).
- Submit the transaction signature to the appropriate deposit endpoint.
- System R verifies the on-chain transfer and credits your balance.
Every deposit transaction is verified on-chain before credits are issued. Replay protection prevents the same transaction from being credited twice.
Check your balance
Section titled “Check your balance”balance = client.get_balance()print(f"Balance: ${balance['balance']}")print(f"Low balance: {balance['is_low']}")curl https://agents.systemr.ai/v1/billing/balance \ -H "X-API-Key: sr_agent_..."Response:
{ "agent_id": "agt_a1b2c3d4", "balance": "42.50", "is_low": false, "updated_at": "2026-03-25T12:00:00Z"}How billing works per call
Section titled “How billing works per call”- Agent calls a tool (e.g.
pre_trade_gate, cost $0.01). - System R checks the agent’s balance.
- If balance >= cost, the tool executes and the cost is deducted.
- If balance < cost, HTTP 402 is returned. No deduction, no execution.
- The transaction is logged in the billing audit trail.
Presale buyers receive a 20% discount on all operations automatically.
View transactions
Section titled “View transactions”curl https://agents.systemr.ai/v1/billing/transactions?limit=20 \ -H "X-API-Key: sr_agent_..."View usage summary
Section titled “View usage summary”curl https://agents.systemr.ai/v1/billing/usage \ -H "X-API-Key: sr_agent_..."Returns usage grouped by operation type with count and total cost.
Initial balance
Section titled “Initial balance”New agents start with a $0.00 balance. Deposit compute credits before calling paid tools. The get_pricing and list_tools endpoints are free and require no balance.