{"slug":"agent-kit-light-production-up-railway-app-v1-tokens-zaehlen-08e8d1","title":"Counts the exact number of tokens of a text for OpenAI tokenizers (o200k for GPT","host":"agent-kit-light-production.up.railway.app","method":"POST","resource":"https://agent-kit-light-production.up.railway.app/v1/tokens-zaehlen","category":"market","description":"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.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":531,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"limit":128000,"modell":"o200k","text":"Fasse den folgenden Vertrag in fünf Stichpunkten zusammen."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"limit":{"description":"Optional: Token-Limit zum Prüfen","minimum":1,"type":"integer"},"modell":{"default":"o200k","description":"Tokenizer: o200k (GPT-4o, o1, GPT-4.1) oder cl100k (GPT-4, GPT-3.5); für andere Modelle eine Näherung","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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":531,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":964,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":519,"error":null}],"description_full":"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.","last_updated":"2026-11-24T16:00:48.995Z","schemes":["exact"]}