Skip to main content

Grok 4.7 is xAI's chat model behind an OpenAI-compatible call with SSE streaming. It takes a 500,000-token context and replies up to 450,000 tokens, with reasoning effort from low to xhigh; no filter is added on this platform.

Input $2Output $6per 1 million tokensCached input $0.50Prompts of 200K tokens or moreInput $4Output $12

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • Input types
    Text
    Output types
    Text
    Input
    $2 / 1 million tokens
    Cached input
    $0.50 / 1 million tokens
    Output
    $6 / 1 million tokens
    Context
    500K
    Max output
    450K

    $2/6per 1 million tokens · input / output

    noir-navigator

    Persona, point of view and turn length set once in the system message, effort down to low: the starting point for roleplay and long-form fiction.

    • 1500
    • 0.9
    • low
  • Input types
    Text
    Output types
    Text
    Input
    $2 / 1 million tokens
    Cached input
    $0.50 / 1 million tokens
    Output
    $6 / 1 million tokens
    Context
    500K
    Max output
    450K

    $2/6per 1 million tokens · input / output

    evaluation-plan

    A plain text request at default effort, for when the material is already written down.

    • 3000
    • 0.3
    • high
  • Input types
    Text
    Output types
    Text
    Input
    $2 / 1 million tokens
    Cached input
    $0.50 / 1 million tokens
    Output
    $6 / 1 million tokens
    Context
    500K
    Max output
    450K

    $2/6per 1 million tokens · input / output

    screenshot-triage

    Two image_url parts at detail high beside the question, in one user turn.

    • 2000
    • 0.2

This example starts at Input $2 / Output $6 per 1 million tokens. The Playground updates the estimate when you change the settings.