# 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.

Verified by [Verified x402](https://verifiedx402.com).

- URL: https://freetier-agent-api.pages.dev/api/llm-cost
- Category: search
- Network: eip155:8453
- Advertised price: 0.005
- Last checked: 2026-11-30T06:23:54.321Z
- Score: 91.6

This listing passed a recent check: the endpoint is live and the advertised price and terms match. Check before paying, then pay the API yourself.

- HTML: https://verifiedx402.com/v/86d581af22c4a97a8194c0076518263b
- Badge: https://verifiedx402.com/badge.svg?url=https%3A%2F%2Ffreetier-agent-api.pages.dev%2Fapi%2Fllm-cost
- Independent check: [vet402](https://vet402.com/api/v1/check?url=https%3A%2F%2Ffreetier-agent-api.pages.dev%2Fapi%2Fllm-cost)

```json
{
  "checkedAt": null,
  "httpStatus": null,
  "latencyMs": null,
  "priceMatches": null,
  "payToMatches": null
}
```
