AI Token Counter & Cost Estimator

Calculate the exact token count and estimated API cost for any text across the most popular large language models — before you send a single request. ## Why Use This API? Token limits and API costs are the #1 pain point when building LLM-powered applications. This API solves both: pass your text and model name, get back the exact token count and the precise cost in USD — for input and output —…

1 subscribers
8/10 popularity
2965 ms avg latency
50% success rate
2 endpoints
The in-depth APIMemo review for this API hasn't been published yet — the data below comes straight from the public marketplace listing.

AI Token Counter & Cost Estimator endpoints

MethodEndpointDescription
Tokens
POST countTokens
/count
Returns the exact token count for the given text using each model's native tokenizer, along with the estimated cost in USD for using that text as input or output. **Tokenization…
Models
GET listModels
/models
Returns all supported models grouped by provider, including the official model ID used in each provider's API and the current input/output pricing per million tokens.

AI Token Counter & Cost Estimator pricing

PlanPriceRate limitQuotas
BASIC Free
  • Requests: 100 / monthly
PRO $9.99 / month
  • Requests: 10,000 / monthly
ULTRA $29.99 / month
  • Requests: 100,000 / monthly
MEGA $99.99 / month
  • Requests: 1,500,000 / monthly

More Data APIs

View all →
  • This is a VIN (Vehicle Identification Number) decoder that designed to work within North America, Asia and…

    DataFreemium139 subscribers
  • Currency Exchange is a live foreign exchange rate API that lets developers retrieve real-time conversion…

    ReviewedDataFreemium23k subscribers
  • Words API lets you retrieve information about English words, including definitions, synonyms, rhymes,…

    DataFreemium1.5k subscribers
  • Whois Lookup API in Json or Xml. Our infrastructure uses thousands of SOCKS proxies to avoid quota…

    DataFreemium3.8k subscribers
  • The Weatherbit Weather API gives developers access to current conditions, multi-day forecasts, minutely…

    ReviewedDataFreemium25k subscribers
  • GeoDB Cities is a RESTful API covering more than 800,000 towns, cities, counties, and islands worldwide,…

    ReviewedDataFreemium49.8k subscribers