ybrault commited on
Commit
ee4d1e2
·
verified ·
1 Parent(s): 7c812ce

fix: align launch benchmarks and challengers

Browse files

Source commit 3950220; SPEED and LiveCodeBench PDF data, eight-model catalogue copy, TTFT-first verdict, preconnect readiness warm-up.

Files changed (2) hide show
  1. README.md +15 -13
  2. index.html +87 -172
README.md CHANGED
@@ -72,21 +72,22 @@ The browser never receives provider keys. It calls:
72
  - `POST /v1/challenge` twice per duel, once with `side=sovapi` and once with
73
  `side=challenger`.
74
 
75
- The production Challenger runtime still uses the historical relay server-side in explicit
76
- `legacy` mode. No direct route is deployed, activated or called. Inactive Shadow env
77
- aliases/placeholders and an isolated HF branch/tag are prepared, but the public Shadow
78
- container, live Arena file, HF `main`/runtime and Vercel deployment remain unchanged; no
79
- provider secret exists in HF. The supported direct-provider integration matrix is:
80
 
81
  - US: Anthropic / Claude Sonnet 5, OpenAI / GPT-5.6, Google / Gemini 3.5 Flash;
82
- - China: DeepSeek / DeepSeek V4 Flash, Z.AI / GLM-5.2, Moonshot / Kimi K2.6;
 
83
  - Europe: Mistral / Large 3;
84
- - infrastructure duel: Qwen3.5-397B through Alibaba and Scaleway.
 
85
 
86
  For launch, Thierry suspended Google because Standard generation remains unavailable and
87
  selected option 2 for OpenAI after its independent TTFT counter-recipe still exceeded the
88
- `CV <= 0.30` gate. The prepared release catalogue therefore exposes seven routes only:
89
- Anthropic, DeepSeek, Z.AI, Moonshot, Mistral, Alibaba and Scaleway. OpenAI and Google stay
 
90
  implemented server-side for a later revalidation; neither is present in the launch
91
  selector or the browser's curated fallback.
92
 
@@ -225,13 +226,14 @@ uvicorn spaces.sovapi_challenge.app:app --reload
225
  default `1000`
226
  - `SOVAPI_CHALLENGE_GLOBAL_WINDOW_SECONDS`: global window; default `86400`
227
  - `SOVAPI_CHALLENGE_CATALOG_MODELS`: comma-separated direct-provider allowlist; launch
228
- defaults are `anthropic/claude-sonnet-5`, `deepseek/deepseek-v4-flash`, `z-ai/glm-5.2`,
 
229
  `moonshotai/kimi-k2.6`, `mistral/mistral-large-2512`,
230
  `alibaba/qwen3.5-397b-a17b` and `scaleway/qwen3.5-397b-a17b`
231
 
232
- All key entries stay blank in versioned files. The bounded seven-route recipe, browsers,
233
- rollback and Qwen reserve are validated. Production stays in `legacy` until Thierry gives
234
- an explicit GO. Thierry accepted the complete scope at
235
  1,950 EUR TTC / 3 working days: 1,300 EUR TTC / 2 days for the base and
236
  650 EUR TTC / 1 day for the expanded matrix and common hero.
237
 
 
72
  - `POST /v1/challenge` twice per duel, once with `side=sovapi` and once with
73
  `side=challenger`.
74
 
75
+ The production Challenger runtime uses direct official provider routes with external
76
+ fallback disabled. Provider secrets remain on Shadow and are never copied to Hugging
77
+ Face or the browser. The supported direct-provider integration matrix is:
 
 
78
 
79
  - US: Anthropic / Claude Sonnet 5, OpenAI / GPT-5.6, Google / Gemini 3.5 Flash;
80
+ - China: DeepSeek / DeepSeek V4 Flash and V4 Pro, Z.AI / GLM-5.2,
81
+ Moonshot / Kimi K2.6;
82
  - Europe: Mistral / Large 3;
83
+ - Qwen3.5-397B through Alibaba and Scaleway, each exposed as a normal challenger
84
+ against SovAPI.
85
 
86
  For launch, Thierry suspended Google because Standard generation remains unavailable and
87
  selected option 2 for OpenAI after its independent TTFT counter-recipe still exceeded the
88
+ `CV <= 0.30` gate. The launch catalogue therefore exposes eight model choices across
89
+ seven providers: Anthropic, both DeepSeek variants, Z.AI, Moonshot, Mistral, Alibaba and
90
+ Scaleway. OpenAI and Google stay
91
  implemented server-side for a later revalidation; neither is present in the launch
92
  selector or the browser's curated fallback.
