Skip to content
ModelsRankingsChatDocsPricing
~x

xAI: Grok Latest

~x-ai/grok-latest

Available~x-aitext inimage infile intext out

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

Context

500K

tokens in

Max output

450K

tokens out

Price

$2.00 / $6.00

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "~x-ai/grok-latest",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="~x-ai/grok-latest",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p