A unit of text that a language model reads or writes, such as a word, part of a word, or a punctuation mark. Providers usually bill per token, at a higher rate for output than for input.
At $2 per million input tokens and $10 per million output tokens, a request with 1,000 tokens in and 500 out costs $0.007. Output is a third of the tokens and about 71% of the cost.