> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phidata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Groq

## Example

<CodeGroup>
  ```python agent.py theme={null}
  from phi.agent import Agent
  from phi.model.groq import Groq

  agent = Agent(
      model=Groq(id="llama3-groq-70b-8192-tool-use-preview"),
      show_tool_calls=True,
      markdown=True,
  )

  agent.print_response("What is the stock price of NVDA and TSLA")

  ```
</CodeGroup>

## Groq Params

<Snippet file="model-groq-params.mdx" />

`Groq` is a subclass of the [Model](/reference/model/base) class and has access to the same params.
