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.
This commit is contained in:
Waleed
2026-07-10 09:58:34 -07:00
committed by GitHub
parent 2986362b38
commit 8bf942407c
+29
View File
@@ -2211,6 +2211,20 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
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<string, ProviderDefinition> = {
},
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<string, ProviderDefinition> = {
},
contextWindow: 131072,
releaseDate: '2025-04-05',
deprecated: true,
},
{
id: 'groq/moonshotai/kimi-k2-instruct-0905',