Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: preserve exact Zen endpoints in comparison seed scope

[._.]/ Adam Eivyb0baecf66214
diff --git a/client/src/components/models/ModelComparison.jsx b/client/src/components/models/ModelComparison.jsx
index 5158319110..99687bcb06 100644
--- a/client/src/components/models/ModelComparison.jsx
+++ b/client/src/components/models/ModelComparison.jsx
@@ -174,7 +174,7 @@ export default function ModelComparison() {
const availableSet = useMemo(() => new Set([
...(catalog?.availableModels || []),
// Keep executable endpoint IDs as well as normalized public model references.
- ...(catalog?.inventory || []).flatMap(provider => provider.models.map(entry => entry.model)),
+ ...(catalog?.inventory || []).flatMap(provider => provider.models.flatMap(({ model }) => model.startsWith('opencode/') ? [model, model.slice('opencode/'.length)] : [model])),
]), [catalog]);
useEffect(() => {
diff --git a/client/src/components/models/ModelComparison.test.jsx b/client/src/components/models/ModelComparison.test.jsx
index 889d59dfe8..0a3c3583da 100644
--- a/client/src/components/models/ModelComparison.test.jsx
+++ b/client/src/components/models/ModelComparison.test.jsx
@@ -339,14 +339,14 @@ it('switches metric coordinates, clears stale zoom, and preserves evidence table
});
it('keeps exact Zen IDs in available coverage and plots free prices without inventing quality', async () => {
- const free = { ...observation, id: 'free', model: 'opencode/example-free', benchmark: 'Unbenchmarked (pricing only)', quality: null, costPerTask: null, inputPerMillion: metric(0), outputPerMillion: metric(0) };
- api.getModelComparison.mockResolvedValue({ observations: [observation, free], availableModels: ['example'], inventory: [{ id: 'zen', models: [{ model: free.model, efforts: [] }] }] });
+ const free = { ...observation, id: 'free', model: 'example-free', benchmark: 'Unbenchmarked (pricing only)', quality: null, costPerTask: null, inputPerMillion: metric(0), outputPerMillion: metric(0) };
+ api.getModelComparison.mockResolvedValue({ observations: [observation, free], availableModels: ['example'], inventory: [{ id: 'zen', models: [{ model: `opencode/${free.model}`, efforts: [] }] }] });
render(<MemoryRouter initialEntries={['/?xAxis=inputPerMillion&yAxis=outputPerMillion&scale=linear']}><ModelComparison /></MemoryRouter>);
- expect(await screen.findByTestId('scatter-opencode/example-free')).toHaveAttribute('data-values', '[[0,0]]');
+ expect(await screen.findByTestId('scatter-example-free')).toHaveAttribute('data-values', '[[0,0]]');
fireEvent.click(screen.getByRole('button', { name: 'Fit visible' }));
const domain = JSON.parse(screen.getByTestId('xaxis').getAttribute('data-domain'));
expect(domain[1]).toBeGreaterThan(domain[0]);
fireEvent.change(screen.getByLabelText('Y axis'), { target: { value: 'quality' } });
- expect(screen.queryByTestId('scatter-opencode/example-free')).toBeNull();
+ expect(screen.queryByTestId('scatter-example-free')).toBeNull();
expect(screen.getAllByText('Unknown').length).toBeGreaterThan(0);
});
diff --git a/data.reference/model-comparison.json b/data.reference/model-comparison.json
index bf0dc88a2b..f1e820041f 100644
--- a/data.reference/model-comparison.json
+++ b/data.reference/model-comparison.json
@@ -5922,7 +5922,7 @@
{
"id": "zen-free-2026-09-big-pickle",
"provider": "OpenCode Zen",
- "model": "opencode/big-pickle",
+ "model": "big-pickle",
"effort": "unspecified",
"configuration": "OpenCode Zen free endpoint; provider default configuration",
"billing": "api",
@@ -5954,7 +5954,7 @@
{
"id": "zen-free-2026-09-deepseek-v4-flash-free",
"provider": "OpenCode Zen",
- "model": "opencode/deepseek-v4-flash-free",
+ "model": "deepseek-v4-flash-free",
"effort": "unspecified",
"configuration": "OpenCode Zen free endpoint; provider default configuration",
"billing": "api",
@@ -5986,7 +5986,7 @@
{
"id": "zen-free-2026-09-muse-spark-1.3-contributor-free",
"provider": "OpenCode Zen",
- "model": "opencode/muse-spark-1.3-contributor-free",
+ "model": "muse-spark-1.3-contributor-free",
"effort": "unspecified",
"configuration": "OpenCode Zen free endpoint; provider default configuration",
"billing": "api",
@@ -6018,7 +6018,7 @@
{
"id": "zen-free-2026-09-muse-spark-1.2-contributor-free",
"provider": "OpenCode Zen",
- "model": "opencode/muse-spark-1.2-contributor-free",
+ "model": "muse-spark-1.2-contributor-free",
"effort": "unspecified",
"configuration": "OpenCode Zen free endpoint; provider default configuration",
"billing": "api",
@@ -6050,7 +6050,7 @@
{
"id": "zen-free-2026-09-mimo-v2.5-free",
"provider": "OpenCode Zen",
- "model": "opencode/mimo-v2.5-free",
+ "model": "mimo-v2.5-free",
"effort": "unspecified",
"configuration": "OpenCode Zen free endpoint; provider default configuration",
"billing": "api",
@@ -6082,7 +6082,7 @@
{
"id": "zen-free-2026-09-ling-3.0-flash-fin-free",
"provider": "OpenCode Zen",
- "model": "opencode/ling-3.0-flash-fin-free",
+ "model": "ling-3.0-flash-fin-free",
"effort": "unspecified",
"configuration": "OpenCode Zen free endpoint; provider default configuration",
"billing": "api",
@@ -6114,7 +6114,7 @@
{
"id": "zen-free-2026-09-nemotron-3-ultra-free",
"provider": "OpenCode Zen",
- "model": "opencode/nemotron-3-ultra-free",
+ "model": "nemotron-3-ultra-free",
"effort": "unspecified",
"configuration": "OpenCode Zen free endpoint; provider default configuration",
"billing": "api",
@@ -6146,7 +6146,7 @@
{
"id": "zen-free-2026-09-nemotron-3.5-lightning-free",
"provider": "OpenCode Zen",
- "model": "opencode/nemotron-3.5-lightning-free",
+ "model": "nemotron-3.5-lightning-free",
"effort": "unspecified",
"configuration": "OpenCode Zen free endpoint; provider default configuration",
"billing": "api",
diff --git a/docs/MODEL-COMPARISON.md b/docs/MODEL-COMPARISON.md
index 420a8cce33..9157bfef02 100644
--- a/docs/MODEL-COMPARISON.md
+++ b/docs/MODEL-COMPARISON.md
@@ -66,7 +66,7 @@ Partial source refreshes cannot erase old evidence. To retract incorrect data, a
Both axes offer benchmark score, cost per task, speed (output tokens/s), response time (seconds), and input/output token prices. `xAxis` and `yAxis` are bookmarkable and saved with the other chart settings. Changing either clears zoom bounds and selects linear scaling. The X scale can still be logarithmic; zero prices are excluded on log scale and counted explicitly. Missing selected metrics stay in the evidence table, whose quality/cost columns retain their original units regardless of chart axes. Speed and latency remain measurements of their source workloads, not the selected quality benchmark.
-The September 6, 2026 snapshot ships eight exact `opencode/` endpoint IDs from the [live Zen model list](https://opencode.ai/zen/v1/models), cross-checked against the OpenCode entries in [Models.dev](https://models.dev/api.json): Big Pickle, DeepSeek V4 Flash Free, MiMo V2.5 Free, Ling 3.0 Flash Fin Free, Nemotron 3 Ultra Free, Nemotron 3.5 Lightning Free, and Muse Spark 1.2/1.3 Contributor Free. Models.dev lists additional historic free entries that the live endpoint no longer advertises; those were excluded.
+The September 6, 2026 snapshot ships eight exact Zen endpoint IDs (the CLI prefixes these with `opencode/`) from the [live Zen model list](https://opencode.ai/zen/v1/models), cross-checked against the OpenCode entries in [Models.dev](https://models.dev/api.json): Big Pickle, DeepSeek V4 Flash Free, MiMo V2.5 Free, Ling 3.0 Flash Fin Free, Nemotron 3 Ultra Free, Nemotron 3.5 Lightning Free, and Muse Spark 1.2/1.3 Contributor Free. Models.dev lists additional historic free entries that the live endpoint no longer advertises; those were excluded.
[Zen's pricing page](https://opencode.ai/docs/zen/) lists six of these; Muse 1.2 and DeepSeek V4 Flash Free are confirmed by the live endpoint plus Models.dev. Each row carries zero published input/output rates, with unknown quota, reasoning-token billing, benchmark task cost, quality and throughput. The free offers are temporary and subject to provider data-use terms. Name similarity does not prove that an AA-tested model matches Zen's revision, effort or serving configuration.
diff --git a/scripts/prune-model-comparison-seed.js b/scripts/prune-model-comparison-seed.js
index 705afa9038..f4595884c0 100644
--- a/scripts/prune-model-comparison-seed.js
+++ b/scripts/prune-model-comparison-seed.js
@@ -45,6 +45,14 @@ export async function inScopeModels() {
models: filterSelectableModels((provider.models || []).map(model => (typeof model === 'string' ? model : model?.id))),
}));
const scope = providerCatalogSlugs(inventory);
+ // Endpoint pricing belongs to the exact serving tier, including stealth IDs
+ // that deliberately cannot resolve to a public benchmark model.
+ for (const { models } of inventory) {
+ for (const model of models) {
+ scope.add(model);
+ if (model.startsWith('opencode/')) scope.add(model.slice('opencode/'.length));
+ }
+ }
for (const model of FRONTIER_ANCHORS) scope.add(model);
return scope;
}