{"slug":"mini-tollbooth-onrender-com-prompt-cost-e71347","title":"Prompt cost estimator — paste a prompt, get a heuristic token estimate and what ","host":"mini-tollbooth.onrender.com","method":"GET","resource":"https://mini-tollbooth.onrender.com/prompt-cost","category":"market","description":"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.","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":183,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"model":"openai/gpt-4o-mini","text":"Explain quantum computing simply"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"model":{"description":"Optional model id (substring match) — cost for just that model.","type":"string"},"text":{"description":"The prompt to estimate token cost for (max 50,000 chars).","type":"string"}},"required":["text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":183,"error":null}],"description_full":"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.","last_updated":"2026-10-05T20:12:10.042Z","schemes":["exact"]}