Skip to content
provod.ai
RU

Anthropic Messages compatibility

Configure Claude Code for the provod.ai Messages endpoint

Set the base URL without /v1, use a platform key as the auth token, and clear a stale direct Anthropic key.

Terminal environment → Messages endpoint → selected model

Quick check in the current terminal

This setup is testable in one shell. Claude Code appends /v1/messages itself.

bash
export ANTHROPIC_BASE_URL="https://api.provod.ai"
export ANTHROPIC_AUTH_TOKEN="sk_..."
unset ANTHROPIC_API_KEY

claude --model claude-sonnet-4-6

Claude Code setup checks

Verify configuration safely before starting a coding session.

Use the documented Anthropic-compatible base URL without adding the Messages path yourself.

Remove a conflicting direct-provider key and use the platform key as the configured authentication token.

Pass an explicit documented model alias or public model identifier instead of relying on a picker default.

Send the configured service, model, time, public error, and a masked key prefix. Never include a full key or sensitive prompt content.

Read the full FAQ