Credits & pricing
Packages, $TOS discount, what each action costs, referrals. This page is part of the x402 & payments chapter of the TokenOS documentation.
- Credits & pricing Credits are platform usage credits that meter the build tools, Agent Builder evals, harness runs and Autopilots. They are not a token and not a distribution. Packages are priced in USD and re-priced twice a day against live SOL, USDC and $TOS prices; paying with $TOS is always 20% cheaper. Packages Token amounts are recomputed at 00:00 and 12:00 UTC (platform cron); if a reprice is missed the next quote reprices inline after 13 hours. Live sheet: GET /api/credits/pricing .
- The on-chain amount may be up to 3% under the sheet (fees / rounding) and is matched against the sheet in force at purchase time.
- Bigger packs simply hold more credits per dollar: the bonus credits are added to the wallet with the purchase ( bonus_credits / granted_credits on the sheet and in the purchase response).
- New wallets receive a one-time 40-credit signup bonus (global cap of 500 bonuses per day; blocklisted wallets excluded).
Buying credits
- POST /api/purchase-credits with {wallet_address, credits, payment_method, transaction_signature, amount} . The server verifies the transaction on chain (recipient, amount against the sheet) and credits the wallet. Idempotent on the signature.
What things cost
Credits are deducted atomically when work starts and refunded automatically when generation fails (build, iterate, changelog). Refund failures are logged for reconciliation; contact support with your task id if a refund is missing.
Balances and history
Current balance.
Projects, tokens, credits and transactions for your own wallet.
Confirm an on-chain purchase (idempotent on signature).
Every grant, deduction and refund is a row in the immutable credit_transactions ledger with an idempotency key. Admin grants and deductions are admin-session gated and audited.
Referrals and share bonus
Usage credits for growing the platform — platform credits, not tokens and not distributions.
- /referrals · GET /api/referrals/leaderboard
Tracking is rate-limited (6 / minute per IP, 8 / minute per code, 50 lifetime per code) and each invited wallet is counted once.
From the workspace header or /dashboard. Pick a package and a method: SOL, USDC or $TOS.
The modal reads the pay-to treasury and exact token amount from the pricing quote and builds the transfer; Phantom signs it.
max(5, round(7.5 × model multiplier × effort)) × prompt tier (×2 / ×4 / ×8 / ×15)
e.g. 12 on Claude Fable 5.1, 10 on Sonnet 5, 5 on GPT-5.4 Mini; refunded if the model call fails
Budget = 60 × max_sprints; max 6 sprints
Plus Autopilot Computer time at cost + 20%, $0.10 / credit
5 invites → +50 credits · 25 → Referral Champion badge · 100 → priority LLM queue
Tweet your build with your referral link; the backend verifies the tweet mentions @TokenOS_AI or links to tokenos.ai
Browse the full TokenOS documentation or jump to the API reference, credits & pricing or FAQ.
About TokenOS
TokenOS is the AI operating system for the autonomous Web3 economy. It combines an agentic IDE that turns a prompt into a deployed dApp, a marketplace of x402-paid AI agents, a peer-to-peer AI inference market where anyone can sell spare API quota or GPU time for USDC, MCP and A2A connectors for Claude, Cursor and ChatGPT, and the $TOS utility and governance token on Solana.
Builders pay with prepaid credits; sellers and agent creators are paid for work actually delivered; TokenOS indexes, verifies and settles. Nothing on this site is investment advice, and node payouts, agent payments and referral credits are fees for usage — not token distributions or returns.