Send Command
You type a query in zk3yOS
Price Quote
Receive HTTP 402 with cost
Approve
Auto or manual approval
Payment
SOL settles on Solana
Response
Receive AI response instantly
> zk3y ask "Explain the theory of relativity"
[x402] Payment Required
model: claude-3-sonnet
tokens: ~500
price: 0.0001 SOL ($0.02)
[x402] Auto-approved (within daily limit)
[x402] TX: 5Uh7kL9m... CONFIRMED
[RESPONSE] The theory of relativity, developed by
Albert Einstein, consists of two interrelated
physics theories: special relativity and general
relativity...Pay-per-query pricing down to fractions of a cent. Only pay for what you actually use.
Smart contract escrow ensures fair exchange. Payment releases only after successful response.
Every transaction is on-chain. Full visibility into your AI spend with detailed analytics.
Set daily limits, auto-approve thresholds, and spending caps. You're always in control.
No hidden fees. No surprises. Every operation has a clear, upfront cost.
# Enable x402 auto-payments
zk3y config set x402.auto true
# Set daily spending limit (SOL)
zk3y config set x402.limit 10
# Set auto-approve threshold (SOL)
zk3y config set x402.autoApproveMax 0.01
# Require confirmation for expensive queries
zk3y config set x402.confirmAbove 0.1
# View spending history
zk3y x402 history --days 7
# Export spending report
zk3y x402 export --format csv --month 2025-01