← All docs

Claude Code / Anthropic SDK

anthropic-native integration via ANTHROPIC_BASE_URL.

We provide an Anthropic Messages compatible /v1/messages, so anthropic-native tools work as-is.

export ANTHROPIC_BASE_URL=https://api.everyais.com
export ANTHROPIC_API_KEY=everyais_your_api_key

Do not include /v1 in the base URL — the SDK appends /v1/messages itself.

Claude Code calls POST /v1/messages/count_tokens before a request. This call is not billed and does not go out to the upstream provider.