{
 "kind": "tool",
 "slug": "groq",
 "path": "tools/groq/",
 "name": "Groq Python SDK",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Model SDKs",
   "tools/ai-sdks/"
  ]
 ],
 "lead": "Official Python client library for the Groq API, enabling fast LLM inference with Groq's language processing units.",
 "chips": [
  {
   "label": "Model SDKs",
   "path": "tools/ai-sdks/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install groq"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/groq/groq-python"
  },
  {
   "label": "Website",
   "href": "https://github.com/groq/groq-python"
  },
  {
   "label": "API page",
   "path": "apis/groq/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/groq/groq-python"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Sep 4, 2026",
   "note": "Latest GitHub release Aug 26, 2026. ",
   "src": "https://github.com/groq/groq-python"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "18 projects",
   "status": "info",
   "sub": "#19 of 92 in its category",
   "note": "Dependency in 18 public GitHub projects set up for AI coding agents that we scanned (0.3%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Groq Python SDK does",
   "parts": [
    {
     "t": "prose",
     "text": "Official Python client library for the Groq API, enabling fast LLM inference with Groq's language processing units."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Groq Python SDK popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "53",
       "of": "/ 100",
       "l": "Gid Score, #1682 overall"
      },
      {
       "n": "3.8M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "622",
       "l": "GitHub stars"
      },
      {
       "n": "18",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Groq Python SDK is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Groq Python SDK is a dependency in 18 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 417 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is OpenAI Python Library (248 projects).",
      "Projects that use it most often also use python-dotenv (85.6%), Pydantic (70.0%), Requests (69.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "9 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "7 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "5 projects, 1.5%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 85.6% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 70.0% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 69.8% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 68.8% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 61.6% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 60.9% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 57.8% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 52.3% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Groq Python SDK",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Model SDKs",
       "path": "tools/ai-sdks/",
       "items": [
        {
         "text": "OpenAI",
         "path": "tools/openai-npm/"
        },
        {
         "text": "AI SDK",
         "path": "tools/ai/"
        },
        {
         "text": "Anthropic SDK",
         "path": "tools/anthropic-ai/"
        },
        {
         "text": "Google Generative AI",
         "path": "tools/google-genai-npm/"
        },
        {
         "text": "Hugging Face Hub",
         "path": "tools/huggingface-hub/"
        },
        {
         "text": "LiteLLM",
         "path": "tools/litellm/"
        },
        {
         "text": "Transformers.js",
         "path": "tools/huggingface/"
        },
        {
         "text": "Pi-AI",
         "path": "tools/mariozechner-pi-ai/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Groq Python SDK",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 53",
        "3.8M/wk"
       ]
      },
      {
       "name": "OpenAI Python Library",
       "why": "Official Python SDK to call OpenAI APIs including GPT models and embeddings.",
       "path": "tools/openai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 86",
        "94.8M/wk"
       ]
      },
      {
       "name": "Anthropic Python SDK",
       "why": "Official Python library for calling Claude via the Anthropic API.",
       "path": "tools/anthropic/",
       "facts": [
        "Apache-2.0",
        "Gid 74",
        "51.5M/wk"
       ]
      },
      {
       "name": "Google GenAI Python SDK",
       "why": "Official Python SDK for Google's generative AI models including Gemini.",
       "path": "tools/google-genai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 73",
        "40.7M/wk"
       ]
      },
      {
       "name": "Ollama",
       "why": "Official Python client for running and interacting with local language models via Ollama.",
       "path": "tools/ollama-pypi/",
       "facts": [
        "MIT",
        "Gid 64",
        "2.9M/wk"
       ]
      },
      {
       "name": "Claude Agent SDK",
       "why": "Python SDK for Claude AI with agent capabilities and tool support.",
       "path": "tools/claude-agent-sdk/",
       "facts": [
        "MIT",
        "Gid 66",
        "10.3M/wk"
       ]
      },
      {
       "name": "OpenAI Agents SDK (Python)",
       "why": "Official SDK for building and running agents with OpenAI models.",
       "path": "tools/openai-agents-pypi/",
       "facts": [
        "MIT",
        "Gid 71",
        "5.2M/wk"
       ]
      },
      {
       "name": "DashScope SDK",
       "why": "Official Python client SDK for Alibaba DashScope API to call language models.",
       "path": "tools/dashscope/",
       "facts": [
        "Apache-2.0",
        "Gid 43",
        "339K/wk"
       ]
      },
      {
       "name": "Mistral AI SDK",
       "why": "Official Python SDK for the Mistral AI API to call Mistral language models.",
       "path": "tools/mistralai/",
       "facts": [
        "Apache-2.0",
        "Gid 50",
        "3.3M/wk"
       ]
      }
     ],
     "more": "Compare Groq Python SDK with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install groq"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Groq Python SDK yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi groq"
  ],
  [
   "Category",
   "Model SDKs"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "52.6"
  ],
  [
   "Rank in category",
   "#19 of 92"
  ],
  [
   "GitHub",
   "groq/groq-python"
  ],
  [
   "Last change",
   "Sep 4, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/groq.png"
}