AI engineering glossary · Prompt context engineering

What is token pricing?

Token pricing (also called Input and output token pricing): The way providers charge for model use, usually a price per million input tokens and a different, higher price per million output tokens. Knowing it lets you estimate cost per request and see why long prompts and long replies matter.

Level: beginnerTopic: Prompt context engineering

Token pricing: an example

If input costs Rs 100 per million tokens and a request uses 2,000 input tokens, that part costs Rs 0.20.

Related terms

More Prompt context engineering terms

Where you learn it

Token pricing is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.