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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
improvement(llm): upgrade OpenAI lane to the GPT-5.6 family (Sol/Terra/Luna)
nirholas46abb0e9baea
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 61533d26a..6e32573fd 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,6 +9,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **AR Forge** (`/ar`) — Type a prompt, get a real 3D model, and place it in your room: free text-to-3D with one-tap AR on any phone (WebXR, Scene Viewer, Quick Look) and a QR handoff from desktop.- **Docs · Sketchfab Showcase** (`/docs/sketchfab`) — How the best community forge models get published to the official three.ws Sketchfab account: what gets picked, AI disclosure, and the backlinks that make referrals measurable.- **End-User License Agreement** (`/legal/eula`) — License terms for the three.ws Seeker/Saga app.+- **Agent brains upgraded to the newest OpenAI models** — Every OpenAI-powered surface on the platform now runs the GPT-5.6 family released this month. The Brain page and agent model pickers offer three tiers: Sol (flagship reasoning), Terra (balanced), and Luna (fast and cost-efficient), each with a 1M-token context window, up from 128K. Vision fallbacks, the copilot, widgets, and the marketplace default to Luna, and anything still pointed at the retired GPT-4o models is transparently upgraded, so nothing breaks and every answer gets smarter. (`/brain`) `[improvement]`- **AR Forge: type a prompt, place the model in your room** — A new mobile-first app at /ar turns a one-line prompt into a real, downloadable 3D model on the free generation lane, then puts it in your space with one tap: WebXR or Scene Viewer on Android, Quick Look on iPhone. On a desktop it shows a QR code that hands the finished model straight to your phone's camera app, and every creation gets a shareable viewer link. No account, no payment, fair-use rate limits only. (`/ar`) `[feature]`- **IRL placement grows up: true AR anchoring leads the dock, and you can pinch-resize your agent** — Placing an avatar in the real world through /irl now feels like a native AR app. On phones with a real AR surface the new Place in AR button leads the dock: a floor-finding reticle, a tap to anchor the agent to the actual detected surface, and now a two-finger pinch to resize it live, from a 25% desk figurine to a 400% statue. The size you choose saves with the pin, so everyone who walks up sees your agent exactly where and how big you left it. iPhones open the same placement in ARKit Quick Look. The compass-and-GPS pin path is unchanged and remains the fallback everywhere else. (`/irl`) `[feature, improvement]`- **New doc: IRL, agents in the real world** — The IRL layer finally has a front door in the docs: one page that explains the whole vision and how the shipped pieces fit together. It covers placing an agent at a real GPS spot from your phone, walk-up discovery with proof of presence, paying agents in person via x402, Money Drops (real SOL, USDC, or $THREE escrowed at a place and claimable only by walking up), World Lines (agent-signed proofs that you were really there), and the privacy model that makes it all safe. The docs sidebar now also links the hands-on IRL tutorial, which was previously unreachable from the navigation. (`/docs/irl`) `[docs]`diff --git a/api/_lib/chat-models.js b/api/_lib/chat-models.jsindex 6f1d222cf..06c3b7be4 100644--- a/api/_lib/chat-models.js+++ b/api/_lib/chat-models.js@@ -79,7 +79,9 @@ export const MODEL_CATALOG = {'nvidia/llama-3.3-nemotron-super-49b-v1.5': { provider: 'nvidia', tools: true },// ── OpenAI (paid) — see operational note above; ranked last ───────────────- 'gpt-4o-mini': { provider: 'openai', tools: true },+ 'gpt-5.6-sol': { provider: 'openai', tools: true },+ 'gpt-5.6-terra': { provider: 'openai', tools: true },+ 'gpt-5.6-luna': { provider: 'openai', tools: true },};/**@@ -142,7 +144,7 @@ export const PROVIDER_MODEL_DEFAULTS = {openrouter: DEFAULT_FREE_MODEL,groq: 'llama-3.3-70b-versatile',nvidia: 'meta/llama-3.3-70b-instruct',- openai: 'gpt-4o-mini',+ openai: 'gpt-5.6-luna',};/**diff --git a/api/_lib/llm-health.js b/api/_lib/llm-health.jsindex dad4598c7..04f00a4ec 100644--- a/api/_lib/llm-health.js+++ b/api/_lib/llm-health.js@@ -32,9 +32,9 @@ const PROBE_TIMEOUT_MS = 5_000;// Cheapest live model per provider — a max_tokens:1 completion costs a fraction// of a cent and the probe only reads the HTTP status, not the body.-const OPENROUTER_MODEL = 'openai/gpt-4o-mini';+const OPENROUTER_MODEL = 'openai/gpt-5.6-luna';const ANTHROPIC_MODEL = 'claude-haiku-4-5-20251001';-const OPENAI_MODEL = 'gpt-4o-mini';+const OPENAI_MODEL = 'gpt-5.6-luna';// fetch with a hard 5s timeout; returns the Response (or null on transport// error) plus the measured round-trip so the report can surface latency.diff --git a/api/_lib/llm-pricing.js b/api/_lib/llm-pricing.jsindex c8b9508a6..13891cc6d 100644--- a/api/_lib/llm-pricing.js+++ b/api/_lib/llm-pricing.js@@ -21,6 +21,10 @@ const PRICE_PER_MTOK = {'claude-sonnet-4-6': [3, 15],'claude-sonnet-4-5': [3, 15],'claude-haiku-4-5': [1, 5],+ 'gpt-5.6-sol': [5, 30],+ 'gpt-5.6-terra': [2.5, 15],+ 'gpt-5.6-luna': [1, 6],+ // Deprecated OpenAI family — kept so historical usage_events still price.'gpt-4o-mini': [0.15, 0.6],'gpt-4o': [2.5, 10],// Vertex Gemini (model id carries the publisher prefix) — billed to the GCPdiff --git a/api/_lib/llm.js b/api/_lib/llm.jsindex 3d7eeb130..a5a6d52df 100644--- a/api/_lib/llm.js+++ b/api/_lib/llm.js@@ -92,7 +92,7 @@ function nvidiaLaneTimeoutMs() {const ANTHROPIC_MODEL = 'claude-haiku-4-5-20251001';// Paid last-resort tail (see policy above). Mini keeps the backstop cheap; the// repo-wide OpenAI default (api/_lib/chat-models.js) uses the same model.-const OPENAI_MODEL = 'gpt-4o-mini';+const OPENAI_MODEL = 'gpt-5.6-luna';// Per-user daily LLM spend cap, in micro-USD. Callers on the host's paid keys// (ANTHROPIC_API_KEY / OPENAI_API_KEY) are metered; BYOK callers and free-tierdiff --git a/api/_lib/vision.js b/api/_lib/vision.jsindex 3a6b11a5b..c7f9f9a06 100644--- a/api/_lib/vision.js+++ b/api/_lib/vision.js@@ -11,7 +11,7 @@// consumer must survive on them alone.//// • Paid vision-capable backstop LAST, automatically. When OPENAI_API_KEY is-// configured, gpt-4o-mini (vision-capable) is appended to the tail so a+// configured, gpt-5.6-luna (vision-capable) is appended to the tail so a// request that exhausted the free lanes still succeeds. It never leads, and// no consumer hard-fails when it is absent.//@@ -39,9 +39,9 @@ const NVIDIA_VISION_MODELS = ['nvidia/nemotron-nano-12b-v2-vl','meta/llama-3.2-11b-vision-instruct',];-// Paid last-resort tail. gpt-4o-mini is vision-capable and already priced in+// Paid last-resort tail. gpt-5.6-luna is vision-capable and already priced in// llm-pricing.js, keeping the backstop cheap and the spend ledger truthful.-const OPENAI_VISION_MODEL = 'gpt-4o-mini';+const OPENAI_VISION_MODEL = 'gpt-5.6-luna';// Thrown when no vision provider is available at all. Carries an HTTP status so// a handler that *chose* to surface it can return 503 — but consumers shoulddiff --git a/api/agents/copilot.js b/api/agents/copilot.jsindex 5264ca03b..d8e271e4d 100644--- a/api/agents/copilot.js+++ b/api/agents/copilot.js@@ -76,7 +76,7 @@ function providerChain() {chain.push({ name: 'nvidia', url: 'https://integrate.api.nvidia.com/v1/chat/completions', key: env.NVIDIA_API_KEY, model: 'meta/llama-3.3-70b-instruct' });}if (env.OPENAI_API_KEY) {- chain.push({ name: 'openai', url: 'https://api.openai.com/v1/chat/completions', key: env.OPENAI_API_KEY, model: 'gpt-4o-mini' });+ chain.push({ name: 'openai', url: 'https://api.openai.com/v1/chat/completions', key: env.OPENAI_API_KEY, model: 'gpt-5.6-luna' });}return chain;}diff --git a/api/brain/chat.js b/api/brain/chat.jsindex fecb4d128..e87ff0ab7 100644--- a/api/brain/chat.js+++ b/api/brain/chat.js@@ -107,23 +107,32 @@ const PROVIDERS = {native: () => (env.ANTHROPIC_API_KEY ? createAnthropic({ apiKey: env.ANTHROPIC_API_KEY })('claude-haiku-4-5-20251001') : null),openrouterModel: 'anthropic/claude-haiku-4.5',},- 'gpt-4o': {- label: 'GPT-4o',+ 'gpt-5.6-sol': {+ label: 'GPT-5.6 Sol',network: 'OpenAI',tier: 'flagship',maxOutput: 16384,- description: 'OpenAI flagship. Strong multimodal reasoning.',- native: () => (env.OPENAI_API_KEY ? createOpenAI({ apiKey: env.OPENAI_API_KEY }).chat('gpt-4o') : null),- openrouterModel: 'openai/gpt-4o',+ description: 'OpenAI flagship. Frontier reasoning, coding, and agentic work.',+ native: () => (env.OPENAI_API_KEY ? createOpenAI({ apiKey: env.OPENAI_API_KEY }).chat('gpt-5.6-sol') : null),+ openrouterModel: 'openai/gpt-5.6-sol',},- 'gpt-4o-mini': {- label: 'GPT-4o-mini',+ 'gpt-5.6-terra': {+ label: 'GPT-5.6 Terra',+ network: 'OpenAI',+ tier: 'balanced',+ maxOutput: 16384,+ description: 'Balanced intelligence and cost. Best for most tasks.',+ native: () => (env.OPENAI_API_KEY ? createOpenAI({ apiKey: env.OPENAI_API_KEY }).chat('gpt-5.6-terra') : null),+ openrouterModel: 'openai/gpt-5.6-terra',+ },+ 'gpt-5.6-luna': {+ label: 'GPT-5.6 Luna',network: 'OpenAI',tier: 'fast',maxOutput: 16384,- description: 'Fast, affordable GPT. Great for simple tasks.',- native: () => (env.OPENAI_API_KEY ? createOpenAI({ apiKey: env.OPENAI_API_KEY }).chat('gpt-4o-mini') : null),- openrouterModel: 'openai/gpt-4o-mini',+ description: 'Fast, cost-efficient GPT. Great for simple tasks.',+ native: () => (env.OPENAI_API_KEY ? createOpenAI({ apiKey: env.OPENAI_API_KEY }).chat('gpt-5.6-luna') : null),+ openrouterModel: 'openai/gpt-5.6-luna',},'o3-mini': {label: 'o3-mini',@@ -550,8 +559,15 @@ export function getAvailableProviders() {// exists. Returns { ok: false, status, code, message, available? } when the key// is unknown or no route is configured, so every caller (the brain page handler// and the live Q&A concierge) reports the same errors identically.+// Retired provider keys still stored in user prefs resolve to their successor+// model instead of a 400 (gpt-4o family deprecated upstream July 2026).+const PROVIDER_ALIASES = {+ 'gpt-4o': 'gpt-5.6-sol',+ 'gpt-4o-mini': 'gpt-5.6-luna',+};+export function resolveBrain(providerKey) {- const spec = PROVIDERS[providerKey];+ const spec = PROVIDERS[PROVIDER_ALIASES[providerKey] || providerKey];if (!spec) {return {ok: false,diff --git a/api/chat.js b/api/chat.jsindex a8bbecaca..5e5ce19dd 100644--- a/api/chat.js+++ b/api/chat.js@@ -1078,7 +1078,7 @@ const FALLBACK_SIBLINGS = {// next fallback slot to a different provider.nvidia: ['meta/llama-3.3-70b-instruct'],anthropic: ['claude-sonnet-4-6', 'claude-haiku-4-5-20251001'],- openai: ['gpt-4o-mini'],+ openai: ['gpt-5.6-luna'],};// A model is eligible for an *auto-built* fallback slot only when it can servediff --git a/api/marketplace/[action].js b/api/marketplace/[action].jsindex c74423d15..4bbee4cfe 100644--- a/api/marketplace/[action].js+++ b/api/marketplace/[action].js@@ -897,7 +897,7 @@ const PREVIEW_PROVIDERS = {openai: {envKey: 'OPENAI_API_KEY',url: 'https://api.openai.com/v1/chat/completions',- defaultModel: 'gpt-4o-mini',+ defaultModel: 'gpt-5.6-luna',style: 'openai',},};diff --git a/api/widgets/[id]/[action].js b/api/widgets/[id]/[action].jsindex 960b12ab2..3e1bd8252 100644--- a/api/widgets/[id]/[action].js+++ b/api/widgets/[id]/[action].js@@ -89,7 +89,7 @@ const PROVIDERS = {},openai: {envKey: 'OPENAI_API_KEY',- defaultModel: 'gpt-4o-mini',+ defaultModel: 'gpt-5.6-luna',url: 'https://api.openai.com/v1/chat/completions',style: 'openai',},diff --git a/data/changelog.json b/data/changelog.jsonindex 75450232a..65dbe0e01 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-07-14",+ "title": "Agent brains upgraded to the newest OpenAI models",+ "summary": "Every OpenAI-powered surface on the platform now runs the GPT-5.6 family released this month. The Brain page and agent model pickers offer three tiers: Sol (flagship reasoning), Terra (balanced), and Luna (fast and cost-efficient), each with a 1M-token context window, up from 128K. Vision fallbacks, the copilot, widgets, and the marketplace default to Luna, and anything still pointed at the retired GPT-4o models is transparently upgraded, so nothing breaks and every answer gets smarter.",+ "tags": [+ "improvement"+ ],+ "link": "/brain"+ },{"date": "2026-07-14","title": "The best community models now go to Sketchfab",diff --git a/public/changelog.json b/public/changelog.jsonindex de63f7d07..a7e217866 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-14T10:12:55.458Z",+ "generated_at": "2026-07-14T11:37:43.347Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -36,6 +36,16 @@"launch"]},+ {+ "date": "2026-07-14",+ "type": "update",+ "title": "Agent brains upgraded to the newest OpenAI models",+ "summary": "Every OpenAI-powered surface on the platform now runs the GPT-5.6 family released this month. The Brain page and agent model pickers offer three tiers: Sol (flagship reasoning), Terra (balanced), and Luna (fast and cost-efficient), each with a 1M-token context window, up from 128K. Vision fallbacks, the copilot, widgets, and the marketplace default to Luna, and anything still pointed at the retired GPT-4o models is transparently upgraded, so nothing breaks and every answer gets smarter.",+ "link": "/brain",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-07-14","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex b636fc201..cab5cf0a5 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -30,6 +30,14 @@<category>launch</category><description>License terms for the three.ws Seeker/Saga app.</description></item>+ <item>+ <title>Agent brains upgraded to the newest OpenAI models</title>+ <link>https://three.ws/brain</link>+ <guid isPermaLink="false">2026-07-14:Agent brains upgraded to the newest OpenAI models</guid>+ <pubDate>Tue, 14 Jul 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>Every OpenAI-powered surface on the platform now runs the GPT-5.6 family released this month. The Brain page and agent model pickers offer three tiers: Sol (flagship reasoning), Terra (balanced), and Luna (fast and cost-efficient), each with a 1M-token context window, up from 128K. Vision fallbacks, the copilot, widgets, and the marketplace default to Luna, and anything still pointed at the retired GPT-4o models is transparently upgraded, so nothing breaks and every answer gets smarter.</description>+ </item><item><title>AR Forge: type a prompt, place the model in your room</title><link>https://three.ws/ar</link>diff --git a/src/avatar-page.js b/src/avatar-page.jsindex 681c45b3d..789f9d922 100644--- a/src/avatar-page.js+++ b/src/avatar-page.js@@ -102,7 +102,7 @@ const MODEL_OPTIONS = [model: 'nousresearch/hermes-3-llama-3.1-405b:free',},{ id: 'groq:llama-70b', label: 'Groq Llama 3.3 70B', provider: 'groq', model: 'llama-3.3-70b-versatile' },- { id: 'openai:gpt-4o-mini', label: 'GPT-4o mini', provider: 'openai', model: 'gpt-4o-mini' },+ { id: 'openai:gpt-5.6-luna', label: 'GPT-5.6 Luna', provider: 'openai', model: 'gpt-5.6-luna' },{ id: 'watsonx:granite', label: 'IBM Granite 3 (watsonx)', provider: 'watsonx', model: 'ibm/granite-3-8b-instruct' },{ id: 'orchestrate:agent', label: 'watsonx Orchestrate', provider: 'orchestrate', model: 'orchestrate-agent' },];diff --git a/src/brain.js b/src/brain.jsindex 6bfea671b..cddd86abc 100644--- a/src/brain.js+++ b/src/brain.js@@ -10,8 +10,9 @@ const PROVIDERS = [{ 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' },- { key: 'gpt-4o', label: 'GPT-4o', short: 'GPT-4o', network: 'OpenAI', color: '#74c0fc', ctx: '128K', tier: 'Flagship' },- { key: 'gpt-4o-mini', label: 'GPT-4o-mini', short: 'GPT-4o-mini', network: 'OpenAI', color: '#90ccfc', ctx: '128K', tier: 'Fast' },+ { key: 'gpt-5.6-sol', label: 'GPT-5.6 Sol', short: 'Sol', network: 'OpenAI', color: '#74c0fc', ctx: '1M', tier: 'Flagship' },+ { key: 'gpt-5.6-terra', label: 'GPT-5.6 Terra', short: 'Terra', network: 'OpenAI', color: '#82c6fc', ctx: '1M', tier: 'Balanced' },+ { key: 'gpt-5.6-luna', label: 'GPT-5.6 Luna', short: 'Luna', network: 'OpenAI', color: '#90ccfc', ctx: '1M', tier: 'Fast' },{ key: 'o3-mini', label: 'o3-mini', short: 'o3-mini', network: 'OpenAI', color: '#5cb0f4', ctx: '128K', tier: 'Reasoning' },{ key: 'groq-llama', label: 'Llama 3.3 70B', short: 'Llama 3.3', network: 'Groq', color: '#ff9a3c', ctx: '128K', tier: 'Fast' },{ key: 'qwen-plus', label: 'Qwen Plus', short: 'Qwen+', network: 'DashScope', color: '#69db7c', ctx: '131K', tier: 'Balanced' },@@ -139,7 +140,7 @@ const state = {playMode: 'compare',focusKey: 'gpt-oss-120b',- active: new Set(['gpt-oss-120b', 'groq-llama', 'claude-sonnet-4-6', 'gpt-4o-mini']),+ active: new Set(['gpt-oss-120b', 'groq-llama', 'claude-sonnet-4-6', 'gpt-5.6-luna']),sessions: [],currentId: null,streaming: false,diff --git a/src/dashboard-next/pages/brain.js b/src/dashboard-next/pages/brain.jsindex 11bab909e..4016beb50 100644--- a/src/dashboard-next/pages/brain.js+++ b/src/dashboard-next/pages/brain.js@@ -18,8 +18,9 @@ const PROVIDERS = [{ 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' },- { key: 'gpt-4o', label: 'GPT-4o', short: 'GPT-4o', network: 'OpenAI', color: '#74c0fc', ctx: '128K', tier: 'Flagship' },- { key: 'gpt-4o-mini', label: 'GPT-4o-mini', short: 'GPT-4o-mini', network: 'OpenAI', color: '#90ccfc', ctx: '128K', tier: 'Fast' },+ { key: 'gpt-5.6-sol', label: 'GPT-5.6 Sol', short: 'Sol', network: 'OpenAI', color: '#74c0fc', ctx: '1M', tier: 'Flagship' },+ { key: 'gpt-5.6-terra', label: 'GPT-5.6 Terra', short: 'Terra', network: 'OpenAI', color: '#82c6fc', ctx: '1M', tier: 'Balanced' },+ { key: 'gpt-5.6-luna', label: 'GPT-5.6 Luna', short: 'Luna', network: 'OpenAI', color: '#90ccfc', ctx: '1M', tier: 'Fast' },{ key: 'o3-mini', label: 'o3-mini', short: 'o3-mini', network: 'OpenAI', color: '#5cb0f4', ctx: '128K', tier: 'Reasoning' },{ key: 'groq-llama', label: 'Llama 3.3 70B', short: 'Llama 3.3', network: 'Groq', color: '#ff9a3c', ctx: '128K', tier: 'Fast' },{ key: 'qwen-plus', label: 'Qwen Plus', short: 'Qwen+', network: 'DashScope', color: '#69db7c', ctx: '131K', tier: 'Balanced' },@@ -58,7 +59,7 @@ const S = {personaEnabled: true,playMode: 'compare',focusKey: 'claude-sonnet-4-6',- active: new Set(['claude-sonnet-4-6', 'gpt-4o-mini', 'groq-llama', 'deepseek-r1']),+ active: new Set(['claude-sonnet-4-6', 'gpt-5.6-luna', 'groq-llama', 'deepseek-r1']),sessions: [],currentId: null,streaming: false,diff --git a/src/editor/manifest-builder.js b/src/editor/manifest-builder.jsindex 8bde12ac1..0d8c6bbe5 100644--- a/src/editor/manifest-builder.js+++ b/src/editor/manifest-builder.js@@ -27,9 +27,9 @@ const ANTHROPIC_MODELS = [{ id: 'claude-opus-4-7', label: 'Claude Opus 4.7' },];const OPENAI_MODELS = [- { id: 'gpt-4o-2024-11-20', label: 'GPT-4o (Nov 2024)' },- { id: 'gpt-4o-mini', label: 'GPT-4o mini' },- { id: 'gpt-4-turbo', label: 'GPT-4 Turbo' },+ { id: 'gpt-5.6-sol', label: 'GPT-5.6 Sol' },+ { id: 'gpt-5.6-terra', label: 'GPT-5.6 Terra' },+ { id: 'gpt-5.6-luna', label: 'GPT-5.6 Luna' },];const BRAIN_PROVIDERS = ['anthropic', 'openai', 'local', 'none'];const TTS_PROVIDERS = ['browser', 'neural', 'elevenlabs', 'openai', 'none'];diff --git a/src/nich-agent.js b/src/nich-agent.jsindex 9219f6c01..70241871d 100644--- a/src/nich-agent.js+++ b/src/nich-agent.js@@ -940,7 +940,7 @@ const MODEL_OPTIONS = [provider: 'groq',model: 'llama-3.3-70b-versatile',},- { id: 'openai:gpt-4o-mini', label: 'GPT-4o mini', provider: 'openai', model: 'gpt-4o-mini' },+ { id: 'openai:gpt-5.6-luna', label: 'GPT-5.6 Luna', provider: 'openai', model: 'gpt-5.6-luna' },{id: 'watsonx:granite',label: 'IBM Granite 3 (watsonx)',diff --git a/tests/api/llm.test.js b/tests/api/llm.test.jsindex 8f99a4a22..9da3390cc 100644--- a/tests/api/llm.test.js+++ b/tests/api/llm.test.js@@ -390,7 +390,7 @@ describe('llmComplete — paid server keys are the automatic last resort', () =>expect(out.text).toBe('openai backstop');const openaiCall = calls.find((c) => c.url.includes(OPENAI_HOST));expect(openaiCall.headers.authorization).toBe('Bearer sk-oai');- expect(openaiCall.body.model).toBe('gpt-4o-mini');+ expect(openaiCall.body.model).toBe('gpt-5.6-luna');});it('does not add server Anthropic when a BYOK key already leads', async () => {diff --git a/tests/api/v1-free-tier.test.js b/tests/api/v1-free-tier.test.jsindex 782892f31..a518b7340 100644--- a/tests/api/v1-free-tier.test.js+++ b/tests/api/v1-free-tier.test.js@@ -246,7 +246,7 @@ describe('free tier — a non-free endpoint never engages the free lane', () =>const req = makeReq({method: 'POST',url: '/api/v1/x/openai/chat',- body: { model: 'gpt-4o-mini', messages: [{ role: 'user', content: 'hi' }] },+ body: { model: 'gpt-5.6-luna', messages: [{ role: 'user', content: 'hi' }] },});const res = makeRes();const { body } = await dispatch(req, res);