Tool detail
CheapTokens AI Inference
Pays USDC to buy discounted Venice.ai API credit — a Same-Day spot key or a Prepaid API key — for LLM, image, audio, or video inference.
Categories: LLM inference, Account management
Use when
- buy a discounted API key for LLM chat completions
- get cheap same-day credit for image or audio generation models
Not for
- not inference itself — returns a Venice API key to call separately
- not refundable — Same-Day credit expires unused at 24:00 UTC
Inputs
POST JSON body: usdPaid (number, required), purchaseMode (spot/prepaid, optional), plus dailyReservedUsd/reserveStart/topUpKeyLast6/paymentSessionId (optional)
Admitted input schema
{
"type": "object",
"properties": {
"dailyReservedUsd": {
"type": "number",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Daily credit reserve amount in Venice API credits per UTC day. Required when purchaseMode=\"prepaid\". Must fit unreserved capacity for the start date and be at least one-seventh of the reserve balance."
},
"paymentSessionId": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Opaque session ID returned in a prior 402 response; echo it back on retry."
},
"purchaseMode": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"enum": [
"spot",
"prepaid"
],
"description": "Use \"spot\" for Same-Day Credits or \"prepaid\" for a Prepaid API Key with prepaid balance and daily credit reserve."
},
"reserveStart": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"enum": [
"tomorrow"
],
"description": "Prepaid API Key daily credit reserve start. New Prepaid API Keys start tomorrow UTC; use Same-Day Credits for work today."
},
"topUpKeyLast6": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Optional last 6 characters of a wallet-owned active Prepaid API Key to top up."
},
"usdPaid": {
"type": "number",
"minimum": 0.01,
"maximum": 9007199254740991,
"description": "Discounted USD amount to pay for Venice API credits. Minimum is based on receiving at least $0.50 in credits after current time-based pricing."
}
},
"required": [
"usdPaid"
],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://cheaptokens.ai/api/buy
Payment
- Protocol
- x402
- Listed price
- 1 USDC representative price on Base; actual charge equals usdPaid (min $0.01)
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://cheaptokens.ai/api/buy
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z