LLM list prices

Quick start

Install the free package and quote a request. No license step.

1. Download and install

Get the zip from the download page, then:

# Windows: double-click install.bat
# macOS/Linux: ./install.sh

2. Print the catalog

llm-cost-opt prices

3. Quote a token count

llm-cost-opt quote --input-tokens 1500 --output-tokens 300

The JSON lists every model, cheapest first. Amounts are USD list prices.

4. Redact a string

llm-cost-opt anonymize --text "Email me at me@example.com"
echo "Contact: me@example.com" | llm-cost-opt anonymize --json

5. Optional local API

llm-cost-api

Then open http://localhost:8000/docs. POST /quote returns the same table.