whichllm — Browse and compare AI model specs and pricing

FastRouter

Grok 4 model ID, context window & pricing

grok

Quick facts

Model ID x-ai/grok-4
Source FastRouter
Context Window 256000
Pricing $3.00 input / $15.00 output per 1M tokens
Capabilities tool calling, reasoning, temperature control

Model overview

Grok 4 is an AI model from FastRouter with 256000 token context window and text input support.

Published pricing is $3.00 input and $15.00 output per 1M tokens.

  • Workloads that use text inputs with text outputs.
  • Agent and tool workflows that need function calling.
  • Reasoning-heavy prompts where stepwise problem solving matters.
Model ID x-ai/grok-4
Provider FastRouter
Family grok
Status -
Knowledge Cutoff 2025-07
Release Date 2025-07-09
Input Modalities text
Output Modalities text
Context Window 256000
Input Limit -
Output Limit 64000
Tool Calling Yes
Reasoning Yes
Structured Output -
Temperature Control Yes
Open Weights No
Input Cost / 1M tokens $3.00
Output Cost / 1M tokens $15.00
Reasoning Cost / 1M tokens -
Cache Read Cost / 1M tokens $0.75
Cache Write Cost / 1M tokens $15.00