Pebellslearn by building
0%
RoadmapsMatrixCoursesSandboxSign in
Definition & Scope  ›  Capstone Project

Tech Stack & Constraints

Tech Stack & Constraints 15 minWrite down the cost, latency, quality, safety and skill limits first, price one user-month of AI calls, and let those limits choose the stack and the model.

Tech Stack & Constraints

Asha nearly chose Pantry Pal's tools by asking an AI builder "what's the best stack?" She got a confident answer that ignored everything that mattered: how much she could spend each month, how long users would wait, and what she herself could maintain.

The rule

Write the limits down first; they choose most of the stack for you.

The limits that shape an AI product:

  • Cost. An AI call is a running cost, paid every time the feature is used, not once. Work it out per user: calls per visit × visits per month × price per call.
  • Latency. How long will the user wait? A dinner idea can take a few seconds if the screen shows progress; suggestions that appear as you type cannot.
  • Quality. How good must the answer be? Larger models usually answer better but are slower and cost more per call; smaller ones are quicker and cheaper.
  • Safety and privacy. What data do you handle, and which rules must never break?
  • Your skills and time. Can you read, debug and maintain what gets built?

The last limit points to a durable rule of thumb: prefer popular, well-documented tools. AI coding tools have seen far more examples of widely used frameworks and tend to write better code for them, and when something breaks, you will find answers.

The shortcut

Price one user-month before you pick anything. Multiply the running cost out for one active user, then for the number you hope to reach, and hold it against your budget. Then check the wait the design demands.

Pricing Pantry Pal's suggestion buttonStep 1 of 5
  1. Count the calls

    Suppose an active user asks for suggestions 3 times a week: about 12 calls a month.

Latency has cheap fixes too: show progress, display text as it arrives instead of all at the end, and reuse a saved answer when exactly the same request comes back.

Drills

Answer fast — trust the rule.

quick drill

How is an AI feature's cost different from a one-off software purchase?

quick drill

500 users each make 20 calls a month at ₹0.50 per call. What is the monthly cost?

quick drill

A large model gives slightly better dinner ideas but is twice as slow and costs eight times as much. What is the sound way to decide?

quick drill

Which step best protects Pantry Pal from a surprise bill?

quick drill

Why might a beginner building with AI tools prefer a popular framework over a new, niche one?

Remember

  • Write the limits down first: cost, latency, quality, safety and privacy, your own skills.
  • Price one user-month, scale it to your goal, hold it against the budget, then add alerts and caps.
  • Trap: picking the biggest model or the trendiest stack before you know your limits.

Practice — level up

0/1 solved

Write your answer, then compare it with a rubric and a model answer.

ExplainDoes the budget allow it?

A study app plans to give each of 1,000 students an AI quiz generator, and each student generates about 30 quizzes a month. Suppose a large model costs ₹1 per quiz, a small model ₹0.20, and the monthly budget is ₹10,000. Work out the cost of each option, say which you would try first and how you would check it is good enough, and name one guard rail you would add.