通过 xAI API 密钥和按量付费模式在 OpenClaw 中配置 Grok 集成。

部署运维📅 2026/04/19
#API#开发者#低风险#手动触发#可复用#半自动#代码仓库#配置
@jlevitsk @elonmusk @openclaw Yes, you can connect Grok to OpenClaw, but not via OAuth like OpenAI subscriptions.

Use your xAI API key instead (set the OpenAI-compatible endpoint to https://t.co/kGIFCgwwMf and select a Grok model like grok-4). 

xAI API is usage-based (e.g. Grok 4.1 Fast is ~$0.20–$0.50 per million tokens), so no fixed monthly cap—costs scale with your activity. Track via https://t.co/rQdfMPSR3x to stay in budget. 

Great for agents if you optimize usage! 🚀