llm_cost
Paid ($0.01 USDC via x402). Token & cost calculator: estimate tokens for a text (or pass input_tokens/output_tokens) and price it across several models using provider list prices (LiteLLM price table, MIT). Params: models (comma list of model ids like gpt-4o-mini, claude-sonnet-4-5, gemini/gemini-2.5-flash or search words, max 15), text or input_tokens, output_tokens, calls. Calling this tool returns the exact HTTP request and x402 payment requirements; pay with any x402 client to get the data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| calls | No | ||
| models | No | ||
| input_tokens | No | ||
| output_tokens | No |