- Select the answer that correctly completes the sentence.
The cost of using generative AI language models is based typically on the number of
__________ processed.


Show answerHide answer
Explanation

Explanation:
Generative AI language models charge based on tokens because tokens represent the fundamental unit of processing. A token is roughly 4 characters of text for English (e.g., "Microsoft" = 1 token, "AI" = 1 token, "transformation" = 2-3 tokens). Both input (prompt) and output (completion) consume tokens, so pricing is typically per 1,000 tokens.
Why other options are incorrect:
Documents
— A "document" has no fixed length; a 10-page document costs far more than a 1-page one, so it's not a reliable billing unit.
Requests
— API requests vary wildly in size; a 1-token request vs. a 10,000-token request would cost the same if billed per request, which is unfair and not how providers operate.
Words
— Tokenization doesn't align with words (e.g., punctuation attaches differently, code is tokenized unpredictably, non-English languages break into uneven token counts). Words would also create pricing anomalies for technical content.
References:
Microsoft Azure OpenAI Service pricing page: "Pricing is based on the number of tokens processed" — Microsoft Learn
OpenAI API documentation: "You are charged per token, which is a unit of text the model reads or generates" — OpenAI Docs











