Back to browse
GitHub Repository

Compare LLM API costs instantly. npx llm-costs "your prompt" --compare across 17 models. Auto-updating pricing.

2 starsTypeScript

LLM-costs – Compare LLM API costs from terminal (npx, zero install)

by followtayeeb·Mar 9, 2026·2 points·0 comments

AI Analysis

●●SolidSolve My ProblemCozy

Quick terminal cost compare—but pricing dashboards (Anthropic console, OpenAI API usage) already do this.

Strengths
  • Zero-install npx entry point lowers friction vs. installing yet another global tool.
  • Batch API indicator (✓ marks) adds useful context that pricing pages don't surface clearly.
  • Auto-updating pricing model avoids stale data, though sustainability depends on scraping or API partnerships.
Weaknesses
  • Pricing info exists in official dashboards, LLM pricing comparison sites, and Claude/GPT consoles—solves a non-problem.
  • Token estimation via heuristic for non-OpenAI models is unreliable; defeats the purpose of cost prediction.
Target Audience

AI engineers, prompt engineers, cost-conscious LLM API consumers

Similar To

OpenAI API usage console · Anthropic console pricing · OpenRouter cost compare

Similar Projects