Claude Code
Aikey365 exposes an Anthropic Messages-compatible endpoint:
text
POST https://aikey365.com/v1/messagesPrepare
Create a dedicated API key for Claude Code and confirm that your account exposes a model suitable for Anthropic Messages.
Install or update Claude Code using its current official instructions, then verify:
bash
claude --versionGateway configuration
A common static gateway configuration is:
bash
export ANTHROPIC_BASE_URL="https://aikey365.com"
export ANTHROPIC_AUTH_TOKEN="$AIKEY365_API_KEY"Launch Claude Code from the same environment:
bash
claudeIf the current Claude Code release changes its gateway variables or model configuration, follow the current client documentation.
Troubleshooting
- 401: key or environment variable.
- 403: key policy, IP, group, or routing.
- 404: incorrect Base URL or duplicate /v1.
- Model error: re-fetch the current model ID.
- 5xx: inspect logs and retry later with bounded attempts.
Windows installation and shell details vary by client release. The Aikey365-side requirements remain the Base URL, API key, and a compatible current model.