Skip to content
rawroute

xAI Grok. 6 款模型低于官方价。

Grok 实时报价表

模型ID官方标价OpenRouter +5.5%rawroute节省
Grok 4.7grok-4.7$2.00 / $6.00$2.11 / $6.33$1.00 / $3.00-50%
Grok Imagine Image Quality1K · 每张图grok-imagine-image-quality$0.05—$0.042-16%
Grok Imagine Image 2.0每张图grok-imagine-image-2.0$0.04—$0.035-12%
Grok Imagine Video 1.5480p–1080p · 每秒grok-imagine-video-1.5$0.08—$0.04–$0.12-50%
Grok STT每小时grok-stt$0.10—$0.08-20%
Grok TTS每千字符grok-tts$0.015—$0.012-20%

快速接入示例

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.rawroute.dev/v1",  # the only line you change
    api_key=os.environ["RAWROUTE_API_KEY"],
)

reply = client.chat.completions.create(
    model="grok-4.7",
    messages=[{"role": "user", "content": "Summarise this contract."}],
)
print(reply.choices[0].message.content)

常见问题

在 rawroute 调用 Grok API 能省多少钱?

rawroute 全线 xAI 模型均低于官方标价且 0% 充值手续费(OpenRouter 额外收取 5.5% 充值费)。

是否支持 xAI 原生接口协议?

支持。可直接使用 /v1/chat/completions 与官方模型 ID(如 grok-4.7)。