Back to approved models

Approved model profile_

xAIactive

Grok 4

[Grok 4.1 Fast is xAI's best agentic tool calling model that shines in real-world use cases like customer support and deep research. 2M context window. Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. Learn more in our docs]

grok-4-0709
relay/request.mjsready to route
const completion = await client.chat.completions.create({
  model: "grok-4-0709",
  messages: [
    { role: "user",
      content: "Plan a multi-step task" }
  ]
});
policy checked provider selected
CONTEXT256K contextprompt window
MAX OUTPUT65Kper response
INPUT$3.00 / Mtoken price
OUTPUT$15.00 / Mtoken price

Route configuration_

Choose a supported call format.

Select a format below to view its documentation. Use the displayed converter route when calling through PipeLLM.

MODEL IDgrok-4-0709Use this in every request
GOVERNANCEPolicy controlledApprovals and tool rules apply
PROVIDER AVAILABILITY2 routes
ProviderContextMax outputDiscountInput / MOutput / M
X.AI256K context65K—$3.00 / M$15.00 / M
Grok AIN/AN/A—$3.00 / M$15.00 / M
Displayed pricing is per one million tokens and may vary by provider.
SUPPORTED SURFACESactive
input: textinput: imageoutput: texttool use

Relay governs model access with the same routing policy that Lens keeps visible and auditable.