Locked · Module 2, lesson 5 of 8

Tokens, the context window and cost in rupees

Count the tokens of a request and a reply, log the cost of every call, and estimate a month's bill for a feature with a thousand users.

This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.

Tell me when the course opens

The 7 lessons of module 1 are free: see the lessons of the course.

When the output is wrong: retry, repair, fall backNext: Streaming: showing the answer as it is written