I Built llm-cost.io on Free Tiers: 400+ LLM API Prices, Updated Daily
说明与用途
构建了一个免费、无需登录的网站 llm-cost.io,实时更新 400+ LLM API 价格,统一以每百万输入/输出代币美元计价,并提供比较表、成本计算器和账单拆解工具,简化模型选择流程。
问题
AI developers lack a single, up‑to‑date source for LLM pricing, making cost estimation and model selection difficult and time‑consuming.
结果
The site runs entirely on free tiers, delivers up‑to‑date pricing, and reduces cost estimation time from hours to minutes, improving product architecture decisions.
工作流
- 1. Pull pricing data from OpenRouter API daily via GitHub Actions.
- 2. Normalize data to USD per 1M input and output tokens.
- 3. Generate static assets (tables, calculator, bill shredder) with Next.js.
- 4. Deploy static site to Cloudflare Pages.
- 5. Display last‑updated timestamp and handle missing data explicitly.
证据
I built llm-cost.io: a free, no-login site that compares 400+ LLM API prices side by side using a single unit: USD per 1M input tokens and USD per 1M output tokens.
Data refresh runs on GitHub Actions once per day.
- 记录日期: 2026-09-08T21:32:08.325Z