Chat Completions
Send POST /v1/chat/completions with model, messages and an explicit max_tokens. The request uses JSON and a bearer key. Read choices[0].message.content from a successful non-streaming response. The quickstart includes complete cURL, Python and TypeScript examples. A price cap for a live operation is expressed in RUB through X-Max-Cost-Rub.
Anthropic Messages
curl -i https://api.anyllm.space/v1/messages \
-H "x-api-key: $ANYLLM_API_KEY" \
-H 'anthropic-version: 2023-06-01' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: messages-demo-01' \
-d '{"model":"demo-text","max_tokens":32,"messages":[{"role":"user","content":"Hello"}]}'For this basic text response inspect the content blocks and usage. The two endpoints have different response shapes. Check the actual client request before enabling advanced tool calls or streaming. Look up the request ID in history.