{"slug": "show-hn-costperprompt-live-ai-api-pricing-and-real-workload-cost-calculators", "title": "Show HN: CostPerPrompt – Live AI API pricing and real-workload cost calculators", "summary": "CostPerPrompt, a new web tool launched on Hacker News, provides live pricing for 232+ AI models and calculators that estimate real-world costs for chatbots, agents, RAG, voice AI, and GPU rental, with data updated as of 2026-08-02. The tool includes calculators for API, chatbot, agent, RAG, voice AI, GPU rental, and image API costs, plus guides on prompt caching and batch processing, which can reduce costs by up to 90% and 50% respectively. CostPerPrompt aims to address the gap in cost estimation accuracy, noting that many articles' estimates can be 2–3× off.", "body_md": "# What will AI actually cost you?\n\nLive 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.\n\n## Every cost question, answered\n\n[$_ API Cost Calculator Any workload, compared across all 232 models — with caching & batch discounts.](/api-cost-calculator)\n\n[💬 Chatbot Cost Simulates real conversations — growing history, resent context, cache hits.](/chatbot-cost-calculator)\n\n[🤖 Agent Cost Multi-step loops, tool schemas, retries — see why agents cost 10–30× more than you think.](/agent-cost-calculator)\n\n[📚 RAG Cost Indexing, retrieval and generation priced separately — spoiler: embeddings are pennies.](/rag-cost-calculator)\n\n[🎙️ Voice AI Cost STT + LLM + TTS per minute, per call, per month — the full three-part bill.](/voice-ai-cost-calculator)\n\n[🖥️ GPU Rental Pricing H100, A100, RTX 4090 across 10 providers — the same chip at a 5× price spread.](/gpu-rental-pricing)\n\n[🖼️ Image API Pricing $0.003 to $0.17 per image — three market tiers and a batch calculator.](/image-api-pricing)\n\n[🔢 Token Counter Paste text, get tokens and cost on any model — 100% in your browser.](/token-counter)\n\n[⚡ Cost-Cutting Guides Prompt caching (−90% input) and the Batch API (−50% everything) explained.](/guides/prompt-caching)\n\n## Flagship model pricing\n\nper 1M tokens · updated 2026-08-02| Model | Vendor | Input / 1M | Output / 1M | Context |\n|---|---|---|---|---|\n|\n|\n\n[GPT-5.5](/models/openai-gpt-5-5)[GPT-5.4](/models/openai-gpt-5-4)[Claude Fable 5](/models/anthropic-claude-fable-5)[Claude Opus 5](/models/anthropic-claude-opus-5)[Claude Sonnet 5](/models/anthropic-claude-sonnet-5)[Kimi K3](/models/moonshotai-kimi-k3)[DeepSeek V4 Pro](/models/deepseek-deepseek-v4-pro)[DeepSeek V4 Flash 0731](/models/deepseek-deepseek-v4-flash-0731)[Gemini 3.1 Pro Preview](/models/google-gemini-3-1-pro-preview)[Gemini 3.6 Flash](/models/google-gemini-3-6-flash)[Grok 4.5](/models/x-ai-grok-4-5)[Grok 4.3](/models/x-ai-grok-4-3)[GLM 5.2](/models/z-ai-glm-5-2)## How AI API pricing works — the 60-second version\n\nEvery major AI provider bills the same way: you pay per **token** (roughly ¾ of\na word), with separate rates for **input** (what you send) and\n**output** (what the model writes back). Output is usually 3–5× more expensive\nthan input. A model listed at $5 / $25 per million tokens costs $5 for every million tokens\nyou send and $25 for every million it generates.\n\nTwo discounts change the math dramatically: **prompt caching** cuts repeated\ninput costs by up to 90% (critical for chatbots that resend conversation history), and\n**batch processing** takes ~50% off when you can wait for results. Our\ncalculators account for both — most \"how much will this cost\" articles don't, which is why\ntheir estimates run 2–3× too high or too low.", "url": "https://wpnews.pro/news/show-hn-costperprompt-live-ai-api-pricing-and-real-workload-cost-calculators", "canonical_source": "https://costperprompt.com/", "published_at": "2026-08-02 01:56:44+00:00", "updated_at": "2026-08-02 02:22:26.826426+00:00", "lang": "en", "topics": ["ai-tools", "ai-infrastructure", "ai-products"], "entities": ["CostPerPrompt", "OpenAI", "Anthropic", "Moonshot AI", "DeepSeek", "Google", "xAI", "Z.ai"], "alternates": {"html": "https://wpnews.pro/news/show-hn-costperprompt-live-ai-api-pricing-and-real-workload-cost-calculators", "markdown": "https://wpnews.pro/news/show-hn-costperprompt-live-ai-api-pricing-and-real-workload-cost-calculators.md", "text": "https://wpnews.pro/news/show-hn-costperprompt-live-ai-api-pricing-and-real-workload-cost-calculators.txt", "jsonld": "https://wpnews.pro/news/show-hn-costperprompt-live-ai-api-pricing-and-real-workload-cost-calculators.jsonld"}}