Locked · Module 3, lesson 4 of 7

Tokens, the context window and the cost of a run

Count the tokens of a source file, log the cost of every call in rupees, and work out what RepoMate's recorded seven-step ticket run cost at stated prices, on a paid model and on the free tier.

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.

Structured output: a schema, validation, repair and a fallbackNext: Errors, retries and timeouts