gpt-6-1-terra。该接口使用 Max Router 令牌;请求参数以本页字段及可选值为准。stream: true 时以事件流返回。模型支持的可选参数可能不同。Authorization: Bearer ********************{
"model": "gpt-6-1-terra",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}curl --location 'https://maxrouterai.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-6-1-terra",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'{
"id": "chatcmpl_example",
"object": "chat.completion",
"created": 1700000000,
"model": "model_example",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "你好!"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 10,
"completion_tokens": 3,
"total_tokens": 13
}
}