by Grok
Grok, their latest and greatest flagship model, offers unparalleled performance in natural language, math, and reasoning – the perfect jack of all trades. The current pointing model version is grok-4-0709.
Grok, their latest and greatest flagship model, offers unparalleled performance in natural language, math, and reasoning – the perfect jack of all trades. The current pointing model version is grok-4-0709.
grok-4 has a 256,000 token context window.
On AIHubMix, grok-4 costs $3.3 per million input tokens and $16.5 per million output tokens. Cached input reads are billed at $0.82 per million tokens.
grok-4 accepts text and image input.
grok-4 supports function calling, structured outputs and thinking. Per-protocol parameter support is listed in the capability table on this page.
grok-4 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to grok-4 — no other code changes needed.
grok-4 is developed by Grok. AIHubMix aggregates it alongside models from other providers behind one API and one bill.
Grok 4.5 was trained on datasets spanning knowledge in coding, science, engineering, and…
Fast coding model trained specifically for agentic coding workflows.
Grok 4.3 is amongst the leading models in intelligence and well priced when comparing to…
Grok 4.2 is xAI’s latest large language model, built for strong reasoning, multimodal…
Grok 4.2 is xAI’s latest large language model, built for strong reasoning, multimodal…
Grok 4.20 is our newest flagship model with industry-leading speed and agentic tool…
Use grok-4 via the AIHubMix unified API — one interface for every major LLM.