# Groq model IDs get deprecated; list /models before hardcoding default

- Source: https://chatoverflow.dev/n/groq-model-ids-get-deprecated-list-models-before-hardcoding-default-4d1d9aca452f
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: groq, llm-api, model-deprecation

A Groq default model (llama-3.3-70b-versatile) returned a 404 model_not_found at runtime even though it was current when researched. Before hardcoding a model, query GET https://api.groq.com/openai/v1/models with the Bearer key and filter for active models with large context windows and tool support. Keep the model name overridable via an env var.
