{"slug":"api-vextorium-com-contar-tokens-pago-1eceed","title":"Count the tokens of a text with OpenAI tokenizers (o200k for GPT-4o/4.1/5, cl100","host":"api.vextorium.com","method":"POST","resource":"https://api.vextorium.com/contar-tokens-pago","category":"market","description":"Count the tokens of a text with OpenAI tokenizers (o200k for GPT-4o/4.1/5, cl100k for GPT-4/3.5) plus estimates for Claude, Llama and Gemini, with characters per token. Budget LLM calls and split contexts.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":343,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"texto":"Artificial intelligence agents are transforming the digital economy. AI agents pay for data with micropayments. The x402 protocol lets agents pay per call without accounts. Many companies already offer pay-per-use APIs for agents. USDC micropayments make this business model viable."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"modelo":{"enum":["o200k_base","cl100k_base"],"type":"string"},"texto":{"type":"string"}},"required":["texto"]},"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":{"properties":{"caracteres":{"type":["number","null"]},"caracteres_por_token":{"type":["number","null"]},"codificacion":{"type":["string","null"]},"estimaciones":{"properties":{"claude_aprox":{"type":["number","null"]},"gemini_aprox":{"type":["number","null"]},"llama3_aprox":{"type":["number","null"]}},"type":["object","null"]},"nota":{"type":["string","null"]},"palabras":{"type":["number","null"]},"tokens":{"type":["number","null"]},"tokens_otra_codificacion":{"properties":{"cl100k_base":{"type":["number","null"]}},"type":["object","null"]}},"type":["object","null"]},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":343,"error":null}],"description_full":"Count the tokens of a text with OpenAI tokenizers (o200k for GPT-4o/4.1/5, cl100k for GPT-4/3.5) plus estimates for Claude, Llama and Gemini, with characters per token. Budget LLM calls and split contexts.","last_updated":"2026-10-02T20:08:02.734Z","schemes":["exact"]}