Concepts Fondamentaux

Token

The basic unit of text that language models process and are billed by.

A token is a chunk of text — roughly 4 characters or ¾ of a word in English. Language models split all input and output into tokens before processing. API pricing is expressed in cost per million tokens ($/1M), making token count the single most important factor in your AI infrastructure bill.

Termes Associés