Marketplace · API · x402

mini-tollbooth.onrender.com/prompt-cost

Prompt cost estimator — paste a prompt, get a heuristic token estimate and what it would cost across every model in the /models catalog, cheapest first. Heuristic estimate, not an exact tokenizer count. Toll: $0.02 USDC on Base or Solana.

Endpointhttps://mini-tollbooth.onrender.com/prompt-cost
TrustNot checked yet
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0x8BE8D056d5F0bEF850eC9ed5C4a8d647cBE896C0
methodGET
last updated2026-11-12T00:02:26.751Z

Use it

Call it (an x402 client pays automatically)

curl -i https://mini-tollbooth.onrender.com/prompt-cost
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-50eba181bc447e71

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}