IDE Integration
Integrate Claude and OpenAI models with your IDE. Use Basic for Anthropic/Claude models and Codex for OpenAI/GPT models.
Quick Setup Map
Claude Code API works with clients that support either OpenAI-compatible mode or Anthropic-compatible mode with a custom base URL.
| Tool | Mode | Key group | Base URL |
|---|---|---|---|
| Cursor | OpenAI-compatible Claude | Basic | https://api.llmsrelay.com/v1 |
| Claude Code | Anthropic-compatible | Basic | https://api.llmsrelay.com |
| Cline / Roo Code | OpenAI-compatible Claude | Basic | https://api.llmsrelay.com/v1 |
| Kilo Code | Anthropic Messages + OpenAI Responses | Basic for Claude / Codex for OpenAI | https://api.llmsrelay.com/v1 |
| Continue | Anthropic-compatible | Basic | https://api.llmsrelay.com |
| OpenCode | Anthropic-compatible | Basic | https://api.llmsrelay.com |
Recommended Model IDs
claude-opus-4.7— flagship, 1M context (beta)claude-opus-4.7— most powerful at 200Kclaude-sonnet-4.6— best value for codingclaude-haiku-4.5— fastest
Restrict which IDE can use a key in Key Controls → IDE Restrictions.