Skip to content

[Bug]: Groq model deprecation not reflected in litellm #18043

@bjornjee

Description

@bjornjee

What happened?

/models endpoint shows deprecated groq models.

Example curl:

GET https://<litellm url>/v1/models

Response:

...
{
            "id": "groq/llama-guard-3-8b",
            "object": "model",
            "created": 1677610602,
            "owned_by": "openai"
        },
...

Error when performing chat/completion request:

"message": "litellm.BadRequestError: GroqException - {\"error\":{\"message\":\"The model `llama-guard-3-8b` has been decommissioned and is no longer supported. Please refer to https://console.groq.com/docs/deprecations for a recommendation on which model to use instead.\"

Relevant log output

What part of LiteLLM is this about?

SDK (litellm Python package)

What LiteLLM version are you on ?

v1.80.5-nightly

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDKbugSomething isn't workingdocsIssues related to LiteLLM documentationllm translation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions