Repository navigation
fix(groq): replace the models api.groq.com retired - #593
Merged
di-sukharev merged 2 commits intoNov 13, 2026
Merged
Conversation
Groq has shut down the default model, llama3-70b-8192, and the other models in our Groq list, so requests naming them now fail. The Groq default and recommended model are now openai/gpt-oss-120b, and the Groq model list now offers Groq's named replacements, openai/gpt-oss-120b and openai/gpt-oss-20b. Duplicates are merged and llama-guard-3-8b is kept. Notice groq-retired-models-2026-08 about api.groq.com's API describes the change. It was read from a file and is not signed by the provider.
Owner
|
please handle the new default as a reasoning model; it currently ignores the reasoning token limit. |
Groq's openai/gpt-oss-* models, the new default and its replacement, are reasoning models: their reasoning counts toward the completion limit. When OCO_REASONING is not set, the Groq engine now sends max_completion_tokens with OCO_REASONING_MAX_TOKENS instead of max_tokens and the sampling parameters, and the diff splitting reserves that budget too. Other providers send the same requests as before, and an explicit OCO_REASONING still wins.
Contributor
Author
|
Thanks @di-sukharev, done in 62a8aeb. When I added a unit test for the Groq request. |
di-sukharev
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed in the API
Notice
groq-retired-models-2026-08aboutapi.groq.com's API describes this change, published 2026-06-17 and effective 2026-08-16. It is not signed byapi.groq.com: it was read from a file the person running Tiltmeter trusts.The notice's summary:
POST https://api.groq.com/openai/v1/chat/completions$.modelllama-3.1-8b-instantopenai/gpt-oss-20binstead$.modelllama3-70b-8192openai/gpt-oss-120binstead$.modelllama3-8b-8192openai/gpt-oss-20binstead$.modelgemma2-9b-itopenai/gpt-oss-20binstead$.modelgemma-7b-itopenai/gpt-oss-20binstead$.modelllama-3.1-70b-versatileopenai/gpt-oss-120binstead$.modeldeepseek-r1-distill-llama-70bopenai/gpt-oss-120binsteadThe notice's notes:
What this pull request changes
Groq has shut down the default model, llama3-70b-8192, and the other models in our Groq list, so requests naming them now fail. The Groq default and recommended model are now openai/gpt-oss-120b, and the Groq model list now offers Groq's named replacements, openai/gpt-oss-120b and openai/gpt-oss-20b. Duplicates are merged and llama-guard-3-8b is kept.
src/commands/config.tssrc/utils/errors.tsLeft for a human
This pull request was generated automatically by Tiltmeter from the unsigned notice
groq-retired-models-2026-08about api.groq.com's API. An AI agent (Claude Code with claude-opus-5-5) wrote these edits; review them like any other change.