TokenToken
The unit AI uses to process text (about one word in English). It sets usage fees and how much AI can handle at once.
A closer look
LLMs do not read text as is; they split it into small units called tokens. In English, one word is roughly one token, while in Japanese one character often comes to around one to two tokens (this varies by model).
When you use AI through an API, fees are generally based on the number of input and output tokens. The amount of text AI can handle at once (the context window) is also expressed in tokens. This unit matters when, for example, a long document gets cut off partway or fees turn out higher than expected.
Tips for business use
- API fees are based on input + output tokens
- The same content tends to use more tokens in Japanese than in English
- For long documents, passing only the relevant parts improves both cost and accuracy
