Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Groq Python SDK

Official Python client library for the Groq API, enabling fast LLM inference with Groq's language processing units.

Model SDKs PyPI Apache-2.0

Used in agent projects
23
0.2% of 12,697 public repos built with AI coding agents
Rank in model sdks
#15 of 15
by use in those projects
Downloads
3.8M
PyPI, last 7 days, groq
GitHub stars
621
last push Sep 4, 2026

How Groq Python SDK is used

Groq Python SDK is a dependency in 23 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #15 of 15 in model sdks. The most used alternative there is OpenAI. Projects that use it most often also use python-dotenv (82.6%), OpenAI Python Library (73.9%), Requests (73.9%).

Often used with Groq Python SDK

python-dotenv82.6% of Groq Python SDK projects · 12.7× more than average
OpenAI Python Library73.9% of Groq Python SDK projects · 38.5× more than average
Requests73.9% of Groq Python SDK projects · 13.9× more than average
NumPy69.6% of Groq Python SDK projects · 18.1× more than average
Uvicorn56.5% of Groq Python SDK projects · 13.2× more than average
FastAPI52.2% of Groq Python SDK projects · 12.3× more than average
Google GenAI Python SDK52.2% of Groq Python SDK projects · 59.7× more than average
Pydantic52.2% of Groq Python SDK projects · 10.2× more than average

By coding agent

GitHub Copilot0.3% of projects set up for it
Cursor0.3% of projects set up for it
Claude Code0.2% of projects set up for it

Share of public repos configured for each agent that list Groq Python SDK as a dependency.

Install

Packagepip install groq
Main stacksPython (20), Next.js (3)
Example projectskr8tiv-ai/Jarvis

Alternatives to Groq Python SDK

All model sdks

Tool Used in agent projectsDownloads / wk GitHub starsLicense
OpenAI npm
Official TypeScript SDK for accessing OpenAI APIs including GPT and embeddings.
362 (2.9%) 43.2M 11.2K Apache-2.0
AI SDK npm
Vercel's unified SDK for building AI apps with OpenAI, Anthropic, Google and more.
328 (2.6%) 29.8M 27.2K Apache-2.0
Google Generative AI npm
Official SDK for Google Gemini API to build AI-powered applications.
258 (2.0%) 25.3M 1,686 Apache-2.0
OpenAI Python Library pypi
Official Python SDK to call OpenAI APIs including GPT models and embeddings.
244 (1.9%) 75.1M 31.8K —
Anthropic SDK npm
Official TypeScript SDK for calling Claude API and building agent applications.
211 (1.7%) 46.5M 2,136 MIT
Anthropic Python SDK pypi
Official Python library for calling Claude via the Anthropic API.
115 (0.9%) 40.9M 3,954 MIT
Google GenAI Python SDK pypi
Official Python SDK for Google's generative AI models including Gemini.
111 (0.9%) 34.1M 4,013 —
Hugging Face Hub pypi
Python client library for downloading and publishing models and datasets on Hugging Face.
59 (0.5%) 60M 3,974 Apache-2.0
Is Groq Python SDK right for your project? Ask AgentGid →