Skip to content

Commit e020dca

Browse files
captkernelclaude
andcommitted
c2b: fix model IDs and pricing (Sonnet 4.6 / Opus 4.8 / Haiku 4.5)
The console shipped pointing at nonexistent model IDs (claude-sonnet-5 / claude-opus-5) — every run would 404 at the API. Corrected to real IDs with matching per-Mtok pricing for the cost meter. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 6370242 commit e020dca

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

c2b/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ <h1>Chat<span class="g">2</span>Business</h1>
144144
<div class="field" style="flex:1">
145145
<label for="model">Model</label>
146146
<select id="model">
147-
<option value="claude-sonnet-5">Claude Sonnet 5 — balanced (recommended)</option>
148-
<option value="claude-opus-5">Claude Opus 5 — deepest, priciest</option>
147+
<option value="claude-sonnet-4-6">Claude Sonnet 4.6 — balanced (recommended)</option>
148+
<option value="claude-opus-4-8">Claude Opus 4.8 — deepest, priciest</option>
149149
<option value="claude-haiku-4-5">Claude Haiku 4.5 — fastest, cheapest</option>
150150
</select>
151151
<div class="hint">A full run is ~7 model calls (5 run in parallel for the Council).</div>
@@ -226,9 +226,9 @@ <h1>Chat<span class="g">2</span>Business</h1>
226226

227227
/* per-Mtok pricing (USD): [input, output] */
228228
const PRICING = {
229-
"claude-opus-5": [5, 25],
230-
"claude-sonnet-5": [3, 15],
231-
"claude-haiku-4-5":[1, 5],
229+
"claude-opus-4-8": [5, 25],
230+
"claude-sonnet-4-6": [3, 15],
231+
"claude-haiku-4-5": [1, 5],
232232
};
233233

234234
const $ = id => document.getElementById(id);

0 commit comments

Comments
 (0)