API ReferenceAnthropic
Anthropic-compatible API
Use Anthropic Messages through AnyRoute.
The Anthropic-compatible API is the primary path for Claude Code and clients that send Anthropic Messages requests.
| Topic | Page |
|---|---|
| Send messages | Messages |
| Count prompt tokens | Count Tokens |
| List available models | Models |
| Query usage | Usage |
Use https://anyroute.io as the base URL. The same /v1/messages route can also bridge to OpenAI and Gemini provider groups when the key is assigned to those groups.
AnyRoute Docs