Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

chore(pricing): sync model price table with provider pricing pages (#2123)

Regan Bell091d130b7c8f
diff --git a/src/model/pi-models.ts b/src/model/pi-models.ts
index 975f190f0..c9291b7c7 100644
--- a/src/model/pi-models.ts
+++ b/src/model/pi-models.ts
@@ -183,7 +183,7 @@ export const MODEL_REGISTRY: readonly ModelEntry[] = [
thinkingLevelMap: { off: null },
input: 2,
output: 10,
- cacheRead: 0.2,
+ cacheRead: 0.1,
cacheWrite: 2.5,
contextWindow: 1_000_000,
maxTokens: 128_000,
diff --git a/test/model-registry.test.ts b/test/model-registry.test.ts
index d1247fad4..464aa7f7c 100644
--- a/test/model-registry.test.ts
+++ b/test/model-registry.test.ts
@@ -124,7 +124,7 @@ test("Sonnet 5.5 never turns thinking off, rejects temperature and fast mode, an
assert.ok(model);
assert.deepEqual(model.thinkingLevelMap, { xhigh: "xhigh", max: "max", off: null });
assert.equal((model.compat as { supportsTemperature?: boolean }).supportsTemperature, false);
- assert.deepEqual(model.cost, { input: 2, output: 10, cacheRead: 0.2, cacheWrite: 2.5, tiers: undefined });
+ assert.deepEqual(model.cost, { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 2.5, tiers: undefined });
assert.equal(safeModelMetadata(id)?.label, "Sonnet 5.5");
assert.ok(DEFAULT_WEBUI_MODEL_IDS.includes(id));
assert.ok(!FAST_MODE_MODEL_IDS.includes(id));
diff --git a/test/pi-models.test.ts b/test/pi-models.test.ts
index 52b89e8c8..c4c2c916e 100644
--- a/test/pi-models.test.ts
+++ b/test/pi-models.test.ts
@@ -244,7 +244,7 @@ test("context token budget is half of each model's real input room", () => {
const sonnet55 = getRequiredModel("claude-sonnet-5-5");
assert.equal(sonnet55.contextWindow, 1_000_000);
assert.equal(sonnet55.maxTokens, 128_000);
- assert.deepEqual(sonnet55.cost, { input: 2, output: 10, cacheRead: 0.2, cacheWrite: 2.5, tiers: undefined });
+ assert.deepEqual(sonnet55.cost, { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 2.5, tiers: undefined });
const haiku55 = getRequiredModel("claude-haiku-5-5");
assert.equal(haiku55.contextWindow, 1_000_000);
assert.equal(haiku55.maxTokens, 128_000);