# Count exact LLM tokens for a string using the real OpenAI BPE (o200k_base for gpt-4o/o-series, cl100k_base for gpt-4/gpt-3.5). Deterministic, offline - budget context windows without calling a model.

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

- URL: https://agent402.tools/api/token-count
- Category: inference
- Network: eip155:1329
- Advertised price: 1000
- Last checked: 2026-11-25T11:13:19.541Z
- Score: 92.0

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/b8a7b6bde970cff7f2ab45e87b450ccf
- Badge: https://verifiedx402.com/badge.svg?url=https%3A%2F%2Fagent402.tools%2Fapi%2Ftoken-count

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