X Ai model
Grok 4.20 Reasoning
Grok 4.20 Reasoning So sanh gia API, nha cung cap, do dai context, kha nang, use case, do tre va cac lua chon thay the. General chat via X Ai, API workloads. $0.181 / 1M tokens / $0.362 / 1M tokens. — tokens.
Streaming
Grok 4.20 Reasoning trong NextModel la gi?
Grok 4.20 Reasoning So sanh gia API, nha cung cap, do dai context, kha nang, use case, do tre va cac lua chon thay the. General chat via X Ai, API workloads. $0.181 / 1M tokens / $0.362 / 1M tokens. — tokens.
Use case tot nhat
- General chat via X Ai
- API workloads
Vi du tuong thich OpenAI
Giu nguyen kieu SDK OpenAI, tro base_url toi NextModel va dung ID catalog x-ai--grok-4.20-reasoning.
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-reasoning",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)Lua chon thay the tuong tu
X AiCatalog
Available through the NextModel gateway via X Ai.
Best forGeneral chat via X Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
X AiCatalog
Available through the NextModel gateway via X Ai.
Best forGeneral chat via X Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
X AiCatalog
Available through the NextModel gateway via X Ai.
Best forGeneral chat via X Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
FAQ