Model API guides / Anthropic Claude
Anthropic Claude API integration
Anthropic model family
Use the Anthropic Messages format for Claude. Supply a model ID, messages, and a suitable max_tokens value, and set the protocol version header.
Check model access
Model availability depends on the channels enabled for your account and the scope of your TokenPilot key. Request the model list and copy an exact ID before calling the model.
curl "https://api.tokentpilot.com/v1/models" \
-H "Authorization: Bearer $TOKENPILOT_API_KEY"
Choose a compatible endpoint
/v1/messages
Claude Code uses the gateway origin without /v1. Confirm the gateway address with /status and test a basic Messages request before trying agent features.