Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
/v1/messages
curl https://api.highwayapi.ai/anthropic/v1/messages \ -H "x-api-key: $API_KEY" \ -H "anthropic-beta: context-1m-2025-08-07" \ -H "content-type: application/json" \ -d '{ "model": "claude-sonnet-4-20250514", "max_tokens": 1024, "messages": [ {"role": "user", "content": "Process this large document..."} ] }'
curl https://api.highwayapi.ai/anthropic/v1/messages \ -H "x-api-key: $API_KEY" \ -H "content-type: application/json" \ -d \ '{ "model": "claude-sonnet-4-20250514", "max_tokens": 16000, "thinking": { "type": "enabled", "budget_tokens": 10000 }, "messages": [ { "role": "user", "content": "Are there an infinite number of prime numbers such that n mod 4 == 3?" } ] }'