# Contador de tokens de LLM

> Cuenta los tokens de un texto con el tokenizador elegido.

[Open tool](https://www.toolcabana.com/es/token-counter) · [IA y herramientas de prompts](https://www.toolcabana.com/es/category/ai-and-prompt-tools)

Tool ID: token-counter. Requested language: es. Description language: es. Complete guide translation: yes.

## Overview (en)

LLM token counter encodes your text with a GPT-style tokenizer and reports the number of tokens alongside the character count. Choose o200k_base or cl100k_base in the Tokenizer setting. The count covers the source text only, so chat message wrappers, images, tool definitions and provider-specific formatting can add tokens to a real request.

## Supported tasks (es)

Cuenta los tokens de un texto con el tokenizador elegido.

## Steps (es)

1. Pega la fuente en el editor de entrada o carga el ejemplo integrado.
2. Configura el tokenizador.
3. Ejecuta el contador de tokens de LLM, revisa la salida y usa los controles disponibles para copiar o descargar.

## Settings

- Tokenizador (es; key: encoding; type: select): o200k\_base [es], cl100k\_base [es]

## Limitations (es)

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Example input

```text
Explain a complex topic using a concrete example and three practical steps.
```

## Privacy and connections (es)

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

## Questions (es)

### What is the difference between o200k\_base and cl100k\_base?

They are two different tokenizer encodings, so the same text can produce different token counts. Pick the one your model uses; o200k_base is the default here. The results show the tokenizer name next to the count so you know which was applied.

### Why does my API usage show more tokens than this counter?

The counter measures only the text you paste. Chat formatting, system messages, images, tool definitions and other provider-specific additions are not included, so billed usage can be higher. Also confirm which tokenizer your model actually uses.

### Does the token counter also count characters?

Yes. Alongside Tokens it shows Characters, counted as Unicode code points, plus the tokenizer name. Comparing the two numbers shows how many characters each token covers on average for your language or format.

### ¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

### ¿Cuáles son los límites de entrada?

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Related tools

- [Prompt comparison checklist](https://www.toolcabana.com/es/prompt-checker)
- [LLM cost calculator](https://www.toolcabana.com/es/llm-cost)
- [Prompt variable templater](https://www.toolcabana.com/es/prompt-template)
