Grok Latest

xAI chatreasoningtool_usevision Long

API ID: ~x-ai/grok-latest

Input Price
$2.00
/1M tokens
Output Price
$6.00
/1M tokens
Cached Input
$0.30
Save 85%

About Grok Latest

Grok Latest is a mid-range general-purpose model from xAI with ultra-long context (500k), suitable for conversations, content creation, and general AI tasks.

๐Ÿ’ฐ
Price Ranking
#1097 lowest price among 1240 Chat models

Model Specifications

Context Length
500k
Max Output
โ€”
Release Date
2026-07-08
Capabilities
chat reasoning tool_use vision
Input Modalities
textimagefile
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Simple Q&A (cheaper models available)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$2.70
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$84.00
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$117.00
/month
500 analyses/day, ~2k tokens each

xAI Model Lineup

Compare all models from xAI to find the best fit

Model Input Output Context Capabilities
Grok Latest Current Free Free 500k chat reasoning tool_use vision
Grok 2 Vision 1212 Free Free 33k chat vision
Grok 2 Vision 1212 Free Free 33k chat vision
Grok Vision Beta Free Free 8k chat vision
Grok Vision Beta Free Free 8k chat vision
Grok 2 Free Free 33k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Anthracite Org Magnum v4 72B
Input: $3.00
Output: $5.00
Context: 16k
Meta Llama 3.1 405B (base)
Input: $4.00
Output: $4.00
Context: 33k
Mistral Mixtral 8x22B Instruct
Input: $2.00
Output: $6.00
Context: 66k
Mistral Mistral Large 2411
Input: $2.00
Output: $6.00
Context: 131k

๐Ÿš€ Quick Start

Get started with Grok Latest API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="~x-ai/grok-latest",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)