API
Sign in to manage your API keys.
Use it from your agent
GPU Router is an MCP server. Claude Code, Codex and Cursor can call it with your API key.
Get a key
Sign in, then name a key on this page, select Create key and copy it. The key is shown once.
Add it to your agent
Claude Code: run in a terminalclaude mcp add --transport http gpu-router https://gpu-router.com/mcp --header "Authorization: Bearer <your key>"Then start claude and type
/mcp: gpu-router shows as connected. Added it before? Runclaude mcp remove gpu-routerfirst.Codex: runcodex mcp add gpu-router --url https://gpu-router.com/mcp --bearer-token-env-var GPU_ROUTER_API_KEYand in the shell that starts codex:
export GPU_ROUTER_API_KEY=<your key>Cursor: add to .cursor/mcp.json{ "mcpServers": { "gpu-router": { "url": "https://gpu-router.com/mcp", "headers": {"Authorization": "Bearer <your key>"} } } }Try it
list gpu-router samples
freecompare GPU prices for H100
freeroute the lora sample with a $1 budget
free, picks a GPU onlyrun the lora sample with a $1 budget and wait
a real run on your Modal account. Connect Modal under Connections first, otherwise it runs simulated
Everything the agent does appears under Jobs, Admin and Overview for the same account.