Assignments & final project
Harden and ship.
Practice
- Build a JSON endpoint that calls an LLM and returns a result.
- Declare pricing-as-code with a free plan, a pro plan and a credit pack.
- Price a model and meter a call with app.ai.charge(); prove a cent is debited.
- Store a BYOK key and confirm that caller is no longer metered.
- Add a per_minute rate limit and confirm a 429 when exceeded.
Final project
Ship a monetized AI app: an LLM endpoint priced and metered, with BYOK, a rate limit, a pricing page and the revenue dashboard, wired to a (test-mode) provider. Share the URL.