Configure your AI tools to use 15code API
OpenAI's official coding agent, supports GPT-5.3-Codex model
Get your API Key from 15code.com Dashboard
Anthropic's official CLI tool, supports Claude Sonnet 4.6
Claude Code needs a bash shell at runtime (it invokes bash for file edits, command execution). On Windows that's provided by Git Bash. npm install works in PowerShell/CMD, but running claude requires Git Bash.
Option A Β· Direct download (most reliable)
Option B Β· winget
After install: Start menu β search Git Bash. Run all following commands in Git Bash.
Verify in Git Bash:
claude from PowerShell/CMD fails with "bash: command not found" or tool execution errors. Use Git Bash.ANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN tells Claude Code to use 15code directly β no OAuth login required, no --bare or similar flags.Get your API key from 15code Dashboard.
Replace sk-u-your-key with your real key, paste the whole block:
macOS: default shell is zsh β replace ~/.bashrc with ~/.zshrc (check with echo $SHELL)
Windows Git Bash: reads ~/.bashrc, use as-is
Linux: ~/.bashrc
$ (not >). If not, close and open Git Bash instead.ANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEY covers all cases.> prompt and Claude responds β you're set.Check env vars (each line should print a value):
If you've run claude /login before, clear cached OAuth:
Windows CMD: del "%USERPROFILE%\.claude\auth.json"
New keys take 1-2s to propagate. If it persists after 10s, verify the key at Dashboard β not disabled, fully copied (starts with sk-u).
Test reachability:
Popular AI-powered IDE, supports GPT-5.4 and Claude models
Visit cursor.sh to download
Open Cursor Settings (Cmd+,) β Models β OpenAI
Open-source AI coding assistant, supports multiple models