Skip to content

fix(groq): gpt-oss models take low, medium or high reasoning effort - #416

Merged
brunobuddy merged 1 commit into
mainfrom
fix/groq-gpt-oss-reasoning-effort
Oct 16, 2026
Merged

brunobuddy merged 1 commit into
mainfrom
fix/groq-gpt-oss-reasoning-effort

Conversation

@brunobuddy

Copy link
Copy Markdown
Member

groq/gpt-oss-20b and groq/gpt-oss-120b listed reasoning_effort as none | default (default default). Those are Qwen values on Groq. For the gpt-oss models Groq accepts only low, medium or high, defaults to medium, and returns a 400 for anything outside that set. So a client trusting the catalog would send "none" and get rejected.

Sources:

Changes:

  • models/groq/gpt-oss-20b.yaml, models/groq/gpt-oss-120b.yaml: reasoning_effort values [low, medium, high], default medium. Description matches the openai/gpt-oss-* entries.
  • Regenerated the npm and Python package catalogs.

I left gpt-oss-safeguard-20b alone. Its model page mentions low/medium/high effort in prose, but the reasoning docs list only 20B and 120B as supporting the parameter.

Verified with npm run validate, lint, typecheck, test, build and guard:params, plus the modelparams package's typecheck/build/test/test:types and the Python package's mypy and pytest. All pass.

Groq's gpt-oss-20b and gpt-oss-120b listed reasoning_effort as
none|default (default "default"), which are Qwen-only values. Groq
accepts low, medium or high on these models, defaults to medium and
rejects anything else with a 400.

https://console.groq.com/docs/reasoning
https://console.groq.com/docs/api-reference
@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modelparams.dev Ready Ready Preview Oct 16, 2026 8:30am UTC

Request Review

@github-actions github-actions Bot added the model Add a model that's missing label Oct 16, 2026
@brunobuddy
brunobuddy merged commit e5e3bba into main Oct 16, 2026
13 checks passed
@brunobuddy
brunobuddy deleted the fix/groq-gpt-oss-reasoning-effort branch October 16, 2026 11:13

This branch was successfully deployed

1 active deployment
Preview — 548fde72 Deployed Oct 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model Add a model that's missing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant