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.

feat(models): register Claude Fable 5 + Mythos 5 across catalog, pricing, providers, and UI selectors

nirholas786bedb7e33b
diff --git a/api/_lib/chat-models.js b/api/_lib/chat-models.js
index f0af1a09b..2dc745dbe 100644
--- a/api/_lib/chat-models.js
+++ b/api/_lib/chat-models.js
@@ -42,6 +42,11 @@
*/
export const MODEL_CATALOG = {
// ── Anthropic (paid; host or BYOK key) — most reliable when keyed ──────────
+ 'claude-fable-5': { provider: 'anthropic', tools: true },
+ // Mythos 5 shares Fable 5's underlying capabilities but is a restricted-access
+ // model — it is never auto-selected into a fallback chain, only used when a
+ // caller names it explicitly (modeled with the same `moderationGated` gate).
+ 'claude-mythos-5': { provider: 'anthropic', tools: true, moderationGated: true },
'claude-opus-4-7': { provider: 'anthropic', tools: true },
'claude-opus-4-6': { provider: 'anthropic', tools: true },
'claude-sonnet-4-6': { provider: 'anthropic', tools: true },
diff --git a/api/_lib/llm-pricing.js b/api/_lib/llm-pricing.js
index e373cca75..794410833 100644
--- a/api/_lib/llm-pricing.js
+++ b/api/_lib/llm-pricing.js
@@ -12,6 +12,8 @@
// USD per 1,000,000 tokens, [input, output]. Keys are matched by prefix so a
// dated alias (claude-haiku-4-5-20251001) resolves to its family price.
const PRICE_PER_MTOK = {
+ 'claude-fable-5': [10, 50],
+ 'claude-mythos-5': [10, 50],
'claude-opus-4-8': [5, 25],
'claude-opus-4-7': [5, 25],
'claude-opus-4-6': [5, 25],
diff --git a/api/brain/chat.js b/api/brain/chat.js
index efb067cdc..fb32951c2 100644
--- a/api/brain/chat.js
+++ b/api/brain/chat.js
@@ -53,6 +53,26 @@ const PROVIDERS = {
// OpenRouter-only — no first-party key for the free tier.
openrouterModel: 'openai/gpt-oss-120b:free',
},
+ 'claude-fable-5': {
+ label: 'Claude Fable 5',
+ network: 'Anthropic',
+ tier: 'flagship',
+ maxOutput: 16384,
+ description: 'Mythos-class flagship. State-of-the-art software engineering, knowledge work, vision, and science.',
+ // First-party Anthropic only — not yet mirrored on OpenRouter, so there is
+ // no openrouterModel fallback route (shows unavailable without the host key).
+ native: () => (env.ANTHROPIC_API_KEY ? createAnthropic({ apiKey: env.ANTHROPIC_API_KEY })('claude-fable-5') : null),
+ },
+ 'claude-mythos-5': {
+ label: 'Claude Mythos 5',
+ network: 'Anthropic',
+ tier: 'flagship',
+ maxOutput: 16384,
+ description: 'Mythos-class flagship — same capabilities as Fable 5. Restricted-access; first-party Anthropic key only.',
+ // First-party Anthropic only — no OpenRouter mirror, so there is no
+ // openrouterModel fallback route (shows unavailable without the host key).
+ native: () => (env.ANTHROPIC_API_KEY ? createAnthropic({ apiKey: env.ANTHROPIC_API_KEY })('claude-mythos-5') : null),
+ },
'claude-opus-4-7': {
label: 'Claude Opus 4.7',
network: 'Anthropic',
diff --git a/api/llm/anthropic.js b/api/llm/anthropic.js
index b019bd9d5..b002f3674 100644
--- a/api/llm/anthropic.js
+++ b/api/llm/anthropic.js
@@ -44,6 +44,8 @@ function getRedis() {
const MODELS = {
// Anthropic (paid — host's key)
+ 'claude-fable-5': { kind: 'anthropic', envKey: 'ANTHROPIC_API_KEY' },
+ 'claude-mythos-5': { kind: 'anthropic', envKey: 'ANTHROPIC_API_KEY' },
'claude-opus-4-7': { kind: 'anthropic', envKey: 'ANTHROPIC_API_KEY' },
'claude-opus-4-6': { kind: 'anthropic', envKey: 'ANTHROPIC_API_KEY' },
'claude-sonnet-4-6': { kind: 'anthropic', envKey: 'ANTHROPIC_API_KEY' },
diff --git a/public/dashboard/embed-policy.html b/public/dashboard/embed-policy.html
index 6598bfdaf..950ef72a9 100644
--- a/public/dashboard/embed-policy.html
+++ b/public/dashboard/embed-policy.html
@@ -377,6 +377,8 @@
</option>
</optgroup>
<optgroup label="Paid Claude — uses host's Anthropic key">
+ <option value="claude-fable-5">Claude Fable 5</option>
+ <option value="claude-mythos-5">Claude Mythos 5</option>
<option value="claude-haiku-4-5-20251001">Claude Haiku 4.5</option>
<option value="claude-sonnet-4-6">Claude Sonnet 4.6</option>
<option value="claude-opus-4-6">Claude Opus 4.6</option>
diff --git a/publish/src/editor/manifest-builder.js b/publish/src/editor/manifest-builder.js
index 18fcc30e9..31f478932 100644
--- a/publish/src/editor/manifest-builder.js
+++ b/publish/src/editor/manifest-builder.js
@@ -8,6 +8,8 @@ import '../element.js';
// ─── Constants ────────────────────────────────────────────────────────────────
const ANTHROPIC_MODELS = [
+ { id: 'claude-fable-5', label: 'Claude Fable 5' },
+ { id: 'claude-mythos-5', label: 'Claude Mythos 5' },
{ id: 'claude-opus-4-7', label: 'Claude Opus 4.7' },
{ id: 'claude-sonnet-4-6', label: 'Claude Sonnet 4.6' },
{ id: 'claude-haiku-4-5-20251001', label: 'Claude Haiku 4.5' },
diff --git a/src/brain.js b/src/brain.js
index 2687853ed..05aa1977d 100644
--- a/src/brain.js
+++ b/src/brain.js
@@ -5,6 +5,8 @@ import { sanitizeUrl } from './shared/sanitize-url.js';
// ── Provider registry ────────────────────────────────────────────────────────
const PROVIDERS = [
{ key: 'gpt-oss-120b', label: 'GPT-OSS 120B', short: 'GPT-OSS', network: 'OpenAI · OpenRouter', color: '#a5b4fc', ctx: '128K', tier: 'Default' },
+ { key: 'claude-fable-5', label: 'Claude Fable 5', short: 'Fable 5', network: 'Anthropic', color: '#caa24f', ctx: '200K', tier: 'Flagship' },
+ { key: 'claude-mythos-5', label: 'Claude Mythos 5', short: 'Mythos 5', network: 'Anthropic', color: '#b8923f', ctx: '200K', tier: 'Flagship' },
{ key: 'claude-opus-4-7', label: 'Claude Opus 4.7', short: 'Opus 4.7', network: 'Anthropic', color: '#c8a96e', ctx: '200K', tier: 'Flagship' },
{ key: 'claude-sonnet-4-6', label: 'Claude Sonnet 4.6', short: 'Sonnet 4.6', network: 'Anthropic', color: '#d4b87a', ctx: '200K', tier: 'Balanced' },
{ key: 'claude-haiku-4-5', label: 'Claude Haiku 4.5', short: 'Haiku 4.5', network: 'Anthropic', color: '#e0c88a', ctx: '200K', tier: 'Fast' },
diff --git a/src/dashboard-next/pages/brain.js b/src/dashboard-next/pages/brain.js
index 771dcbd00..ebe4813ce 100644
--- a/src/dashboard-next/pages/brain.js
+++ b/src/dashboard-next/pages/brain.js
@@ -12,6 +12,8 @@ import { sanitizeUrl } from '../../shared/sanitize-url.js';
// ── Provider registry ────────────────────────────────────────────────────
const PROVIDERS = [
+ { key: 'claude-fable-5', label: 'Claude Fable 5', short: 'Fable 5', network: 'Anthropic', color: '#caa24f', ctx: '200K', tier: 'Flagship' },
+ { key: 'claude-mythos-5', label: 'Claude Mythos 5', short: 'Mythos 5', network: 'Anthropic', color: '#b8923f', ctx: '200K', tier: 'Flagship' },
{ key: 'claude-opus-4-7', label: 'Claude Opus 4.7', short: 'Opus 4.7', network: 'Anthropic', color: '#c8a96e', ctx: '200K', tier: 'Flagship' },
{ key: 'claude-sonnet-4-6', label: 'Claude Sonnet 4.6', short: 'Sonnet 4.6', network: 'Anthropic', color: '#d4b87a', ctx: '200K', tier: 'Balanced' },
{ key: 'claude-haiku-4-5', label: 'Claude Haiku 4.5', short: 'Haiku 4.5', network: 'Anthropic', color: '#e0c88a', ctx: '200K', tier: 'Fast' },
diff --git a/src/editor/manifest-builder.js b/src/editor/manifest-builder.js
index db9099dce..59fc3d746 100644
--- a/src/editor/manifest-builder.js
+++ b/src/editor/manifest-builder.js
@@ -20,6 +20,8 @@ const FREE_MODELS = [
];
const ANTHROPIC_MODELS = [
{ id: 'claude-haiku-4-5-20251001', label: 'Claude Haiku 4.5' },
+ { id: 'claude-fable-5', label: 'Claude Fable 5' },
+ { id: 'claude-mythos-5', label: 'Claude Mythos 5' },
{ id: 'claude-sonnet-4-6', label: 'Claude Sonnet 4.6' },
{ id: 'claude-opus-4-6', label: 'Claude Opus 4.6' },
{ id: 'claude-opus-4-7', label: 'Claude Opus 4.7' },