curl --location 'https://openai.qiniu.com/bypass/anthropic/v1/messages' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "claude-sonnet-4-6",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "2026年5月最新手机GPU性能排行"
}
]
}
],
"tools": [{"type": "web_search_20260209", "name": "web_search"}],
"max_tokens": 1024
}'{
"id": "string",
"type": "message",
"role": "assistant",
"model": "string",
"content": [
{
"type": "text",
"text": "string",
"citations": [
{
"type": "char_location",
"cited_text": "string"
}
],
"thinking": "string",
"signature": "string",
"data": "string",
"id": "string",
"name": "string",
"input": {},
"caller": {
"type": "string"
},
"file_id": "string"
}
],
"stop_reason": "end_turn",
"stop_sequence": "string",
"usage": {
"input_tokens": 0,
"output_tokens": 0,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"inference_geo": "string",
"service_tier": "standard",
"server_tool_use": {
"web_search_requests": 0,
"web_fetch_requests": 0
}
},
"container": {
"id": "string",
"expires_at": "string"
}
}