AI Terminology
/Intermediate
Cost Optimization
Definition
The architectural strategies used to reduce the massive cloud computing and API bills associated with running Generative AI at scale in a production environment.
Explain Like I'm New
Using a sledgehammer to crack a nut is expensive. You don't need GPT-4 to read an email and say 'Yes' or 'No'. You can use a tiny, cheap model for easy tasks, and save the expensive GPT-4 for writing complex code.
Real World Example
Prompt Truncation (deleting useless words from the prompt to save tokens), LLM Routing (sending simple queries to Claude Haiku for $0.25, and complex queries to Claude Opus for $15.00), and Caching.
Common Use Cases
- •Enterprise architecture
- •Startup runway management
Interview Questions
basic
- If you remove 1,000 unnecessary words from your System Prompt, will it save you money?
intermediate
- What is 'Model Routing' in LLM Architecture?