← Back to all generators

xai/grok-4

Grok 4 is xAI’s most advanced reasoning model. Excels at logical thinking and in-depth analysis. Ideal for insightful discussions and complex problem-solving.

Capabilities

Max Tokens Top-P

Cost

Community model (estimated from hardware time)

Input Parameters

frequency_penalty number

Frequency penalty

Default: 0
max_tokens integer

The maximum number of tokens the model should generate as output.

Default: 2048
presence_penalty number

Presence penalty

Default: 0
prompt string

Prompt

Default: ""
temperature number

The value used to modulate the next token probabilities.

Default: 0.1
top_p number

Top-p (nucleus) sampling

Default: 1
Version: 08e47aa14634 Updated: 2/26/2026 46.3K runs