xai
xAI: Grok 4.6
xai/grok-4.6
Routed through the enroute gateway at the upstream list price. Last Labs does not add a markup.
Input / 1M
$2.00 / 1M
Output / 1M
$6.00 / 1M
Context
500K
Status
Available
Providers
Default is the first live US host. Pin a lab host with provider.only.
| Host | Region | Input / 1M | Output / 1M | Route |
|---|---|---|---|---|
| xai | us | $2.00 / 1M | $6.00 / 1M | Default |
Modalities
text+image->text
- Input
- text · image
- Output
- text
Parameters
- temperature
- top_p
- max_tokens
- tools
- stop
Use this model
from enroute import Enroute, Message
client = Enroute(
api_key="enroute_...", # ENROUTE_API_KEY
base_url="http://enroute.localhost:3000/v1",
)
response = client.chat(
model="xai/grok-4.6",
messages=[Message(role="user", content="Hello from Last Labs")],
)
print(response.text)