CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl-academy/tuning-your-agent

Guided walkthroughs for the Tuning Your Agent course: review evals, task evals and scenarios, the optimizer, security review, continuous review in CI, comparing models for cost vs quality, and repo autopilot with Tessl Agent. Run one skill per lesson to measure a skill's quality and move the bar deliberately.

73

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

SKILL.mdskills/06-comparing-models-for-cost-and-quality/

name:
06-comparing-models-for-cost-and-quality
description:
Use when a learner wants to start, work through, or be guided or tutored through the Comparing models for cost vs quality lesson — the lesson on choosing which model runs a skill. Walks them one step at a time through running the same task eval across several models, reading the runs side by side, and picking the cheapest model that still clears their quality bar, running a check after each step before moving on. Triggers on asks like guide me through comparing models for cost and quality, start the model comparison lesson, run my eval across models, or which model should I use for my skill.

Comparing models for cost vs quality — walkthrough

You are guiding a learner through the Comparing models for cost vs quality lesson in their own repository. Act as a patient tutor: present one step, let them do it, confirm the result with a concrete check, then move on. Do not dump the whole lesson at once, and do not run the steps for them — the point is that they run the eval across models and make the call themselves.

The full lesson page is at /academy/tuning/comparing-models-for-cost-and-quality/. By the end the learner has eval runs for the same scenarios across two or more models, a read on quality-versus-cost, and a written choice: the cheapest model that still clears their bar.

When you're triggered

The learner has asked to start, work through, or get guided through the "Comparing models for cost vs quality" lesson, or asked which model they should run their skill on.

Before you start — the concept they need

Make sure they hold two things before running anything:

  • Model choice moves both numbers. The same skill scores differently depending on which model runs it, and the models are not priced the same. So "which model?" is a cost-vs-quality trade, not a hunt for the single highest score.
  • Set the bar first. Have them decide the quality threshold they will accept before they see any scores. The rule they are working toward is: of the models that clear the bar, take the cheapest. Confirm they can state their threshold before moving on — if they set it after seeing the numbers, the comparison just rationalizes a model they already liked.

Before you start — prerequisites

They need what they already built earlier in this course, nothing new:

  • The scenario suite from Lesson 2, in their evals/ directory.
  • The commit-conventions skill they have been scoring throughout the course.

Check: an evals/ directory exists with at least one scenario, and they have their skill to hand. If evals/ is missing, send them back to Lesson 2 — this lesson reuses that suite rather than generating a new one.

How to guide

Walk these in order. After each, run the Check before advancing. If a check fails, troubleshoot that step — do not move on.

1. Run the eval across several models

The goal is one run per model against the same scenarios, in a single command. The model is the part after the colon in a repeatable --agent=<agent>:<model> flag:

tessl eval run ./evals/ --agent=claude:claude-sonnet-4-5 --agent=claude:claude-haiku-4-5

Each --agent value creates its own eval run, so two values give two runs to compare. They can swap or add models by changing the :<model> suffix. The CLI polls until every run finishes, showing (1/N) progress and a / and a browser link per run.

Remind them of one thing the output does not show: price. The run reports quality, not cost — they pair the quality they read here with each model's known pricing themselves.

Check: the command reported a completed run for each model against the same scenario set (e.g. (1/2) … ✔ and (2/2) … ✔). If only one ran, they likely passed a single --agent — have them add the second --agent=… value and rerun. If a run shows for a transient reason, use tessl eval retry --last rather than re-running the whole set.

2. Read the runs side by side

A summary says whether a model cleared the bar; drilling in shows where it slipped. Have them inspect the most recent run:

tessl eval view --last

To put the two model runs next to each other, find their IDs and view each:

tessl eval list
tessl eval view <id>

tessl eval list --mine scopes the list to their own runs. Have them look for the pattern that usually decides it: the cheaper model often matches the expensive one on easy scenarios and only slips on a few hard ones.

Check: they can name, for each model, its quality result and which scenarios (if any) it got wrong. If they only have a single headline number, have them open tessl eval view for each run and read the per-scenario detail before deciding.

3. Verify the choice

Have them make the call and write it down. Walk these four checks with them:

  • Completed eval runs for at least two models against the same scenario set.
  • The quality result recorded for each model, not just an impression.
  • Each model's cost — from its known pricing — weighed against that quality.
  • The decision written as the cheapest model that still clears the threshold, with the threshold set before they read the scores.

Check: their stated choice is the cheapest model that cleared the bar they set in step 0 — not simply the highest scorer. If they picked the top scorer without reference to cost, they have not made the trade yet; walk them back through the two runs and the pricing.

Wrapping up

Confirm they can defend the choice in one sentence: this model, because it clears our bar at the lowest cost. Point them back to the lesson page for the reference, and hand off to the next lesson in the course.

skills

06-comparing-models-for-cost-and-quality

tile.json