Every model request needs a valid API key. OpenAI-compatible requests use Authorization: Bearer. Anthropic Messages supports x-api-key together with the anthropic-version header.
Authorization: Bearer YOUR_API_KEY
# Anthropic Messages
x-api-key: YOUR_API_KEY
anthropic-version: 2023-06-01Create, disable or delete keys in the console. Use separate keys and quotas for separate applications. Revoke and replace a leaked key immediately. An account login token is not an API key.