Idea · Jul 10, 2026

LLM Routing Testbed

A multi-week project where students build and evaluate a prompt router that classifies incoming queries by complexity and routes each to the most cost-effective model, teaching model evaluation, system design, and empirical benchmarking in one cohesive assignment.

What it would do

As multi-model AI applications become standard in industry, knowing WHEN to use an expensive frontier model versus a cheap small model is a core engineering skill. In this assignment students build a Prompt Router: a Flask API that accepts a query, classifies its task type and complexity using a lightweight classifier of their own design, then routes it to Claude Opus 4.8, Claude Haiku 4.5, or a locally-running Ollama model based on that classification. Students curate a benchmark dataset of 50+ labeled prompt-response pairs, implement and iterate on their routing policy, and evaluate on three axes (cost, quality, latency). A shared class leaderboard ranks routing strategies by cost-efficiency ratio, encouraging friendly competition. A written reflection analyzes which task types genuinely required expensive models versus which could have gone local.

Key features

  • Benchmark dataset builder: students label prompt-response pairs with task type and minimum acceptable model tier
  • Routing policy engine with pluggable classifiers (keyword rules, embedding similarity, lightweight ML)
  • Three-axis evaluation dashboard: cost per query, quality score (LLM judge), and median latency
  • Ollama integration for true local-model routing, teaching privacy-first AI design
  • Class-wide leaderboard comparing cost-efficiency ratios across routing strategies

More in AI Literacy & Ethics

Comparative LLM Explanation Bench

An instructor dashboard that sends a CS concept question to multiple LLMs simultaneously, displays responses side-by-side with an auto-scored rubric, and exports comparison reports for classroom AI literacy discussions.

AI Literacy & EthicsTeaching toolMediumJul 14, 2026

LLM Negotiation Arena

Students build LLM-powered negotiation agents with defined roles and goals (job offer, lease renewal, software license), which compete in structured conversational tournaments with a referee agent tracking offers and outcomes. Teaches prompt engineering, agent design, and game-theoretic thinking.

AI Literacy & EthicsClass assignmentLargeJul 12, 2026

AI Red Team Lab

Students build a systematic framework for probing a chosen LLM deployment for safety failures: they design attack categories, execute prompts, record success rates, and deliver a structured vulnerability report with severity ratings and proposed mitigations — developing critical AI literacy through adversarial practice.

AI Literacy & EthicsClass assignmentLargeJul 4, 2026

AI Assistant Persona Studio

Students design, build, and evaluate a domain-specific AI coding assistant targeting a chosen audience (CS1 beginners, game developers, accessibility engineers), going from persona definition through knowledge-base curation to systematic evaluation of helpfulness versus over-assistance.

AI Literacy & EthicsClass assignmentLargeJul 3, 2026

All 110 ideas in AI Literacy & Ethics →