AI 变现Show HN · AI 产品5/10

Show HN: CostPerPrompt – Live AI API pricing and real-workload cost calculators

By ahmed_hassan7

AI 摘要

Hacker News 讨论热度 11 points · 4 comments

原文正文

What will AI actually cost you?

Live pricing for 232+ models, refreshed automatically — plus calculators that turn token prices into real answers: what your chatbot, agent, or API workload will cost per month.

Every cost question, answered

Flagship model pricing

per 1M tokens · updated 2026-08-02How AI API pricing works — the 60-second version

Every major AI provider bills the same way: you pay per token (roughly ¾ of a word), with separate rates for input (what you send) and output (what the model writes back). Output is usually 3–5× more expensive than input. A model listed at $5 / $25 per million tokens costs $5 for every million tokens you send and $25 for every million it generates.

Two discounts change the math dramatically: prompt caching cuts repeated input costs by up to 90% (critical for chatbots that resend conversation history), and batch processing takes ~50% off when you can wait for results. Our calculators account for both — most "how much will this cost" articles don't, which is why their estimates run 2–3× too high or too low.

阅读原文
Show HN: CostPerPrompt – Live AI API pricing and real-workload cost calculators · AI Daily