Grok API

Build, refine, and master agents using the xAI Grok API — OpenAI-compatible endpoint with grok-4.20 and grok-4-1-fast model families. Covers function calling, 2M context, multi-agent model, structured output, streaming, and cached inputs. Uses the OpenAI SDK with a base URL override. Fetches live docs from docs.x.ai. Use when building or debugging anything on xAI Grok.

JoshuaShepherd Updated 1 repo stars

File contents

JoshuaShepherd/my-skills/tree/main/claude/integrations/grok-api commit 570f24ba1d

Frequently asked questions

npx skillmds@latest add joshuashepherd/grok-api