Skip to content

E2E S9: use reasoning models (tiered), not the cheap chat tier - #29

Merged
EmilHerzberg merged 1 commit into
mainfrom
test/e2e-s9-reasoning-models
Jul 11, 2026
Merged

EmilHerzberg merged 1 commit into
mainfrom
test/e2e-s9-reasoning-models

Conversation

@EmilHerzberg

Copy link
Copy Markdown
Owner

Follow-up to #28. The multi-model comparison (S9) should exercise reasoning models — the AI mode's real value — tiered by cost:

Provider Model $/1M in·out
OpenAI o3 (reasoning; not gpt-5) 2 · 8
Claude claude-sonnet-4-6 (mid-tier reasoning, not Opus @ 15/75) 3 · 15
Gemini gemini-3-pro (reasoning) 2 · 12
DeepSeek deepseek-reasoner (frontier R1) 0.28 · 0.42

pickModel resolves: E2E_<PROVIDER>_MODEL override → the tiered reasoning default (if in the catalog) → any reasoning model → first. Reasoning models emit more output (hidden CoT), so the estimate rose to ≈ €0.01 (deepseek) … €0.22 (sonnet); all four + pause/resume ≈ €0.5–0.75, hard-capped per run at max_eur. Compiles + skips cleanly without keys.

🤖 Generated with Claude Code

The multi-model comparison should exercise REASONING models — that's the AI mode's real
value — tiered by cost per the run decision:
  * OpenAI   → o3 (the only reasoning model; not gpt-5 chat)      — $2/$8
  * Claude   → claude-sonnet-4-6 (mid-tier reasoning, NOT Opus $15/$75) — $3/$15
  * Gemini   → gemini-3-pro (reasoning)                          — $2/$12
  * DeepSeek → deepseek-reasoner (frontier R1, cheap)            — $0.28/$0.42

pickModel now: env override (E2E_<PROVIDER>_MODEL) → the tiered reasoning default if the
catalog exposes it → any reasoning model the provider lists → first. Each model is
swappable without code changes.

Reasoning models emit more output (hidden CoT), so the per-run estimate rose from
"a few cents" to ≈ €0.01 (deepseek) … €0.22 (sonnet); all four + pause/resume ≈ €0.5–0.75,
hard-capped per run at max_eur. Doc cost table updated. Still gated on E2E_LLM + keys;
compiles + skips cleanly without them.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@EmilHerzberg
EmilHerzberg merged commit 820653f into main Jul 11, 2026
@EmilHerzberg
EmilHerzberg deleted the test/e2e-s9-reasoning-models branch July 11, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant