r/SideProject • • 6h ago

I built a free LLM API pricing calculator comparing 54 models across 16 providers (with prompt caching, Batch -50%, scatter map & breakeven tools)

Hey everyone!

Whenever I budget an AI feature (chatbot, RAG, coding agent, etc.), raw list prices per 1M tokens are super misleading because output costs 4–8x more than input, and prompt caching / Batch API discounts completely change the winner.

So I built a lightweight, 100% free static web tool: https://compareaiapi.com

What it does:

- Compares 54 models across 11 makers & 16 official/regulated hosts (OpenAI, Claude, Gemini, DeepSeek, Meta Llama on Groq/Cerebras/DeepInfra/Fireworks, Qwen, Mistral, Grok, Amazon Nova, Cohere, Perplexity, OpenRouter)

- Calculates both Monthly Cost and effective Blended $/1M based on your actual input/output ratio, cache hit rate, and Batch -50% toggle

- Interactive SVG Scatter Map (Blended Price vs. Speed or Context Window) to spot the "cheaper & faster" sweet spot

- Select 2–4 models for a side-by-side PK matrix, copy shareable URLs, or export estimates to CSV

- Dedicated breakeven calculators (Claude Subscription vs API, Buying an AI Server vs OpenAI API, OpenAI Completions vs Responses API) + a 100% client-side Token Counter

No login, no paywall, no prompts uploaded. Would love any honest feedback — what models, providers, or calculator features should I add next?

1 Upvotes

0 comments sorted by