--- id: langchain-groq version: "1.1.3" license: MIT license_treatment: permissive maintenance: active --- # langchain-groq — An integration package connecting Groq and LangChain License: permissive · Maintenance: active · Downloads: 2.3M/mo ## What it is and what it does langchain-groq is a LangChain integration package that bridges Groq's inference API with LangChain's language model interface. It allows developers to use Groq as a language model provider within LangChain applications, enabling chat completions and text generation tasks. The package wraps Groq's API client and exposes it through LangChain's standard chat model interface, making it easy to swap Groq in and out of existing LangChain workflows. The package depends on groq and langchain-core, both lightweight dependencies. It supports Python 3.10 through 3.14 and is marked as production-stable. With no known security vulnerabilities and active maintenance, it is suitable for production use in applications that need inference through Groq's API. Use it for: - Build a chatbot or conversational agent using Groq within a LangChain application. - Replace an existing LangChain language model provider with Groq to reduce latency in real-time inference tasks. - Integrate Groq into a multi-step LangChain pipeline for document processing or question-answering workflows. - Prototype language model applications quickly by using Groq through LangChain's unified interface. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Connects Groq's inference API to LangChain, enabling language model applications to use Groq as a provider for chat and text generation tasks. Yes. The package has low install friction, active maintenance, a permissive MIT license, and no known vulnerabilities. It integrates cleanly into LangChain workflows and is worth installing if you need inference through Groq's API within a LangChain application. ## Install pip install langchain-groq uv add langchain-groq poetry add langchain-groq ## Installing langchain-groq Before you install: Low friction install with only 2 runtime dependencies. Active maintenance with a recent release 65 days ago and an active repository. License in practice: MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions. Quickstart: pip install langchain-groq from langchain_groq import ChatGroq chat = ChatGroq() response = chat.invoke("Hello") Requires a Groq API key set in the environment to authenticate requests. Verify before relying: - What specific model names are available through the Groq integration. - Whether the package supports streaming responses or only batch inference. - What rate limits or usage quotas are enforced by Groq's API. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 2.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags groq langchain integration, groq language model provider, fast inference with langchain, groq chat completion, langchain groq llm, groq api wrapper, langchain provider integration, llm-integration, langchain-provider, inference-api [View on SkillFed](https://skillfed.io/packages/langchain-groq) · [View on PyPI](https://pypi.org/project/langchain-groq/)