OpenRouter model
Grok 4.20
SpaceXAI: Grok 4.20 Bandingkan harga API, penyedia, panjang konteks, kemampuan, use case, latensi, dan alternatif. image understanding, multimodal chat. $0.236 / 1M tokens / $0.47 / 1M tokens. 2M tokens.
StreamingTool callingJSON modeVisionLong context
Apa itu Grok 4.20 di NextModel?
SpaceXAI: Grok 4.20 Bandingkan harga API, penyedia, panjang konteks, kemampuan, use case, latensi, dan alternatif. image understanding, multimodal chat. $0.236 / 1M tokens / $0.47 / 1M tokens. 2M tokens.
Use case terbaik
- image understanding
- multimodal chat
Contoh kompatibel OpenAI
Pertahankan gaya SDK OpenAI, arahkan base_url ke NextModel, dan gunakan ID katalog x-ai--grok-4.20.
Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="x-ai/grok-4.20",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)Alternatif serupa
OpenRouterCatalog
This model always redirects to the latest model in the Claude Fable family.
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
OpenRouterCatalog
This model always redirects to the latest model in the Anthropic Claude Haiku family.
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
OpenRouterCatalog
This model always redirects to the latest model in the Claude Opus family.
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
FAQ