Set up once
Enter your key and pick a model below. Every config block across these pages fills itself in with your real values, and the button runs a live request so you know the key works before you paste anything into an editor. Get a key from the dashboard. See API keys for scopes and rotation.Which endpoint
Two endpoints, depending on what the tool speaks:
Most tools want the first. Claude Code wants the second.
Pick your tool
Claude Code
CLI and VS Code extension
Cursor
Model override in settings
opencode
Custom provider block
GitHub Copilot
Custom endpoint in VS Code
Cline
VS Code agent
Roo Code
VS Code agent
Kilo Code
VS Code agent
Zed
Editor with built-in agent
aider
Terminal pair programmer
goose
Block’s terminal agent
Vercel AI SDK
Build your own agent
Verify before you configure
If a tool misbehaves, check the API directly first. This is the same request every tool above makes: List every model your key can reach:Choosing a model
Full list at active models, or call
/models above.
Model IDs are case-insensitive. Tools that reject
/ in model names accept the slash-free form, so z-ai-glm-5.2 resolves to z-ai/glm-5.2.Context windows
The/models response does not report context window sizes. Tools that ask you to set Context Window or Max Output Tokens by hand (Cline, Roo Code, Kilo Code, Zed) need those numbers from the active models page.
