[FEATURE] Add first-class support for Groq API key and Groq-hosted models
Hi maintainer i would love to implementing this feature. Here's the details:
Is your feature request related to a problem? Please describe.
Strix currently only recognizes LLM_API_KEY / OPENAI_API_KEY as the LLM key (see LlmSettings.api_key in strix/config/settings.py), and the README + LLM Providers docs only call out OpenAI, Anthropic, Google/Vertex, Bedrock, Azure, and local models. There is no documented, first-class way to run Strix on Groq, even though Groq offers an OpenAI-compatible API with very fast inference for
open models (Llama 3.x, Kimi, gpt-oss, etc.). Users who already have a GROQ_API_KEY have to guess at env vars or fall back to undocumented workarounds.
Describe the solution you'd like Add first-class Groq support:
-
Accept
GROQ_API_KEYas an alias for the LLM key alongsideLLM_API_KEY/OPENAI_API_KEYinLlmSettings.api_key. -
Officially support
STRIX_LLM="groq/<model>".StrixProvideralready forward non-OpenAI prefixes to LiteLLM, and LiteLLM already ships agroq/provider, so this should mostly be validation + wiring rather than a new integration. -
Verify
_mirror_api_key_to_provider_envcorrectly maps the configured key toGROQ_API_KEYwhen agroq/model is selected. -
Document Groq in the README config section and the LLM Providers docs, including a couple of recommended Groq models and an example:
export STRIX_LLM="groq/llama-3.3-70b-versatile" export GROQ_API_KEY="gsk_..."
Thank you very much!