Groq Chat Model icon

Groq Chat Model

Language Model Groq

Groq Chat Model

AI-generated

Summary

Generate text completions using a specified Groq language model with configurable parameters for output length, randomness, and reasoning presentation.

Inputs

  • Model (required) — Select the Groq model to generate the completion, loaded dynamically from the Groq API.
  • Options — Optional parameters to customize the completion including maximum token count, sampling temperature for randomness control, and various settings to include and format the model's reasoning steps.

Output shape

a single AI language model completion response object

Output includes generated text with possible reasoning as specified by options. Reasoning can appear as a separate message field, inline tags, or be omitted based on configuration.

Examples

Example 1: Generate a text completion with default model and settings.

Select model (default: openai/gpt-oss-20b), leave options as defaults, execute to receive a completion text.

Discussion