๐ฌ Run an AI chatbot within budget
Data & AIA college wants an AI helpdesk. Pick the model size, answer length, caching and whether to ground answers in its own documents (RAG). Watch monthly cost, speed and answer quality. (Illustrative prices and scores.)
โญ Level 1: Trainee0 XP ยท next level at 300
Monthly costโน6,18,750
Time to answerโ 12.9 s
Answer quality (score)โ 93/100
Too slow: shorter answers or a faster model.
๐ How it works
AI cost is tokens ร price. Long prompts, long answers and big models multiply it. Engineers cut cost with caching, shorter prompts and smaller models, and raise quality by grounding answers in real documents (RAG).
Cost = calls ร (input tokens ร input price + output tokens ร output price) ยท Time โ output tokens รท tokens per secondA simplified textbook model for learning. Real designs follow the full codes and standards.