AONISDocs

Integrations

Claude Code

Claude Code has been manually tested with Claude Sonnet 5 through Aonis.

Verified

Install Claude Code

shell · Install
npm install -g @anthropic-ai/claude-code

Configuration

Use the Aonis API URL without /v1.

text · Linux / macOS: ~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.aonis.space",
    "ANTHROPIC_API_KEY": "YOUR_AONIS_API_KEY"
  },
  "model": "claude-sonnet-5"
}

text · Windows: C:\Users\YourUserName\.claude\settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.aonis.space",
    "ANTHROPIC_API_KEY": "YOUR_AONIS_API_KEY"
  },
  "model": "claude-sonnet-5"
}

Troubleshooting

Anthropic sign-in prompt

Create or overwrite ~/.claude.json on Linux/macOS or C:\Users\YourUserName\.claude.json on Windows.

json · Onboarding state
{ "hasCompletedOnboarding": true }

Personal session conflict

If a personal claude.ai session conflicts with the Aonis API key, run the following command and restart Claude Code.

shell · Logout
claude /logout

Force model selection

text · Claude Code command
/model claude-sonnet-5

Generate this configuration →