Tibixa
English

Lesson summary · 8 min video

Cutting cost: shorter prompts, smaller models and prompt caching

A working agent can quietly become expensive. Every run sends the system prompt, the customer message and the reply, and each part is billed by the token. A bakery's support agent that handles 9,000 messages a month can cost about 85 dollars, and that bill grows with every message. This lesson shows three levers that cut the cost of each run, and how to check that a cheaper agent still does its job.

Key points

Open the full lesson See the course

Questions and answers

What is Cutting cost: shorter prompts, smaller models and prompt caching about?

A working agent can quietly become expensive. Every run sends the system prompt, the customer message and the reply, and each part is billed by the token. A bakery's support agent that handles 9,000 messages a month can cost about 85 dollars, and that bill grows with every message. This lesson shows three levers that cut the cost of each run, and how to check that a cheaper agent still does its job.

What are the key points of Cutting cost: shorter prompts, smaller models and prompt caching?

Trim the prompt, keep the rules. Pick the smaller model that passes. Cache the fixed beginning.

How can I practise Cutting cost: shorter prompts, smaller models and prompt caching?

Watch the lesson, read it, then answer its quiz in the course "Automation by Building Agentic AI Systems".

Open the full lesson See the course