为什么选择 Grok Build 0.1?
专为 agentic 软件工程工作流打造的代码模型。
- 256K 上下文:装得下中大型代码库上下文。
- 常驻推理:每次回答前都先结构化分析,复杂多步任务更稳。
- 工具调用 / 结构化输出:天然契合自动化编码 Agent。
在 Vercel($5/月免 Key 额度)免费调用。模型 id:xai/grok-build-0.1。
Run Grok Build 0.1 (256K agentic coding) free on Vercel's $5/month keyless credit.
专为 agentic 软件工程工作流打造的代码模型。
在 Vercel($5/月免 Key 额度)免费调用。模型 id:xai/grok-build-0.1。
Grok Build 0.1(256K 上下文、常驻推理、agentic 编码)在 Vercel 每月 $5 额度内免 Key 调用。模型 id:xai/grok-build-0.1。
import { streamText } from 'ai';
const result = streamText({
model: 'xai/grok-build-0.1',
prompt: 'Refactor this function for readability and add tests.',
});curl https://ai-gateway.vercel.sh/v1/chat/completions \
-H "Authorization: Bearer $AI_GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"xai/grok-build-0.1","messages":[{"role":"user","content":"Refactor this function."}]}'