93
 
 
226
  default `1000`
227
  - `SOVAPI_CHALLENGE_GLOBAL_WINDOW_SECONDS`: global window; default `86400`
228
  - `SOVAPI_CHALLENGE_CATALOG_MODELS`: comma-separated direct-provider allowlist; launch
229
+ defaults are `anthropic/claude-sonnet-5`, `deepseek/deepseek-v4-flash`,
230
+ `deepseek/deepseek-v4-pro`, `z-ai/glm-5.2`,
231
  `moonshotai/kimi-k2.6`, `mistral/mistral-large-2512`,
232
  `alibaba/qwen3.5-397b-a17b` and `scaleway/qwen3.5-397b-a17b`
233
 
234
+ All key entries stay blank in versioned files. The bounded eight-model recipe, browser
235
+ checks, rollback and Qwen reserve are validated. Production direct mode was authorised
236
+ on 2026-07-21. Thierry accepted the complete scope at
237
  1,950 EUR TTC / 3 working days: 1,300 EUR TTC / 2 days for the base and
238
  650 EUR TTC / 1 day for the expanded matrix and common hero.
239
 
index.html CHANGED
@@ -2,8 +2,9 @@
2
  <html lang="en" data-theme="light">
3
  <head>
4
  <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
  <title>SovAPI Arena</title>
 
7
  <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%230b1620'/%3E%3Ctext x='16' y='22' font-size='18' text-anchor='middle' fill='%23ff7a1a' font-family='Arial'%3ES%3C/text%3E%3C/svg%3E" />
8
  <script>
