Skip to content

feat: add llm-prices — CLI and MCP server for LLM API pricing comparison#451

Open
benbencodes wants to merge 1 commit into
alvinreal:mainfrom
benbencodes:feat/add-llm-prices
Open

feat: add llm-prices — CLI and MCP server for LLM API pricing comparison#451
benbencodes wants to merge 1 commit into
alvinreal:mainfrom
benbencodes:feat/add-llm-prices

Conversation

@benbencodes
Copy link
Copy Markdown

Summary

Adds llm-prices to the CLI Tools & API Clients section.

What it does: Zero-dependency Python CLI and MCP server for comparing LLM API pricing across 22 providers. Developers use it to:

  • Find the cheapest model for a given token budget
  • Calculate exact API costs before committing to a provider
  • Compare pricing across OpenAI, Anthropic, Google, xAI, Mistral, Groq, DeepSeek, and 15 more

Key facts:

  • 130 models across 22 providers (data updated regularly)
  • Zero dependencies — works offline, no API key required
  • MCP server for AI assistant integration (Claude Desktop, Cursor, etc.)
  • MIT licensed
  • Install: pip install llm-prices

Example:

$ llm-prices list --top 5
$ llm-prices calc --model gpt-4o --input 1000000 --output 200000
$ llm-prices compare --models gpt-4o,claude-sonnet-4-6,gemini-2.5-flash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant