-
Notifications
You must be signed in to change notification settings - Fork 0
Default build-session model to Opus 5 #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -126,12 +126,14 @@ SUS can be configured two ways: | |||||||||||||||||
| | App repo URL | `/setup` | `--set gitRepo.url=...` | | ||||||||||||||||||
| | Anthropic API key | `/setup` | K8s secret `sus-anthropic-api-key` | | ||||||||||||||||||
| | Git access token | `/setup` | K8s secret `sus-git-token` | | ||||||||||||||||||
| | Claude model for build sessions | — | `--set buildPod.claudeModel=sonnet` (aliases like `sonnet`/`opus`/`haiku` track the latest model; a full ID pins one) | | ||||||||||||||||||
| | Claude model for build sessions | — | `--set buildPod.claudeModel=opus` (default; aliases like `opus`/`sonnet`/`haiku` track the latest model, a full ID pins one — see note below) | | ||||||||||||||||||
| | Build pod resources | — | `buildPod.resources` in `values.yaml` | | ||||||||||||||||||
| | Landing page resources | — | `landing.resources` in `values.yaml` | | ||||||||||||||||||
|
|
||||||||||||||||||
| See [`charts/sus/values.yaml`](charts/sus/values.yaml) for all Helm values. | ||||||||||||||||||
|
|
||||||||||||||||||
| **Build-session model:** the default is `opus` (Claude Opus 5) — Anthropic's recommended model for agentic coding, so the best build quality. It costs roughly **2.5× more per token** than `sonnet` and responds a bit slower. If you'd rather trade some build quality for lower cost and faster responses, set `--set buildPod.claudeModel=sonnet` (Claude Sonnet 5). Aliases track the latest model in each family; pass a full ID like `claude-opus-5` to pin a version. | ||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was able to reach Anthropic's pricing docs on this run, so I can put a number on the durability concern from the last round rather than just flagging it. The
So Suggest dropping the specific multiplier and linking instead, so there's nothing to update on Sept 1:
Suggested change
If you'd rather keep the concrete number (it is more persuasive than "meaningfully more"), that's a fine call — but then it's worth a note that it needs revisiting after Aug 31, 2026. |
||||||||||||||||||
|
|
||||||||||||||||||
| ### Ingress | ||||||||||||||||||
|
|
||||||||||||||||||
| SUS includes an optional Ingress resource. Enable it in your Helm values: | ||||||||||||||||||
|
|
||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,6 +11,12 @@ To access the landing page locally, run: | |||||||||||||||||||||
| kubectl port-forward -n {{ .Values.namespaces.platform }} svc/{{ include "sus.fullname" . }}-landing {{ .Values.service.port }}:{{ .Values.service.port }} | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Then open http://localhost:{{ .Values.service.port }} in your browser. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Build sessions use the "{{ .Values.buildPod.claudeModel }}" Claude model. | ||||||||||||||||||||||
| {{- if eq .Values.buildPod.claudeModel "opus" }} | ||||||||||||||||||||||
| This is Claude Opus 5 — best build quality, but ~2.5x the per-token cost of | ||||||||||||||||||||||
| "sonnet" and a bit slower. Set --set buildPod.claudeModel=sonnet to lower cost. | ||||||||||||||||||||||
| {{- end }} | ||||||||||||||||||||||
|
Comment on lines
+15
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This addresses the visibility gap from the last round — NOTES is printed on One gap in the guard: A substring check covers both spellings. The
Suggested change
Two smaller things folded into that suggestion:
|
||||||||||||||||||||||
| {{- if .Values.auth.enabled }} | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Authentication (Authelia) is ENABLED. The chart deploys Authelia and switches the | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,10 +35,14 @@ buildPod: | |
| repository: ghcr.io/dev-dull/sus-build | ||
| tag: latest | ||
| pullPolicy: Always | ||
| # -- Claude model for build sessions. Aliases like "sonnet", "opus", and | ||
| # -- Claude model for build sessions. Aliases like "opus", "sonnet", and | ||
| # "haiku" resolve to the latest model in that family; a full model ID | ||
| # (e.g. "claude-sonnet-5") pins a specific version. | ||
| claudeModel: sonnet | ||
| # (e.g. "claude-opus-5") pins a specific version. | ||
| # Default "opus" (Claude Opus 5) — Anthropic's recommended model for agentic | ||
| # coding, i.e. the best build quality. It costs ~2.5x more per token than | ||
| # "sonnet" and is a bit slower; set claudeModel: sonnet to trade some build | ||
| # quality for lower cost and faster responses. | ||
| claudeModel: opus | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing a default means every operator who runs SUS spins up a pod per session running
Worth a note in the release notes too, since the cost delta lands on existing installs rather than new ones. |
||
| ports: | ||
| terminal: 8080 | ||
| preview: 3000 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
~2.5×multiplier is now hardcoded in two places (here andcharts/sus/values.yaml:42), and the PR description sources it from introductory pricing — which by definition changes. Derived numbers like this rot silently, and a stale cost ratio in the README is the kind of thing an operator makes a budget decision on.Consider keeping the qualitative tradeoff (Opus costs more and is a bit slower) and linking to Anthropic's pricing page for the actual numbers, rather than restating a specific ratio in two files.
Note: I wasn't able to independently verify the
$5/$25vs$2/$10figures in this environment (no network access granted for the pricing docs), so I'm flagging the durability of the claim rather than disputing its accuracy. The model IDs and aliases do check out —opusandclaude-opus-5are both valid, and using the alias to auto-track future releases is the right call for the stated goal.