# What is a token?

URL: https://agentvera.dev/en/glossary/token/

A token is the basic unit of text a language model works with: a word, part of a word or a punctuation mark. A model’s context limit, speed and price are all measured in tokens.

**How text becomes tokens.** Each model family has its own tokenizer, so the same text can come out as a different number of tokens on different models. In English, a token is roughly four characters on average. Languages with long, inflected words tend to need more tokens for the same content, and code counts differently from prose because of indentation, symbols and long identifiers.

**Input and output tokens.** Pricing and limits treat token types differently.

- Input: everything sent to the model, including instructions, history, files and tool results.
- Output: the model’s reply, usually priced higher per token than input.
- Cached input: a repeated prefix read from the cache costs much less.
- Thinking tokens: with reasoning models, the thinking produced before the answer counts as output.

**Why agents use so many tokens.** A coding agent resends the whole context to the model on every turn. Over a long session, files read, test output and history pile up, and each new step adds to that load. That’s why most of the spend comes not from the code an agent writes but from the files and command output it reads.

**Cutting usage.** The biggest savings come from text that never needed to reach the model.

- Shorten long command output or pass only the error lines.
- Give small jobs to a cheaper model.
- Start a new conversation when the topic changes.
- Turn off tools and MCP servers you don’t use.

**Tokens in AgentVera.** AgentVera has tools both to cut token use and to measure it.

- **How many words is one token?** There’s no fixed ratio. In English a token is roughly four characters, or about three quarters of a word; other languages and code often need more.
- **Why does the same text cost different amounts on different models?** Each model family uses its own tokenizer and its own price per token, so both the count and the rate can differ.
- **How can I see how many tokens I use?** Providers offer token counting tools, and API responses include usage fields. Coding agents also usually show a session’s context size or usage.
- **Do tokens matter on a subscription?** Yes. Even if you aren’t billed per token, usage limits fill up based on how much you use, so fewer tokens means hitting the limit later.

---

**About AgentVera.** AgentVera is a desktop app for macOS, Windows and Linux, built by Solviera Teknoloji. It runs 18 AI coding agents (Claude Code, Codex, Gemini CLI, Copilot, Cursor, Antigravity, opencode, Hermes, Qwen Code, Kimi Code, Kiro, Amp, Droid, Goose, Vibe, Crush, Aider, Cline) side by side, per project, in real terminals with the user's own CLI installs and logins. The free plan runs 2 agents at once. Download: https://agentvera.dev/en/download/ · Pricing: https://agentvera.dev/en/pricing/
