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.
cURL
curl --request POST \ --url https://api.qclawrouter.com/v1/messages
使用 Anthropic 原生格式调用 Claude 模型
base_url
import anthropic client = anthropic.Anthropic( base_url="https://api.qclawrouter.com", api_key="sk-your-api-key" ) message = client.messages.create( model="claude-sonnet-4-6", max_tokens=1024, messages=[ {"role": "user", "content": "Hello!"} ] ) print(message.content[0].text)