{"api":"v1","generated_at":"2026-09-16T04:21:53.824Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/tokens-openverbs-com-v1-count-3c76f8","pinned_page":"https://tollindex.com/e/tokens-openverbs-com-v1-count-3c76f8/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"tokens-openverbs-com-v1-count-3c76f8","canonical_url":"https://tokens.openverbs.com/v1/count","resource":"https://tokens.openverbs.com/v1/count","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Count the LLM tokens in text for a given model or encoding — exact for OpenAI and open models (Llama, Mistral, Qwen, Gemma, DeepSeek, Command-R); labelled-approximate for Claude & Gemini.","service_name":"Count tokens","declared_category":null,"declared_tags":["count llm tokens","token count api","count text tokens","estimate prompt tokens","model tokenizer count"],"route_template":null,"registry_updated":"2026-09-14T20:00:06.977Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"count","category":"market-data","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.004 USDC","amount_units":0.004,"decimals_known":true,"pay_to":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":4,"unique_payers_30d":2,"last_called_at":"2026-09-14T20:00:06.676Z"},"validation":{"latest":{"observed_at":"2026-09-15T04:29:52.423Z","state":"pass","failed_checks":["bazaar.info.output"],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T04:29:52.423Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T04:26:21.534Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T04:25:07.680Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T06:40:47.630Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T10:12:21.274Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","page":"https://tollindex.com/seller/0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","endpoints":370,"hosts":89},"reports":0,"registry_record":{"cdp":[{"tags":["count llm tokens","token count api","count text tokens","estimate prompt tokens","model tokenizer count"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","amount":"4000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-09-14T20:00:06.676Z","l30DaysTotalCalls":4,"l30DaysUniquePayers":2},"resource":"https://tokens.openverbs.com/v1/count","extensions":{"bazaar":{"info":{"input":{"body":{"text":"example","model":"example","encoding":"o200k_base"},"type":"http","method":"POST","bodyType":"json"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":100000,"description":"The text to tokenize. Empty string counts as 0 tokens."},"model":{"type":"string","maxLength":100,"minLength":1,"description":"LLM model name, e.g. \"gpt-4o\", \"llama-3.1-70b\", \"claude-3-5-sonnet\". Resolved to its tokenizer. Defaults to gpt-4o. Supported families: o200k_base, cl100k_base, p50k_base, r50k_base, llama3, llama2, mistral, qwen, gemma, deepseek, command-r, claude, gemini."},"encoding":{"enum":["o200k_base","cl100k_base","p50k_base","r50k_base"],"type":"string","description":"Explicit OpenAI BPE encoding. Overrides \"model\" and is always exact. Defaults to o200k_base."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}}}},"description":"Count the LLM tokens in text for a given model or encoding — exact for OpenAI and open models (Llama, Mistral, Qwen, Gemma, DeepSeek, Command-R); labelled-approximate for Claude & Gemini.","lastUpdated":"2026-09-14T20:00:06.977Z","serviceName":"Count tokens","x402Version":2}]}}