mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 17:12:11 +08:00
Previously, the shipped LLM presets in `LlmPresets` had stale pricing for `gpt-5.4` and `grok-4-fast`, missing newer models like `gpt-5.5`, and stale OpenRouter selections. This change refreshes context windows, pricing, vision flags, and the OpenRouter top-weekly selection across Anthropic, Google, OpenAI, and OpenRouter providers, and updates the corresponding `model_description` i18n keys. ### Notable changes - **Anthropic**: Opus 4.7 and Sonnet 4.6 context bumped to 1M. - **Google**: `gemini-3-pro` → `gemini-3.1-pro`. - **OpenAI**: added `gpt-5.5`; corrected `gpt-5.4` pricing (was using gpt-5 prices); `gpt-5-nano` → `gpt-5.4-nano`; dropped `gpt-5.4-mini` to match the 3-tier shape used by the other providers. - **OpenRouter**: refreshed to top-weekly paid models (skipping `:free` since those rotate out): `kimi-k2.5` → `kimi-k2.6`, `deepseek-v3.2` → `deepseek-v4-flash`, `grok-4-fast` → `grok-4.1-fast` (also fixed pricing — was set to grok-4 prices), `arcee-ai/trinity-large-preview:free` → `qwen/qwen3.6-plus`. Updated pricing/vision flags on `minimax-m2.7` and `glm-5.1`. Pricing data sourced from `https://www.llm-prices.com/current-v1.json` and `https://catwalk.charm.land/v2/providers`; OpenRouter selection from the top-weekly list at `https://openrouter.ai/models?fmt=cards&order=top-weekly&output_modalities=text`. |
||
|---|---|---|
| .. | ||
| discourse-ai-llm-presets | ||
| discourse-migration | ||
| discourse-pr | ||
| discourse-service-authoring | ||
| discourse-upcoming-changes | ||
| discourse-upcoming-changes-authoring | ||