OpenRouter model
Grok 4.20
SpaceXAI: Grok 4.20 So sanh gia API, nha cung cap, do dai context, kha nang, use case, do tre va cac lua chon thay the. image understanding, multimodal chat. $0.236 / 1M tokens / $0.47 / 1M tokens. 2M tokens.
StreamingTool callingJSON modeVisionLong context
Grok 4.20 trong NextModel la gi?
SpaceXAI: Grok 4.20 So sanh gia API, nha cung cap, do dai context, kha nang, use case, do tre va cac lua chon thay the. image understanding, multimodal chat. $0.236 / 1M tokens / $0.47 / 1M tokens. 2M tokens.
Use case tot nhat
- image understanding
- multimodal chat
Vi du tuong thich OpenAI
Giu nguyen kieu SDK OpenAI, tro base_url toi NextModel va dung ID catalog 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)Lua chon thay the tuong tu
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