Authorization: Bearer ********************{
"model": "claude-opus-5-dc",
"messages": [
{
"role": "user",
"content": "一句话介绍你自己。"
}
]
}curl --location 'https://api.yuecloud.com/ai/v1/messages' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "claude-opus-5-dc",
"messages": [
{
"role": "user",
"content": "一句话介绍你自己。"
}
]
}'{
"id": "msg_vrtx_011Cew9Mu3whBG2BaV4REqhu",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "我是一个由 Anthropic 打造的 AI 编程助手(Claude 模型家族),可以帮你阅读代码、排查问题、编写和修改程序。"
}
],
"stop_reason": "end_turn",
"model": "claude-opus-5-dc",
"usage": {
"input_tokens": 56,
"cache_creation_input_tokens": 450,
"cache_read_input_tokens": 0,
"output_tokens": 59,
"cache_creation": {
"ephemeral_5m_input_tokens": 1450,
"ephemeral_1h_input_tokens": 0
},
"claude_cache_creation_5_m_tokens": 1450,
"claude_cache_creation_1_h_tokens": 0
}
}