Skip to content

Grok Latest

This model always redirects to the latest Grok model from xAI.

Per 1M tokens
$2.10 · $6.30
Context
500Ktokens
Supports
  • Reads images
  • Calls tools
  • Thinks before it answers
opencode.json
{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "~x-ai/grok-latest": { "limit": { "context": 500000, "output": 450000 } } }
    }
  }
}
Needs an API keyGet one

Pricing and limits

  • Cache read$0.525per 1M tokens
  • Max output450,000tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.