9
  try {
@@ -1040,24 +1041,24 @@
1040
  </div>
1041
  </section>
1042
 
1043
- <section class="view" id="view-speed" hidden>
1044
- <div class="stat-strip">Reference target: 18x faster TTFT on the code lane</div>
1045
- <div class="benchmark-grid">
1046
- <article class="panel benchmark-card">
1047
- <p class="section-kicker">SovAPI code TTFT</p>
1048
- <strong>0.10 s</strong>
1049
- <p>Qwen3-Coder on H200 target path for code and technical generation.</p>
1050
- </article>
1051
- <article class="panel benchmark-card">
1052
- <p class="section-kicker">Code throughput</p>
1053
- <strong>148 tok/s</strong>
1054
- <p>Expected Qwen3-Coder generation rate on the dedicated code lane.</p>
1055
- </article>
1056
- <article class="panel benchmark-card">
1057
- <p class="section-kicker">Gemma H200 reference</p>
1058
- <strong>110 tok/s</strong>
1059
- <p>Reference throughput for Analysis and Structure once Gemma runs on H200.</p>
1060
- </article>
1061
  </div>
1062
  <div class="panel" style="margin-top: 16px">
1063
  <h2>Latency reference table</h2>
@@ -1068,26 +1069,41 @@
1068
  <div class="table-scroll" role="region" aria-label="Latency reference table" tabindex="0">
1069
  <table>
1070
  <thead>
1071
- <tr><th>Scenario</th><th>SovAPI route</th><th>SovAPI reference</th><th>Sonnet 5 reference</th><th>Signal</th></tr>
1072
- </thead>
1073
- <tbody>
1074
- <tr><td>Code TTFT</td><td>Qwen3-Coder</td><td>0.10 s expected</td><td>1.80 s reference</td><td>18x faster target</td></tr>
1075
- <tr><td>Code throughput</td><td>Qwen3-Coder</td><td>148 tok/s expected</td><td>48 tok/s reference</td><td>3.1x more tokens/s target</td></tr>
1076
- <tr><td>Analysis / Structure throughput</td><td>Gemma 4 31B</td><td>110 tok/s expected</td><td>48 tok/s reference</td><td>H200 reference</td></tr>
 
 
 
 
 
1077
  <tr><td>End-to-end streaming</td><td>Modeless SovAPI</td><td>SSE direct</td><td>Official provider API</td><td>Measured live only in Arena</td></tr>
1078
- </tbody>
1079
- </table>
1080
- </div>
1081
- </div>
1082
- </section>
 
 
 
 
 
 
 
 
 
1083
 
1084
  <section class="view" id="view-best" hidden>
1085
  <div class="stat-strip">Anthropic-level quality, 60x cheaper, in Europe</div>
1086
  <div class="panel">
1087
  <h2>SovAPI vs Claude Sonnet 5</h2>
1088
  <p class="reference-note">
1089
- <strong>Public benchmark reference values.</strong> 5/6 wins or ties. Live Arena
1090
- results remain measured separately for each prompt.
 
1091
  </p>
1092
  <div class="table-scroll" role="region" aria-label="SovAPI versus Sonnet 5 benchmarks" tabindex="0">
1093
  <table>
@@ -1095,35 +1111,24 @@
1095
  <tr><th>Benchmark</th><th>SovAPI</th><th>Sonnet 5</th><th>Gap</th></tr>
1096
  </thead>
1097
  <tbody>
1098
- <tr><td>GPQA Diamond</td><td>87%</td><td>~83%</td><td>+4 pts</td></tr>
1099
- <tr><td>AIME 2025</td><td>91%</td><td>~78%</td><td>+13 pts</td></tr>
1100
- <tr><td>MMLU Pro</td><td>86%</td><td>~86%</td><td>Tie</td></tr>
1101
- <tr><td>LiveCodeBench</td><td>~88%</td><td>~85%</td><td>+3 pts</td></tr>
1102
- <tr><td>SWE-bench Verified</td><td>~70%</td><td>~72%</td><td>-2 pts</td></tr>
1103
- <tr><td>BFCL v2</td><td>~89%</td><td>~88%</td><td>+1 pt</td></tr>
1104
  </tbody>
1105
  </table>
1106
  </div>
1107
  </div>
1108
  <div class="panel" style="margin-top: 16px">
1109
- <h2>SovAPI vs DeepSeek</h2>
1110
  <p class="reference-note">
1111
- <strong>Public benchmark reference values.</strong> Same price, two orchestrated
1112
- models versus one. 7/7 reference wins, average gap +8.7 points.
1113
  </p>
1114
  <div class="table-scroll" role="region" aria-label="SovAPI versus DeepSeek benchmarks" tabindex="0">
1115
  <table>
1116
  <thead>
1117
- <tr><th>Benchmark</th><th>Qwen3</th><th>Gemma 4</th><th>SovAPI</th><th>DeepSeek</th><th>Gap</th></tr>
1118
  </thead>
1119
  <tbody>
1120
- <tr><td>LiveCodeBench</td><td>88%</td><td>76%</td><td>88%</td><td>72%</td><td>+16 pts</td></tr>
1121
- <tr><td>SWE-bench Verified</td><td>70%</td><td>58%</td><td>70%</td><td>62%</td><td>+8 pts</td></tr>
1122
- <tr><td>BFCL v2</td><td>89%</td><td>82%</td><td>89%</td><td>78%</td><td>+11 pts</td></tr>
1123
- <tr><td>GPQA Diamond</td><td>85%</td><td>87%</td><td>87%</td><td>78%</td><td>+9 pts</td></tr>
1124
- <tr><td>AIME 2025</td><td>88%</td><td>91%</td><td>91%</td><td>85%</td><td>+6 pts</td></tr>
1125
- <tr><td>MMLU Pro</td><td>85%</td><td>86%</td><td>86%</td><td>82%</td><td>+4 pts</td></tr>
1126
- <tr><td>HumanEval+</td><td>92%</td><td>84%</td><td>92%</td><td>85%</td><td>+7 pts</td></tr>
1127
  </tbody>
1128
  </table>
1129
  </div>
@@ -1316,8 +1321,6 @@ const client = new OpenAI({
1316
  table: { y: 250, width: 680, height: 300, leftX: 96, rightX: 824 },
1317
  verdict: { x: 96, y: 590, width: 1408, height: 164 },
1318
  });
1319
- const INFRASTRUCTURE_DUEL_ID = "duel/qwen3.5-397b-a17b";
1320
- const QWEN_COMPARISON_GROUP = "qwen-infrastructure";
1321
  const CURATED_CHALLENGERS = [
1322
  {
1323
  id: "anthropic/claude-sonnet-5",
@@ -1351,6 +1354,14 @@ const client = new OpenAI({
1351
  region: "China",
1352
  available: true,
1353
  },
 
 
 
 
 
 
 
 
1354
  {
1355
  id: "z-ai/glm-5.2",
1356
  name: "Z.AI — GLM-5.2",
@@ -1380,9 +1391,7 @@ const client = new OpenAI({
1380
  name: "Alibaba — Qwen3.5-397B",
1381
  provider: "Alibaba",
1382
  model: "Qwen3.5-397B",
1383
- region: "Infrastructure comparison",
1384
- comparison_group: QWEN_COMPARISON_GROUP,
1385
- same_artifact_verified: false,
1386
  available: true,
1387
  },
1388
  {
@@ -1390,9 +1399,7 @@ const client = new OpenAI({
1390
  name: "Scaleway — Qwen3.5-397B",
1391
  provider: "Scaleway",
1392
  model: "Qwen3.5-397B",
1393
- region: "Infrastructure comparison",
1394
- comparison_group: QWEN_COMPARISON_GROUP,
1395
- same_artifact_verified: false,
1396
  available: true,
1397
  },
1398
  ].filter(
@@ -1431,7 +1438,6 @@ const client = new OpenAI({
1431
  const state = {
1432
  sovapi: null,
1433
  challenger: null,
1434
- leftIdentity: null,
1435
  challengerIdentity: null,
1436
  duelId: null,
1437
  duelDefinition: null,
@@ -1699,12 +1705,9 @@ const client = new OpenAI({
1699
 
1700
  function challengerOptions(models) {
1701
  const items = validatedChallengerItems(models);
1702
- const regularItems = items.filter(
1703
- (item) => item.comparison_group !== QWEN_COMPARISON_GROUP,
1704
- );
1705
  const nodes = [];
1706
  ["US", "China", "Europe"].forEach((region) => {
1707
- const regionItems = regularItems.filter(
1708
  (item) => (item.region || "Other") === region,
1709
  );
1710
  if (!regionItems.length) return;
@@ -1713,37 +1716,9 @@ const client = new OpenAI({
1713
  regionItems.forEach((item) => group.append(createChallengerOption(item)));
1714
  nodes.push(group);
1715
  });
1716
- regularItems
1717
  .filter((item) => !["US", "China", "Europe"].includes(item.region || ""))
1718
  .forEach((item) => nodes.push(createChallengerOption(item)));
1719
-
1720
- const qwenItems = items.filter(
1721
- (item) => item.comparison_group === QWEN_COMPARISON_GROUP,
1722
- );
1723
- const alibaba = qwenItems.find((item) => item.provider === "Alibaba");
1724
- const scaleway = qwenItems.find((item) => item.provider === "Scaleway");
1725
- if (alibaba && scaleway) {
1726
- const group = document.createElement("optgroup");
1727
- group.label = "Provider vs provider · same nominal model";
1728
- const option = document.createElement("option");
1729
- option.value = INFRASTRUCTURE_DUEL_ID;
1730
- option.textContent = "Provider comparison · Qwen3.5-397B — Alibaba vs Scaleway";
1731
- option.dataset.name = option.textContent;
1732
- option.dataset.mode = "infrastructure";
1733
- option.dataset.leftModel = alibaba.id;
1734
- option.dataset.leftProvider = alibaba.provider;
1735
- option.dataset.leftModelLabel = alibaba.model;
1736
- option.dataset.rightModel = scaleway.id;
1737
- option.dataset.provider = scaleway.provider;
1738
- option.dataset.model = scaleway.model;
1739
- option.dataset.available = String(alibaba.available && scaleway.available);
1740
- option.dataset.sameArtifactVerified = String(
1741
- alibaba.same_artifact_verified && scaleway.same_artifact_verified,
1742
- );
1743
- option.disabled = !(alibaba.available && scaleway.available);
1744
- group.append(option);
1745
- nodes.push(group);
1746
- }
1747
  return nodes;
1748
  }
1749
 
@@ -1753,7 +1728,6 @@ const client = new OpenAI({
1753
  );
1754
  return CURATED_CHALLENGERS.map((expected) => {
1755
  const candidate = candidates.get(expected.id);
1756
- const expectedArtifactState = expected.same_artifact_verified ?? true;
1757
  const valid =
1758
  candidate?.available === true &&
1759
  candidate.route_mode === "direct" &&
@@ -1761,9 +1735,7 @@ const client = new OpenAI({
1761
  candidate.fallback_enabled === false &&
1762
  candidate.provider === expected.provider &&
1763
  candidate.model === expected.model &&
1764
- candidate.region === expected.region &&
1765
- (candidate.comparison_group || "") === (expected.comparison_group || "") &&
1766
- candidate.same_artifact_verified === expectedArtifactState;
1767
  return {
1768
  ...expected,
1769
  available: valid,
@@ -1837,28 +1809,7 @@ const client = new OpenAI({
1837
 
1838
  function activeDuelDefinition() {
1839
  const option = qs("#challenger").selectedOptions[0];
1840
- if (option?.dataset.mode === "infrastructure") {
1841
- return {
1842
- infrastructure: true,
1843
- left: {
1844
- stateKey: "sovapi",
1845
- side: "challenger",
1846
- model: option.dataset.leftModel,
1847
- provider: option.dataset.leftProvider || "Alibaba",
1848
- modelLabel: option.dataset.leftModelLabel || "Qwen3.5-397B",
1849
- },
1850
- right: {
1851
- stateKey: "challenger",
1852
- side: "challenger",
1853
- model: option.dataset.rightModel,
1854
- provider: option.dataset.provider || "Scaleway",
1855
- modelLabel: option.dataset.model || "Qwen3.5-397B",
1856
- },
1857
- sameArtifactVerified: option.dataset.sameArtifactVerified === "true",
1858
- };
1859
- }
1860
  return {
1861
- infrastructure: false,
1862
  left: {
1863
  stateKey: "sovapi",
1864
  side: "sovapi",
@@ -1873,7 +1824,6 @@ const client = new OpenAI({
1873
  provider: option?.dataset.provider || "Challenger",
1874
  modelLabel: option?.dataset.model || "Model",
1875
  },
1876
- sameArtifactVerified: true,
1877
  };
1878
  }
1879
 
@@ -1882,30 +1832,11 @@ const client = new OpenAI({
1882
  }
1883
 
1884
  function updateLanePresentation() {
1885
- const duel = activeDuelDefinition();
1886
- if (duel.infrastructure) {
1887
- state.leftIdentity = {
1888
- provider: duel.left.provider,
1889
- model: duel.left.modelLabel,
1890
- name: `${duel.left.provider} — ${duel.left.modelLabel}`,
1891
- };
1892
- qs("#leftLaneKicker").textContent = "A - Provider";
1893
- qs("#sovapiLaneTitle").textContent = state.leftIdentity.name;
1894
- qs("#leftLaneBadge").textContent = duel.left.provider;
1895
- qs("#rightLaneKicker").textContent = "B - Provider";
1896
- qs("#runButton").textContent = "Run infrastructure comparison";
1897
- } else {
1898
- state.leftIdentity = {
1899
- provider: "SovAPI",
1900
- model: activeShareModelName(),
1901
- name: "SovAPI",
1902
- };
1903
- qs("#leftLaneKicker").textContent = "A - Private";
1904
- qs("#sovapiLaneTitle").textContent = activeLaneTitle();
1905
- qs("#leftLaneBadge").textContent = "sovapi";
1906
- qs("#rightLaneKicker").textContent = "B - Challenger";
1907
- qs("#runButton").textContent = "Test SovAPI";
1908
- }
1909
  updateChallengerIdentity();
1910
  }
1911
 
@@ -2079,14 +2010,10 @@ const client = new OpenAI({
2079
  "same speed",
2080
  "unavailable",
2081
  );
2082
- const duel = measuredDuelDefinition();
2083
- const leftName = duel.infrastructure ? duel.left.provider : "SovAPI";
2084
  return {
2085
- headline: `TTFT · ${leftName} ${ttft}`,
2086
  ttft: `Total time ${speed} · ${cost}`,
2087
- detail: duel.infrastructure
2088
- ? "Same nominal model ID and prompt; exact artifact equivalence is pending provider confirmation. Costs use live token usage and public list prices."
2089
- : "Measured from live API responses for this exact prompt. Costs use live token usage and public list prices.",
2090
  };
2091
  }
2092
 
@@ -2130,10 +2057,6 @@ const client = new OpenAI({
2130
  if (!directProvenance) {
2131
  return "Sharing is disabled until direct route provenance is verified for both lanes.";
2132
  }
2133
- const duel = measuredDuelDefinition();
2134
- if (duel.infrastructure && !duel.sameArtifactVerified) {
2135
- return "Sharing is disabled until Alibaba and Scaleway confirm the same immutable model artifact.";
2136
- }
2137
  return "";
2138
  }
2139
 
@@ -2257,14 +2180,6 @@ const client = new OpenAI({
2257
  }
2258
  if (side === "challenger") {
2259
  updateChallengerIdentity(payload);
2260
- } else if (measuredDuelDefinition().infrastructure) {
2261
- state.leftIdentity = {
2262
- provider: displayProviderName(payload.provider_label || payload.provider),
2263
- model: payload.model_label || payload.model || "Qwen3.5-397B",
2264
- };
2265
- state.leftIdentity.name = `${state.leftIdentity.provider} — ${state.leftIdentity.model}`;
2266
- qs("#sovapiLaneTitle").textContent = state.leftIdentity.name;
2267
- qs("#leftLaneBadge").textContent = state.leftIdentity.provider;
2268
  }
2269
  if (eventName === "challenge.error") {
2270
  throw challengeEventError(payload.side || side, payload);
@@ -2354,16 +2269,10 @@ const client = new OpenAI({
2354
  const ink = styles.getPropertyValue("--ink").trim() || "#15110d";
2355
  const muted = styles.getPropertyValue("--muted").trim() || "#6f6255";
2356
  const orange = styles.getPropertyValue("--orange").trim() || "#ff5a1f";
2357
- const duel = measuredDuelDefinition();
2358
- const shareLeftIdentity = duel.infrastructure
2359
- ? state.leftIdentity || {
2360
- provider: duel.left.provider,
2361
- model: duel.left.modelLabel,
2362
- }
2363
- : {
2364
- provider: "SovAPI",
2365
- model: activeShareModelName(),
2366
- };
2367
  const shareChallengerIdentity = challengerIdentity(
2368
  state.challenger,
2369
  state.challengerIdentity,
@@ -2524,9 +2433,15 @@ const client = new OpenAI({
2524
  setTimeout(() => URL.revokeObjectURL(link.href), 1000);
2525
  }
2526
 
2527
- async function refreshStatus() {
2528
- try {
2529
- const response = await fetch(STATUS_SUMMARY_URL, { cache: "no-store" });
 
 
 
 
 
 
2530
  if (!response.ok) throw new Error("status unavailable");
2531
  const payload = await response.json();
2532
  const status = payload.status || {};
 
2
  <html lang="en" data-theme="light">
3
  <head>
4
  <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
  <title>SovAPI Arena</title>
7
+ <link rel="preconnect" href="https://api.sovinfra.cloud" crossorigin />
8
  <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%230b1620'/%3E%3Ctext x='16' y='22' font-size='18' text-anchor='middle' fill='%23ff7a1a' font-family='Arial'%3ES%3C/text%3E%3C/svg%3E" />
9
  <script>
10
  try {
 
1041
  </div>
1042
  </section>
1043
 
1044
+ <section class="view" id="view-speed" hidden>
1045
+ <div class="stat-strip">Reference target: 6x faster TTFT</div>
1046
+ <div class="benchmark-grid">
1047
+ <article class="panel benchmark-card">
1048
+ <p class="section-kicker">SovAPI TTFT</p>
1049
+ <strong>0.12 s</strong>
1050
+ <p>Target path for code and technical generation.</p>
1051
+ </article>
1052
+ <article class="panel benchmark-card">
1053
+ <p class="section-kicker">Code throughput</p>
1054
+ <strong>184 tok/s</strong>
1055
+ <p>Reference throughput on the SovAPI Code lane.</p>
1056
+ </article>
1057
+ <article class="panel benchmark-card">
1058
+ <p class="section-kicker">Reasoning throughput</p>
1059
+ <strong>234 tok/s</strong>
1060
+ <p>Reference throughput on the SovAPI Text lane (analysis, reasoning, structure).</p>
1061
+ </article>
1062
  </div>
1063
  <div class="panel" style="margin-top: 16px">
1064
  <h2>Latency reference table</h2>
 
1069
  <div class="table-scroll" role="region" aria-label="Latency reference table" tabindex="0">
1070
  <table>
1071
  <thead>
1072
+ <tr><th>Scenario</th><th>SovAPI route</th><th>SovAPI reference</th><th>Challenger reference</th><th>Signal</th></tr>
1073
+ </thead>
1074
+ <tbody>
1075
+ <tr><td>TTFT</td><td>All routes</td><td>0.12 &ndash; 0.18 s</td><td>0.74 &ndash; 1.11 s</td><td>~6x faster</td></tr>
1076
+ <tr><td>Code throughput</td><td>SovAPI Code</td><td>~184 tok/s</td><td>~84 &ndash; 96 tok/s</td><td>~2x more tokens/s</td></tr>
1077
+ <tr><td>Analysis throughput</td><td>SovAPI Text</td><td>~234 tok/s</td><td>~87 &ndash; 100 tok/s</td><td>~2.4x more tokens/s</td></tr>
1078
+ <tr><td>Reasoning throughput</td><td>SovAPI Text</td><td>~234 tok/s</td><td>~74 &ndash; 96 tok/s</td><td>~2.5x more tokens/s</td></tr>
1079
+ <tr><td>Structure / Vision throughput</td><td>SovAPI Text</td><td>~234 tok/s</td><td>~87 &ndash; 100 tok/s</td><td>~2.4x more tokens/s</td></tr>
1080
+ <tr><td>Tool calling / Function call</td><td>SovAPI Code</td><td>~184 tok/s</td><td>~84 &ndash; 96 tok/s</td><td>~2x more tokens/s</td></tr>
1081
+ <tr><td>Speech-to-text</td><td>SovAPI Voice</td><td>~391 ms</td><td>~1.0 &ndash; 1.4 s</td><td>~3x faster</td></tr>
1082
+ <tr><td>Embeddings + vector search</td><td>SovAPI Memory</td><td>~189 ms</td><td>~350 &ndash; 500 ms</td><td>~2x faster</td></tr>
1083
  <tr><td>End-to-end streaming</td><td>Modeless SovAPI</td><td>SSE direct</td><td>Official provider API</td><td>Measured live only in Arena</td></tr>
1084
+ </tbody>
1085
+ </table>
1086
+ </div>
1087
+ </div>
1088
+ <div class="panel" style="margin-top: 16px">
1089
+ <p>
1090
+ <strong>Engine.</strong> Four SovAPI products routed automatically to the model best
1091
+ suited to your task: SovAPI Code (code + tool calling), SovAPI Text (analysis,
1092
+ reasoning, structure, vision), SovAPI Voice (speech-to-text), SovAPI Memory
1093
+ (embeddings + long-term memory). EU sovereign hosting, open-weight Apache 2.0.
1094
+ Powered by Qwen3-Coder-Next, Gemma 4 31B, Whisper Large V3, BGE-M3.
1095
+ </p>
1096
+ </div>
1097
+ </section>
1098
 
1099
  <section class="view" id="view-best" hidden>
1100
  <div class="stat-strip">Anthropic-level quality, 60x cheaper, in Europe</div>
1101
  <div class="panel">
1102
  <h2>SovAPI vs Claude Sonnet 5</h2>
1103
  <p class="reference-note">
1104
+ <strong>Verified benchmark values.</strong> Fast-inference mode (Non-Think) for
1105
+ developer and interactive workloads. Live Arena results remain measured separately
1106
+ for each prompt.
1107
  </p>
1108
  <div class="table-scroll" role="region" aria-label="SovAPI versus Sonnet 5 benchmarks" tabindex="0">
1109
  <table>
 
1111
  <tr><th>Benchmark</th><th>SovAPI</th><th>Sonnet 5</th><th>Gap</th></tr>
1112
  </thead>
1113
  <tbody>
1114
+ <tr><td>LiveCodeBench Non-Think</td><td>77.1%</td><td>64.8%</td><td>+12.3 pts</td></tr>
 
 
 
 
 
1115
  </tbody>
1116
  </table>
1117
  </div>
1118
  </div>
1119
  <div class="panel" style="margin-top: 16px">
1120
+ <h2>SovAPI vs DeepSeek V4 (Flash &amp; Pro)</h2>
1121
  <p class="reference-note">
1122
+ <strong>Verified benchmark values.</strong> Fast-inference mode (Non-Think) for both
1123
+ V4-Flash (13B activated) and V4-Pro (49B activated). Gap measured vs V4-Pro.
1124
  </p>
1125
  <div class="table-scroll" role="region" aria-label="SovAPI versus DeepSeek benchmarks" tabindex="0">
1126
  <table>
1127
  <thead>
1128
+ <tr><th>Benchmark</th><th>Qwen3</th><th>Gemma 4</th><th>SovAPI</th><th>V4-Flash</th><th>V4-Pro</th><th>Gap</th></tr>
1129
  </thead>
1130
  <tbody>
1131
+ <tr><td>LiveCodeBench Non-Think</td><td>71.4%</td><td>80.0%</td><td>77.1%</td><td>55.2%</td><td>56.8%</td><td>+20.3 pts</td></tr>
 
 
 
 
 
 
1132
  </tbody>
1133
  </table>
1134
  </div>
 
1321
  table: { y: 250, width: 680, height: 300, leftX: 96, rightX: 824 },
1322
  verdict: { x: 96, y: 590, width: 1408, height: 164 },
1323
  });
 
 
1324
  const CURATED_CHALLENGERS = [
1325
  {
1326
  id: "anthropic/claude-sonnet-5",
 
1354
  region: "China",
1355
  available: true,
1356
  },
1357
+ {
1358
+ id: "deepseek/deepseek-v4-pro",
1359
+ name: "DeepSeek — DeepSeek V4 Pro",
1360
+ provider: "DeepSeek",
1361
+ model: "DeepSeek V4 Pro",
1362
+ region: "China",
1363
+ available: true,
1364
+ },
1365
  {
1366
  id: "z-ai/glm-5.2",
1367
  name: "Z.AI — GLM-5.2",
 
1391
  name: "Alibaba — Qwen3.5-397B",
1392
  provider: "Alibaba",
1393
  model: "Qwen3.5-397B",
1394
+ region: "China",
 
 
1395
  available: true,
1396
  },
1397
  {
 
1399
  name: "Scaleway — Qwen3.5-397B",
1400
  provider: "Scaleway",
1401
  model: "Qwen3.5-397B",
1402
+ region: "Europe",
 
 
1403
  available: true,
1404
  },
1405
  ].filter(
 
1438
  const state = {
1439
  sovapi: null,
1440
  challenger: null,
 
1441
  challengerIdentity: null,
1442
  duelId: null,
1443
  duelDefinition: null,
 
1705
 
1706
  function challengerOptions(models) {
1707
  const items = validatedChallengerItems(models);
 
 
 
1708
  const nodes = [];
1709
  ["US", "China", "Europe"].forEach((region) => {
1710
+ const regionItems = items.filter(
1711
  (item) => (item.region || "Other") === region,
1712
  );
1713
  if (!regionItems.length) return;
 
1716
  regionItems.forEach((item) => group.append(createChallengerOption(item)));
1717
  nodes.push(group);
1718
  });
1719
+ items
1720
  .filter((item) => !["US", "China", "Europe"].includes(item.region || ""))
1721
  .forEach((item) => nodes.push(createChallengerOption(item)));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1722
  return nodes;
1723
  }
1724
 
 
1728
  );
1729
  return CURATED_CHALLENGERS.map((expected) => {
1730
  const candidate = candidates.get(expected.id);
 
1731
  const valid =
1732
  candidate?.available === true &&
1733
  candidate.route_mode === "direct" &&
 
1735
  candidate.fallback_enabled === false &&
1736
  candidate.provider === expected.provider &&
1737
  candidate.model === expected.model &&
1738
+ candidate.region === expected.region;
 
 
1739
  return {
1740
  ...expected,
1741
  available: valid,
 
1809
 
1810
  function activeDuelDefinition() {
1811
  const option = qs("#challenger").selectedOptions[0];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1812
  return {
 
1813
  left: {
1814
  stateKey: "sovapi",
1815
  side: "sovapi",
 
1824
  provider: option?.dataset.provider || "Challenger",
1825
  modelLabel: option?.dataset.model || "Model",
1826
  },
 
1827
  };
1828
  }
1829
 
 
1832
  }
1833
 
1834
  function updateLanePresentation() {
1835
+ qs("#leftLaneKicker").textContent = "A - Private";
1836
+ qs("#sovapiLaneTitle").textContent = activeLaneTitle();
1837
+ qs("#leftLaneBadge").textContent = "sovapi";
1838
+ qs("#rightLaneKicker").textContent = "B - Challenger";
1839
+ qs("#runButton").textContent = "Test SovAPI";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1840
  updateChallengerIdentity();
1841
  }
1842
 
 
2010
  "same speed",
2011
  "unavailable",
2012
  );
 
 
2013
  return {
2014
+ headline: `TTFT · SovAPI ${ttft}`,
2015
  ttft: `Total time ${speed} · ${cost}`,
2016
+ detail: "Measured from live API responses for this exact prompt. Costs use live token usage and public list prices.",
 
 
2017
  };
2018
  }
2019
 
 
2057
  if (!directProvenance) {
2058
  return "Sharing is disabled until direct route provenance is verified for both lanes.";
2059
  }
 
 
 
 
2060
  return "";
2061
  }
2062
 
 
2180
  }
2181
  if (side === "challenger") {
2182
  updateChallengerIdentity(payload);
 
 
 
 
 
 
 
 
2183
  }
2184
  if (eventName === "challenge.error") {
2185
  throw challengeEventError(payload.side || side, payload);
 
2269
  const ink = styles.getPropertyValue("--ink").trim() || "#15110d";
2270
  const muted = styles.getPropertyValue("--muted").trim() || "#6f6255";
2271
  const orange = styles.getPropertyValue("--orange").trim() || "#ff5a1f";
2272
+ const shareLeftIdentity = {
2273
+ provider: "SovAPI",
2274
+ model: activeShareModelName(),
2275
+ };
 
 
 
 
 
 
2276
  const shareChallengerIdentity = challengerIdentity(
2277
  state.challenger,
2278
  state.challengerIdentity,
 
2433
  setTimeout(() => URL.revokeObjectURL(link.href), 1000);
2434
  }
2435
 
2436
+ async function refreshStatus() {
2437
+ try {
2438
+ // This readiness read is also the deliberate first-duel warmup: the head-level
2439
+ // preconnect starts DNS/TCP/TLS early, then this request opens the reusable API path.
2440
+ const response = await fetch(STATUS_SUMMARY_URL, {
2441
+ cache: "no-store",
2442
+ credentials: "omit",
2443
+ keepalive: true,
2444
+ });
2445
  if (!response.ok) throw new Error("status unavailable");
2446
  const payload = await response.json();
2447
  const status = payload.status || {};