From 8bf942407ca823692e34803dbb472e796e39e641 Mon Sep 17 00:00:00 2001 From: Waleed Date: Fri, 10 Jul 2026 09:58:34 -0700 Subject: [PATCH] feat(models): add latest Groq and Cerebras models (#5561) * feat(models): add latest Groq and Cerebras models, flag near-term retirements - Groq: add qwen/qwen3.6-27b (Preview, $0.60/$3.00, 131k ctx) - live on console.groq.com/docs/models, not previously in the catalog - Groq: mark meta-llama/llama-4-scout-17b-16e-instruct and qwen/qwen3-32b deprecated - both have an announced shutdown date of July 17, 2026 per Groq's own deprecations page - Cerebras: add gemma-4-31b (Preview, $0.99/$1.49, 131k ctx/40k max output) - live on inference-docs.cerebras.ai, not previously in the catalog Every field independently verified via 2+ live sources (provider docs + pricing pages) before adding; no code changes needed since both providers use generic OpenAI-compatible completions with no per-model special-casing. * fix(models): add verified releaseDate for groq/qwen/qwen3.6-27b Greptile correctly caught that omitting releaseDate causes this model to sort last within the Groq section in the model picker (orderModelIdsByReleaseDate treats a missing date as Number.NEGATIVE_INFINITY) - misleading since it's actually the newest model in the lineup. Verified 2026-04-21 (Qwen's own upstream release date, matching this repo's existing convention of using the model creator's release date rather than a reseller-specific date) via llm-stats.com, cross-checked against two other independent sources. --- apps/sim/providers/models.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/apps/sim/providers/models.ts b/apps/sim/providers/models.ts index 35dc90369a..86912dda87 100644 --- a/apps/sim/providers/models.ts +++ b/apps/sim/providers/models.ts @@ -2211,6 +2211,20 @@ export const PROVIDER_DEFINITIONS: Record = { contextWindow: 131072, releaseDate: '2025-12-22', }, + { + id: 'cerebras/gemma-4-31b', + pricing: { + input: 0.99, + output: 1.49, + updatedAt: '2026-07-10', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + maxOutputTokens: 40000, + }, + contextWindow: 131072, + releaseDate: '2026-04-02', + }, ], }, groq: { @@ -2282,6 +2296,20 @@ export const PROVIDER_DEFINITIONS: Record = { }, contextWindow: 131072, releaseDate: '2025-04-29', + deprecated: true, + }, + { + id: 'groq/qwen/qwen3.6-27b', + pricing: { + input: 0.6, + output: 3.0, + updatedAt: '2026-07-10', + }, + capabilities: { + maxOutputTokens: 32768, + }, + contextWindow: 131072, + releaseDate: '2026-04-21', }, { id: 'groq/llama-3.1-8b-instant', @@ -2322,6 +2350,7 @@ export const PROVIDER_DEFINITIONS: Record = { }, contextWindow: 131072, releaseDate: '2025-04-05', + deprecated: true, }, { id: 'groq/moonshotai/kimi-k2-instruct-0905',