Counts the exact number of tokens of a text for OpenAI tokenizers (o200k for GPT
Counts the exact number of tokens of a text for OpenAI tokenizers (o200k for GPT-4o/4.1/o-series, cl100k for GPT-4/3.5) and checks whether it fits a context limit. Useful to plan prompts and costs. For Claude, Gemini or Llama the count is an approximation. Token-Zähler.
Answeringour last check, 2026-11-26
3 of 3checks answered this week
531 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agent-kit-light-production.up.railway.app/v1/tokens-zaehlen
| Category | Market data |
|---|---|
| Provider host | agent-kit-light-production.up.railway.app |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.005 | 531 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 964 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 519 ms |
Example input (from the provider)
{
"body": {
"limit": 128000,
"modell": "o200k",
"text": "Fasse den folgenden Vertrag in f\u00fcnf Stichpunkten zusammen."
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"limit": {
"description": "Optional: Token-Limit zum Pr\u00fcfen",
"minimum": 1,
"type": "integer"
},
"modell": {
"default": "o200k",
"description": "Tokenizer: o200k (GPT-4o, o1, GPT-4.1) oder cl100k (GPT-4, GPT-3.5); f\u00fcr andere Modelle eine N\u00e4herung",
"enum": [
"o200k",
"cl100k"
],
"maxLength": 200000,
"type": "string"
},
"text": {
"description": "Text",
"maxLength": 5000000,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}