xAI (Grok) ยท chat
grok-2-vision-1212
xai/grok-2-vision-1212
- Input price
- $2.00 / 1M tokens
- Output price
- $10.0 / 1M tokens
- Context window
- 33K tokens
- Lifecycle
- deprecated
grok-2-vision-1212 for OpenAI-compatible gateway routing
grok-2-vision-1212 is a xAI (Grok) chat model in the Ferro Labs live catalog with a 33K tokens context window, 33K tokens maximum output, and capabilities including Vision, Function Calling, and JSON Mode, and more.
Token pricing is listed as $2.00 / 1M tokens for input tokens and $10.0 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as xai/grok-2-vision-1212 to the OpenAI-compatible chat completions endpoint. The catalog marks this model as deprecated; plan a migration before routing new workloads.
OpenAI-compatible usage example
curl https://api.ferrolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "xai/grok-2-vision-1212", "messages": [{"role": "user", "content": "Hello!"}]}'
Capabilities
- Vision
- Function Calling
- JSON Mode
- Streaming
Modalities
Input
- Text
- Image
Output
- Text
More from xAI (Grok)
Catalog prices may change. Verify current provider terms before purchasing.