Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(inference): name the provider that actually answered the comparison card

nirholase3a9f4810311
diff --git a/api/_lib/livepeer-gateway.js b/api/_lib/livepeer-gateway.js
new file mode 100644
index 000000000..e367a5d52
--- /dev/null
+++ b/api/_lib/livepeer-gateway.js
@@ -0,0 +1,56 @@
+// Livepeer AI gateway resolution, shared by every Livepeer lane on the
+// platform (the LLM comparison endpoint api/inference/livepeer.js and the
+// text-to-image federation provider api/_providers/livepeer.js).
+//
+// It lives here, and not in either lane, because the gateway URLs are a fact
+// about the network rather than about a pipeline: when a gateway moves or
+// dies, exactly one file changes. Nothing heavier than env.js is imported so
+// a lightweight handler can resolve a gateway without pulling a storage SDK
+// into its module graph.
+//
+// Resolution order:
+// LIVEPEER_GATEWAY_URL -> 'override' (self-hosted gateway, staging, or a
+// regional edge; wins outright, keyed or not)
+// LIVEPEER_API_KEY -> 'studio' (Livepeer Studio AI gateway, bearer
+// auth, metered free tier)
+// neither -> 'public' (the no-key dream gateway, which is
+// NOT usable today; see livepeerGatewayUsable)
+
+import { env } from './env.js';
+
+export const PUBLIC_GATEWAY = 'https://dream-gateway.livepeer.cloud';
+export const STUDIO_GATEWAY = 'https://livepeer.studio/api/generate';
+
+// Why the public gateway is refused rather than merely "often failing":
+// measured 2026-08-12 (docs/ops/livepeer-federation.md), dream-gateway.
+// livepeer.cloud resolves to a host serving a certificate for an unrelated
+// domain, with no Livepeer service behind it. A lane that keeps POSTing there
+// is not retrying a flaky gateway, it is shipping user prompt text at a third
+// party we cannot identify. Operators who see the domain restored can point a
+// lane back at it explicitly with LIVEPEER_GATEWAY_URL.
+export const PUBLIC_GATEWAY_NOTE =
+ 'The no-key Livepeer dream gateway is unreachable (its hostname resolves to an unrelated host). Set LIVEPEER_API_KEY for the Studio gateway, or LIVEPEER_GATEWAY_URL for a self-hosted one.';
+
+// Resolve the active gateway. Returns { base, gateway, key } where gateway is
+// 'override' | 'studio' | 'public'. Reads process.env ahead of the env.js
+// getter so bench harnesses and tests that set process.env directly between
+// cases see their own value.
+export function livepeerGatewayConfig() {
+ const override = process.env.LIVEPEER_GATEWAY_URL || env.LIVEPEER_GATEWAY_URL;
+ if (override) {
+ return {
+ base: String(override).replace(/\/$/, ''),
+ gateway: 'override',
+ key: env.LIVEPEER_API_KEY || null,
+ };
+ }
+ const key = env.LIVEPEER_API_KEY;
+ if (key) return { base: STUDIO_GATEWAY, gateway: 'studio', key };
+ return { base: PUBLIC_GATEWAY, gateway: 'public', key: null };
+}
+
+// Whether a resolved gateway may be sent user content. Only the public one is
+// refused, and only for the reason recorded in PUBLIC_GATEWAY_NOTE.
+export function livepeerGatewayUsable(gateway) {
+ return gateway !== 'public';
+}
diff --git a/api/_providers/livepeer.js b/api/_providers/livepeer.js
index 5269fc710..08b21f34f 100644
--- a/api/_providers/livepeer.js
+++ b/api/_providers/livepeer.js
@@ -40,9 +40,11 @@
import { env } from '../_lib/env.js';
import { looksLikeImageBytes, persistImageBytes } from '../_lib/image-persist.js';
+import { livepeerGatewayConfig } from '../_lib/livepeer-gateway.js';
-const PUBLIC_GATEWAY = 'https://dream-gateway.livepeer.cloud';
-const STUDIO_GATEWAY = 'https://livepeer.studio/api/generate';
+// Gateway resolution is shared with the LLM comparison lane
+// (api/inference/livepeer.js) so the network's URLs live in one file.
+export { livepeerGatewayConfig };
// Default pipeline on the Livepeer AI gateway text-to-image surface. A fast
// distilled SDXL variant, matching the lane's role (cheap reference views, not
@@ -82,17 +84,6 @@ export function livepeerFederationEnabled() {
return truthy(process.env.LIVEPEER_FEDERATION_ENABLED);
}
-// Resolve the active gateway. Returns { base, gateway, key } where gateway is
-// 'studio' | 'public' | 'override'. LIVEPEER_GATEWAY_URL wins outright; then
-// the keyed studio gateway; then the no-key public one.
-export function livepeerGatewayConfig() {
- const override = process.env.LIVEPEER_GATEWAY_URL || env.LIVEPEER_GATEWAY_URL;
- if (override) return { base: String(override).replace(/\/$/, ''), gateway: 'override', key: env.LIVEPEER_API_KEY || null };
- const key = env.LIVEPEER_API_KEY;
- if (key) return { base: STUDIO_GATEWAY, gateway: 'studio', key };
- return { base: PUBLIC_GATEWAY, gateway: 'public', key: null };
-}
-
// Resolve a possibly gateway-relative image URL against the gateway origin.
function resolveImageUrl(raw, base) {
if (typeof raw !== 'string' || !raw) return null;
diff --git a/api/inference/livepeer.js b/api/inference/livepeer.js
index c79d217cb..59801dff5 100644
--- a/api/inference/livepeer.js
+++ b/api/inference/livepeer.js
@@ -1,36 +1,66 @@
-// POST /api/inference/livepeer — side-by-side LLM inference comparison.
+// POST /api/inference/livepeer: side-by-side LLM inference comparison.
//
// Body: { prompt: string, model?: string, max_tokens?: number, temperature?: number }
// Response:
// {
// ok: true,
// prompt: string,
-// claude: { ok, reply, latency_ms, model, prompt_tokens, completion_tokens, network: 'Anthropic' },
-// livepeer: { ok, reply, latency_ms, model, prompt_tokens, completion_tokens, gateway: 'studio'|'public', network: 'Livepeer' }
+// platform: { ok, reply, latency_ms, provider, model, prompt_tokens, completion_tokens, network: 'three.ws' },
+// livepeer: { ok, reply, latency_ms, model, prompt_tokens, completion_tokens, gateway: 'override'|'studio'|'public', network: 'Livepeer' }
// }
//
-// Both providers are called in parallel via Promise.allSettled so a slow
-// or failed Livepeer orchestrator does not block the Claude reply. The
-// Livepeer leg routes to:
-// - https://livepeer.studio/api/generate/llm when LIVEPEER_API_KEY is set
-// - https://dream-gateway.livepeer.cloud/llm otherwise (public, rate-limited)
+// `platform` is the three.ws inference chain (api/_lib/llm.js), which picks
+// whichever provider answers first; `provider` and `model` always name the one
+// that actually replied, so the card never claims a vendor that did not run.
//
-// We `import 'livepeer'` so the package version is tied to the call shape —
-// the npm SDK is built for the same Studio API path we hit by raw fetch. The
-// actual request is plain HTTP because the Vercel edge-friendlier path is
-// `fetch`, not a heavyweight SDK client.
+// Both legs are called in parallel via Promise.allSettled so a slow or failed
+// Livepeer orchestrator does not block the platform reply, and each leg
+// reports its own ok/error rather than failing the whole request: a
+// comparison demo that 500s when one side is down shows nothing.
+//
+// The Livepeer gateway is resolved by api/_lib/livepeer-gateway.js, shared
+// with the text-to-image federation provider, so the network's URLs and the
+// LIVEPEER_GATEWAY_URL override live in one file. This leg appends the
+// gateway's OpenAI-compatible `/llm` path and posts with plain `fetch` rather
+// than the npm SDK: the SDK client is a heavyweight dependency to load per
+// cold start for a single JSON POST.
+//
+// Gateway health note: the no-key public dream gateway has not been Livepeer
+// since 2026-08-12 (its hostname resolves to an unrelated host, see
+// docs/ops/livepeer-federation.md). An unkeyed deployment therefore reports
+// `gateway_unavailable` without dialing, instead of shipping the user's
+// prompt at whoever now answers for that name.
-// eslint-disable-next-line no-unused-vars -- pinned for version parity with the SDK call shape
-import { Livepeer } from 'livepeer';
-import { env } from '../_lib/env.js';
import { llmComplete } from '../_lib/llm.js';
+import {
+ livepeerGatewayConfig,
+ livepeerGatewayUsable,
+ PUBLIC_GATEWAY_NOTE,
+} from '../_lib/livepeer-gateway.js';
+import { env } from '../_lib/env.js';
import { cors, method, readJson, error, json, wrap, rateLimited } from '../_lib/http.js';
import { limits, clientIp } from '../_lib/rate-limit.js';
export const maxDuration = 60;
const DEFAULT_LIVEPEER_MODEL = 'meta-llama/Meta-Llama-3.1-8B-Instruct';
-const PROVIDER_NETWORK = { anthropic: 'Anthropic', groq: 'Groq', openrouter: 'OpenRouter' };
+
+// Per-leg wall-clock ceiling, well under maxDuration so one hung orchestrator
+// cannot eat the whole function budget and strand the other leg's finished
+// answer. The platform leg passes the same budget into the provider chain.
+const LEG_TIMEOUT_MS = 45_000;
+
+// Shown on any failure of a gateway we did dial. Orchestrators on the network
+// come and go per model, so the actionable move is another model, not a retry
+// of the same one.
+const GATEWAY_RETRY_HINT =
+ 'An orchestrator serving this model may be offline. Pick another model in settings and run again.';
+
+// Resolve the gateway and the LLM endpoint on it in one place.
+function llmGateway() {
+ const cfg = livepeerGatewayConfig();
+ return { ...cfg, url: `${cfg.base}/llm`, usable: livepeerGatewayUsable(cfg.gateway) };
+}
// Models known to be available on the Livepeer public/studio gateway as of
// late 2025. Surfaced to the client via the GET handler so the demo's
@@ -58,12 +88,13 @@ function clampTemp(n, fallback = 0.7) {
return Math.min(Math.max(v, 0), 2);
}
-// ── Platform LLM leg ────────────────────────────────────────────────────────
+// Platform LLM leg.
//
// The non-Livepeer side of the comparison runs on the platform's funded free
-// providers (Groq/OpenRouter) by default, and upgrades to Anthropic when the
-// operator supplies their own key — matching the platform-wide BYOK policy.
-// `network`/`model` always report whichever provider actually answered.
+// providers by default and upgrades to Anthropic when the operator supplies a
+// key, matching the platform-wide BYOK policy. The chain owns the choice, so
+// `provider`/`model` report whichever rung actually answered rather than a
+// vendor name fixed at build time.
async function callPlatformLlm({ prompt, max_tokens }) {
const t0 = Date.now();
@@ -73,12 +104,13 @@ async function callPlatformLlm({ prompt, max_tokens }) {
user: prompt,
maxTokens: max_tokens,
anthropicKey: env.ANTHROPIC_API_KEY,
- timeoutMs: 45_000,
+ timeoutMs: LEG_TIMEOUT_MS,
});
} catch (e) {
return {
ok: false,
- network: PROVIDER_NETWORK.anthropic,
+ network: 'three.ws',
+ provider: null,
model: null,
latency_ms: Date.now() - t0,
error: e.code === 'llm_unavailable' ? 'no_provider_configured' : 'upstream_error',
@@ -87,7 +119,8 @@ async function callPlatformLlm({ prompt, max_tokens }) {
}
return {
ok: true,
- network: PROVIDER_NETWORK[result.provider] || result.provider,
+ network: 'three.ws',
+ provider: result.provider,
model: result.model,
latency_ms: Date.now() - t0,
reply: (result.text || '').trim(),
@@ -96,17 +129,29 @@ async function callPlatformLlm({ prompt, max_tokens }) {
};
}
-// ── Livepeer leg ──────────────────────────────────────────────────────────────
+// Livepeer leg.
async function callLivepeer({ prompt, model, max_tokens, temperature }) {
- const useStudio = Boolean(env.LIVEPEER_API_KEY);
- const url = useStudio
- ? 'https://livepeer.studio/api/generate/llm'
- : 'https://dream-gateway.livepeer.cloud/llm';
- const gateway = useStudio ? 'studio' : 'public';
+ const { url, gateway, key, usable } = llmGateway();
+
+ // Refused, not attempted: the only gateway left on the no-key path is a
+ // hostname that no longer answers for Livepeer, and a retry loop against it
+ // would be an outbound copy of the user's prompt to an unidentified host.
+ if (!usable) {
+ return {
+ ok: false,
+ network: 'Livepeer',
+ model,
+ gateway,
+ gateway_url: url,
+ latency_ms: 0,
+ error: 'gateway_unavailable',
+ hint: PUBLIC_GATEWAY_NOTE,
+ };
+ }
const headers = { 'content-type': 'application/json' };
- if (useStudio) headers.authorization = `Bearer ${env.LIVEPEER_API_KEY}`;
+ if (key) headers.authorization = `Bearer ${key}`;
// Livepeer AI Gateway LLM pipeline accepts an OpenAI-compatible chat
// completions shape: { model, messages, max_tokens, temperature, stream }.
@@ -126,8 +171,16 @@ async function callLivepeer({ prompt, model, max_tokens, temperature }) {
method: 'POST',
headers,
body: JSON.stringify(body),
+ // A federated orchestrator can accept the connection and then sit on
+ // it. Without this ceiling that stall becomes the request's, and the
+ // platform leg's finished answer never reaches the caller.
+ signal: AbortSignal.timeout(LEG_TIMEOUT_MS),
});
} catch (e) {
+ // A socket/DNS/TLS failure here is the gateway being down, and an abort
+ // is it being too slow to be part of a side-by-side comparison. Code the
+ // two distinctly so the demo can say which one happened.
+ const timedOut = e?.name === 'TimeoutError' || e?.name === 'AbortError';
return {
ok: false,
network: 'Livepeer',
@@ -135,8 +188,11 @@ async function callLivepeer({ prompt, model, max_tokens, temperature }) {
gateway,
gateway_url: url,
latency_ms: Date.now() - t0,
- error: 'network_error',
- error_message: String(e?.message || e),
+ error: timedOut ? 'gateway_timeout' : 'gateway_unreachable',
+ error_message: timedOut
+ ? `no response within ${Math.round(LEG_TIMEOUT_MS / 1000)}s`
+ : String(e?.message || e),
+ hint: GATEWAY_RETRY_HINT,
};
}
const latency_ms = Date.now() - t0;
@@ -153,6 +209,7 @@ async function callLivepeer({ prompt, model, max_tokens, temperature }) {
error: 'upstream_error',
upstream_status: upstream.status,
upstream_body: text.slice(0, 1000),
+ hint: GATEWAY_RETRY_HINT,
};
}
@@ -207,22 +264,26 @@ async function callLivepeer({ prompt, model, max_tokens, temperature }) {
};
}
-// ── handler ──────────────────────────────────────────────────────────────────
+// Handler.
export default wrap(async function handler(req, res) {
if (cors(req, res, { methods: 'GET,POST,OPTIONS' })) return;
if (req.method === 'GET') {
// Surface the live model list + gateway state so the demo's settings
- // drawer can render without hard-coding it in HTML.
+ // drawer can render without hard-coding it in HTML. `keyed` and `usable`
+ // let the client say, before a run, that the Livepeer leg cannot answer
+ // on this deployment and which env var fixes it.
+ const { url, gateway, key, usable } = llmGateway();
return json(res, 200, {
ok: true,
default_model: DEFAULT_LIVEPEER_MODEL,
models: LIVEPEER_MODELS,
- gateway: env.LIVEPEER_API_KEY ? 'studio' : 'public',
- gateway_url: env.LIVEPEER_API_KEY
- ? 'https://livepeer.studio/api/generate/llm'
- : 'https://dream-gateway.livepeer.cloud/llm',
+ gateway,
+ gateway_url: url,
+ keyed: Boolean(key),
+ usable,
+ ...(usable ? {} : { hint: PUBLIC_GATEWAY_NOTE }),
});
}
@@ -247,19 +308,20 @@ export default wrap(async function handler(req, res) {
const max_tokens = clampInt(body.max_tokens, 32, 2048, 512);
const temperature = clampTemp(body.temperature, 0.7);
- const [claudeRes, livepeerRes] = await Promise.allSettled([
+ const [platformRes, livepeerRes] = await Promise.allSettled([
callPlatformLlm({ prompt, max_tokens }),
callLivepeer({ prompt, model, max_tokens, temperature }),
]);
- const claude = claudeRes.status === 'fulfilled'
- ? claudeRes.value
+ const platform = platformRes.status === 'fulfilled'
+ ? platformRes.value
: {
ok: false,
- network: PROVIDER_NETWORK.anthropic,
+ network: 'three.ws',
+ provider: null,
model: null,
error: 'leg_failed',
- error_message: String(claudeRes.reason?.message || claudeRes.reason || 'unknown'),
+ error_message: String(platformRes.reason?.message || platformRes.reason || 'unknown'),
};
const livepeer = livepeerRes.status === 'fulfilled'
@@ -277,7 +339,7 @@ export default wrap(async function handler(req, res) {
prompt,
max_tokens,
temperature,
- claude,
+ platform,
livepeer,
});
});
diff --git a/public/demos/livepeer-inference.html b/public/demos/livepeer-inference.html
index 19d430bca..99d1f1418 100644
--- a/public/demos/livepeer-inference.html
+++ b/public/demos/livepeer-inference.html
@@ -140,9 +140,10 @@
<main class="stage">
<p class="crumb" data-i18n-html="demos_livepeer_inference.lab"><a href="/demos/">← lab</a></p>
<h1 data-i18n="demos_livepeer_inference.three_ws_decentralized_inference">three.ws · Decentralized inference</h1>
- <p class="sub" data-i18n="demos_livepeer_inference.same_prompt_two_providers_real_responses_the">
+ <p class="sub" data-i18n="demos_livepeer_inference.same_prompt_two_providers_real_responses_left">
Same prompt, two providers, real responses. The left card hits
- three.ws's default inference (Claude). The right card routes the
+ the three.ws inference chain, which answers from whichever
+ provider is fastest to respond. The right card routes the
identical request through a decentralized AI gateway whose
orchestrators run open-weight models on commodity GPUs. Phase 4
of the roadmap: decoupling inference from any single vendor so
@@ -182,7 +183,7 @@
<section class="card claude" id="card-claude">
<div class="card-head">
<h2 class="card-title" data-i18n="demos_livepeer_inference.three_ws_default">three.ws default</h2>
- <span class="chip" data-i18n="demos_livepeer_inference.claude_anthropic">Claude · Anthropic</span>
+ <span class="chip" id="claude-chip" data-i18n="demos_livepeer_inference.three_ws_inference_chain">three.ws inference chain</span>
</div>
<div class="stats">
<span data-i18n-html="demos_livepeer_inference.latency">latency <strong id="claude-latency">—</strong></span>
@@ -210,11 +211,13 @@
<div class="log" id="log">ready.</div>
- <p class="footnote" data-i18n-html="demos_livepeer_inference.powered_by_livepeer_ai_gateway_on_the">
+ <p class="footnote" data-i18n-html="demos_livepeer_inference.powered_by_livepeer_ai_gateway_decentralized">
Powered by <a href="https://livepeer.org" target="_blank" rel="noopener">Livepeer</a> AI Gateway
- on the decentralized side. Claude reply provided by Anthropic. The
- public decentralized gateway is rate-limited and occasionally
- slow — typical p50 latency is 2–10 s for an 8B-param model.
+ on the decentralized side. The default reply comes from the
+ three.ws provider chain, and each card names the provider and
+ model that actually answered it. The public decentralized gateway
+ takes no key, so it is rate-limited and often has no orchestrator
+ online for a given model.
</p>
</main>
@@ -261,6 +264,7 @@
const info = await r.json();
$('gateway-info').textContent =
`gateway · ${info.gateway} · ${info.gateway_url}`;
+ if (info.hint) logLine(info.hint, 'dim');
if (Array.isArray(info.models) && info.models.length) {
const sel = $('livepeer-model');
const current = sel.value;
@@ -290,14 +294,19 @@
const lb = $('livepeer-body');
lb.textContent = 'streaming…';
lb.className = 'card-body empty';
+ setText('claude-chip', 'three.ws inference chain');
setText('claude-footer', 'model · —');
setText('livepeer-footer', 'model · — · gateway · —');
}
- function renderClaude(c) {
+ // The platform leg's provider is chosen at request time by the
+ // three.ws chain, so the chip and footer are filled from the
+ // response rather than labelled with a vendor up front.
+ function renderPlatform(c) {
setText('claude-latency', fmtMs(c.latency_ms));
setText('claude-prompt-tokens', fmtTok(c.prompt_tokens));
setText('claude-completion-tokens', fmtTok(c.completion_tokens));
+ setText('claude-chip', c.provider ? `${c.provider} · answered` : 'three.ws inference chain');
setText('claude-footer', `model · ${c.model || '—'}`);
if (c.ok) {
setBody('claude-body', c.reply || '(empty)');
@@ -320,10 +329,10 @@
if (lp.ok) {
setBody('livepeer-body', lp.reply || '(empty)');
} else {
- const msg = lp.upstream_body
+ const base = lp.upstream_body
? `${lp.error || 'error'} (${lp.upstream_status || '?'}):\n${lp.upstream_body}`
: lp.error_message || lp.error || 'unknown error';
- setBody('livepeer-body', msg, 'error');
+ setBody('livepeer-body', lp.hint ? `${base}\n\n${lp.hint}` : base, 'error');
}
}
@@ -368,19 +377,22 @@
$('livepeer-body').className = 'card-body error';
return;
}
- renderClaude(data.claude);
+ renderPlatform(data.platform);
renderLivepeer(data.livepeer);
- const cMs = data.claude?.latency_ms;
+ const cMs = data.platform?.latency_ms;
const lMs = data.livepeer?.latency_ms;
- logLine(`done in ${totalMs}ms · claude ${fmtMs(cMs)} (${data.claude?.ok ? 'ok' : 'fail'}) · livepeer ${fmtMs(lMs)} (${data.livepeer?.ok ? 'ok' : 'fail'})`, 'ok');
+ const pName = data.platform?.provider || 'platform';
+ logLine(`done in ${totalMs}ms · ${pName} ${fmtMs(cMs)} (${data.platform?.ok ? 'ok' : 'fail'}) · livepeer ${fmtMs(lMs)} (${data.livepeer?.ok ? 'ok' : 'fail'})`, 'ok');
if (!data.livepeer?.ok) {
const reason = data.livepeer?.error || 'unknown';
const detail = data.livepeer?.upstream_status
? ` (upstream ${data.livepeer.upstream_status})`
: '';
- logLine(`livepeer leg failed: ${reason}${detail} — public gateway often has no orchestrators online for a given model. Try another model in settings.`, 'dim');
+ const hint = data.livepeer?.hint
+ || 'Try another model in settings: an orchestrator may be offline for this one.';
+ logLine(`livepeer leg failed: ${reason}${detail}. ${hint}`, 'dim');
}
} catch (err) {
logLine('fetch failed: ' + err.message, 'err');
diff --git a/public/locales/en.json b/public/locales/en.json
index 8f6122662..d9be3f67e 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -5029,7 +5029,6 @@
"voice": "Voice"
},
"demos_livepeer_inference": {
- "claude_anthropic": "Claude · Anthropic",
"clear": "Clear",
"compare": "Compare",
"in": "in <strong id=\"claude-prompt-tokens\">—</strong>",
@@ -5046,15 +5045,16 @@
"open_weight_model": "Open-weight model",
"out": "out <strong id=\"claude-completion-tokens\">—</strong>",
"out_2": "out <strong id=\"livepeer-completion-tokens\">—</strong>",
- "powered_by_livepeer_ai_gateway_on_the": "Powered by <a href=\"https://livepeer.org\" target=\"_blank\" rel=\"noopener\">Livepeer</a> AI Gateway on the decentralized side. Claude reply provided by Anthropic. The public decentralized gateway is rate-limited and occasionally slow — typical p50 latency is 2–10 s for an 8B-param model.",
+ "powered_by_livepeer_ai_gateway_decentralized": "Powered by <a href=\"https://livepeer.org\" target=\"_blank\" rel=\"noopener\">Livepeer</a> AI Gateway on the decentralized side. The default reply comes from the three.ws provider chain, and each card names the provider and model that actually answered it. The public decentralized gateway takes no key, so it is rate-limited and often has no orchestrator online for a given model.",
"prompt": "Prompt",
"qwen2_5_7b_instruct": "Qwen2.5-7B-Instruct",
- "same_prompt_two_providers_real_responses_the": "Same prompt, two providers, real responses. The left card hits three.ws's default inference (Claude). The right card routes the identical request through a decentralized AI gateway whose orchestrators run open-weight models on commodity GPUs. Phase 4 of the roadmap: decoupling inference from any single vendor so agents stay online when one provider doesn't.",
+ "same_prompt_two_providers_real_responses_left": "Same prompt, two providers, real responses. The left card hits the three.ws inference chain, which answers from whichever provider is fastest to respond. The right card routes the identical request through a decentralized AI gateway whose orchestrators run open-weight models on commodity GPUs. Phase 4 of the roadmap: decoupling inference from any single vendor so agents stay online when one provider doesn't.",
"settings_decentralized_gateway_model": "Settings · decentralized gateway model",
"temperature": "Temperature",
"three_ws_decentralized": "three.ws decentralized",
"three_ws_decentralized_inference": "three.ws · Decentralized inference",
- "three_ws_default": "three.ws default"
+ "three_ws_default": "three.ws default",
+ "three_ws_inference_chain": "three.ws inference chain"
},
"demos_login": {
"declarative_agent_interactions": "Declarative agent interactions",