AlianHubTry it free
AINews Portal

AI Glossary

What is Token?

Models do not process words or characters directly; text is split into tokens — common words, word fragments, or punctuation. A token averages about four characters of English. API pricing, context windows, and speed are all measured in tokens, which is why "per-million-token" pricing is the standard unit.

Related AI terms

  • Context window — How much text a model can consider at once, measured in tokens.
  • Large Language Model (LLM) — A neural network trained on huge text corpora to predict and generate language.
  • Inference — Running a trained model to get outputs — what you pay for per token.
← All terms