---
title: "Groq Integration"
sidebar:
  label: "Groq"
seo:
  title: "Groq Integration with Judgment | Model Provider Docs"
  description: "Use Judgment with Groq to capture model calls, trace agent behavior, and evaluate production AI systems."
---

{/* @test-flow
  id: provider-groq
  lang: python
  env: JUDGMENT_API_KEY, JUDGMENT_ORG_ID
  skip: Requires GROQ_API_KEY which is not available in CI
*/}

If you use Groq models within your application, you can trace, monitor, and analyze them with **Judgment** using [GroqInstrumentor](https://pypi.org/project/opentelemetry-instrumentation-groq/).

1. ### OpenTelemetry

    ```python
    from judgeval import Tracer
    # Make sure you installed the dependency: opentelemetry-instrumentation-groq
    from opentelemetry.instrumentation.groq import GroqInstrumentor

    Tracer.init(project_name="groq_project")
    Tracer.registerOTELInstrumentation(GroqInstrumentor())
    ```

> **Info**
>
> Groq uses an OpenAI-compatible API, so you can also use the OpenAI SDK with
> Groq's base URL and trace it using the [OpenAI
> integration](/documentation/integrations/model-providers/openai).
