Skip to content

Add Groq and Cerebras as free LLM providers#9

Open
Asad-Ismail wants to merge 3 commits intomainfrom
add-groq-cerebras-llm
Open

Add Groq and Cerebras as free LLM providers#9
Asad-Ismail wants to merge 3 commits intomainfrom
add-groq-cerebras-llm

Conversation

@Asad-Ismail
Copy link
Copy Markdown
Owner

Summary

  • Add Groq and Cerebras as LLM provider options. Both offer generous free tiers and are OpenAI-compatible, so they reuse the existing OpenAI client code path.
  • Groq: 14,400 requests/day free, default model llama-3.3-70b-versatile
  • Cerebras: 1M tokens/day free, default model llama-3.3-70b

Changes

  • app/services/llm.py -- provider routing for groq and cerebras
  • config.example.toml -- API key, base URL, and model name config entries
  • webui/Main.py -- dropdown options and help text with free tier details

Test plan

  • Set llm_provider = "groq" with a valid API key, generate a video script
  • Set llm_provider = "cerebras" with a valid API key, generate a video script
  • Verify both appear in the webui dropdown with correct help text

Both are OpenAI-compatible, so they reuse the existing OpenAI client
code path with their own base URLs and config keys.
Includes API key, base URL, and default model for each. Both
are free-tier providers.
Includes help text with free tier limits and links to get API keys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant