Lion Cipher Lab

Right-size your model: run one phishing-triage task across three sizes, chart the capability-vs-cost Pareto frontier, and pick the smallest model that clears your bar

Why it matters

The reflex, the moment a language model has to do a real job, is to reach for the biggest one that fits and defend it in a meeting. It is the most expensive habit in applied AI, and it is almost never checked, because checking it takes a scored task and a frontier and most teams have neither. This lab builds both on a workload every security team recognises - phishing triage, deciding whether an email is a phish or legitimate - and runs ONE such task across three model sizes to answer the only question that matters: what is the smallest model that is actually good enough here? You generate 48…

What you'll learn

Steps in this lab

  1. The words first: capability, cost, the Pareto frontier, a dominated point, the accuracy bar - and the fact that the graded path is a stub
  2. Open a terminal and check Python (all three operating systems)
  3. PRIMARY path (optional): install Ollama and pull three free models of different sizes - and how to skip one if disk is tight
  4. The corpus: 48 phishing-triage emails whose correct verdict you already know
  5. The three sizes are DETERMINISTIC STUBS - and here is the entire error model in writing
  6. Shared scoring: state your cost unit and mean it
  7. Measure all three sizes on the one task
  8. Chart the Pareto frontier, mark the dominated size, set the bar, pick the smallest survivor
  9. Read the result - the biggest model was the wrong choice, and here is exactly why
  10. When bigger IS the right call - because sometimes it is
  11. The way a pro does it
  12. OPTIONAL appendix: swap the stubs for the three real Ollama models

Open the full interactive lab →