diff --git a/README.md b/README.md index 1722b84..db540ba 100644 --- a/README.md +++ b/README.md @@ -575,7 +575,7 @@ is off without it. | Variable | Required | Default | Purpose | |---|---|---|---| | `AI_API_KEY` | for the server-wide key | — | Operator fallback key; per-user BYO configs (Settings → AI) take precedence, and free/standard plans are BYO-only | -| `AI_MODEL` | no | `recursive/flint-v1.0:free` | Any model the provider serves | +| `AI_MODEL` | no | `nvidia/nemotron-3-ultra-550b-a55b:free` | Any model the provider serves | | `AI_BASE_URL` | no | `https://openrouter.ai/api/v1` | Any OpenAI-compatible endpoint | | `AI_PROVIDER` | no | `openai-compatible` | or `anthropic` / `gemini` | diff --git a/RUNNING.md b/RUNNING.md index 0d70dbe..2b2a811 100644 --- a/RUNNING.md +++ b/RUNNING.md @@ -320,7 +320,7 @@ Gemini); who pays for the tokens is configuration: ```env AI_API_KEY=... # operator's key - AI_MODEL=recursive/flint-v1.0:free # any model the provider serves + AI_MODEL=nvidia/nemotron-3-ultra-550b-a55b:free # any model the provider serves AI_BASE_URL=https://openrouter.ai/api/v1 # any OpenAI-compatible endpoint AI_PROVIDER=openai-compatible # or anthropic / gemini ``` diff --git a/internal/ai/ai.go b/internal/ai/ai.go index 6429f48..958e45f 100644 --- a/internal/ai/ai.go +++ b/internal/ai/ai.go @@ -42,8 +42,11 @@ import ( ) // DefaultModel is the fallback for the server env config (OpenRouter free -// tier). User configs always carry an explicit model. -const DefaultModel = "recursive/flint-v1.0:free" +// tier). User configs always carry an explicit model. Free slugs rotate on +// OpenRouter (recursive/flint-v1.0:free lost its upstreams around 2026-11); +// when swapping this, probe /api/v1/models for ":free" ids first — and note +// deployments that set AI_MODEL explicitly are unaffected either way. +const DefaultModel = "nvidia/nemotron-3-ultra-550b-a55b:free" const defaultOpenAIBase = "https://openrouter.ai/api/v1" diff --git a/web/components/ai-settings.tsx b/web/components/ai-settings.tsx index cfe562b..03ca55b 100644 --- a/web/components/ai-settings.tsx +++ b/web/components/ai-settings.tsx @@ -34,7 +34,7 @@ const PROVIDERS: Record