SpaceXAI: Grok 4.20 在 NextModel 中是什么?
SpaceXAI: Grok 4.20 是 NextModel 目录中的 OpenRouter 模型,常用于 图像理解、multimodal chat 工作负载。当前展示价格为输入 $0.236 / 1M tokens、输出 $0.47 / 1M tokens 每 100 万 token,上下文窗口为 2M token。
适用场景
- 图像理解
- multimodal chat
OpenAI 兼容调用示例
保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID 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)相似替代项
OpenRouter目录
This model always redirects to the latest model in the Claude Fable family.
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
OpenRouter目录
This model always redirects to the latest model in the Anthropic Claude Haiku family.
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
OpenRouter目录
This model always redirects to the latest model in the Claude Opus family.
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
常见问题