Compare models

gpt-5.4-mini vs grok-4-2

Compare gpt-5.4-mini and grok-4-2 side by side: input and output price per 1M tokens, context window, endpoints, and pricing type on ZipFlow.

Modelgpt-5.4-miniCheaper inputgrok-4-2
ProviderOpenAIxAI
Context--
Input / 1M$ 0.36-
Output / 1M$ 2.16-
Cache / 1M$ 0.0072-
EndpointsChat, Response, Response, anthropic, gemini, openai-alpha-searchChat, Response, Response, anthropic, gemini, openai-alpha-search
Pricing typePer-tokenPer-request
gpt-5.4-mini vs grok-4-2 | ZipFlow