# Contatore di token LLM

> Conta i token del testo con un tokenizer selezionato.

[Open tool](https://www.toolcabana.com/it/token-counter) · [Strumenti AI e prompt](https://www.toolcabana.com/it/category/ai-and-prompt-tools)

Tool ID: token-counter. Requested language: it. Description language: it. 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 (it)

Conta i token del testo con un tokenizer selezionato.

## Steps (it)

1. Incolla l'origine nell'editor di input, oppure carica l'esempio integrato.
2. Imposta il tokenizer.
3. Esegui il contatore di token LLM, esamina il risultato, poi usa i controlli disponibili per copiare o scaricare.

## Settings

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

## Limitations (it)

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Example input

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

## Privacy and connections (it)

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

## Questions (it)

### 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.

### Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

### Quali sono i limiti di input?

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Related tools

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