| Configuration Item | Value |
|---|---|
| API Base URL | https://api.tokenhot.ai/v1 |
| Authentication | Bearer Token(API Key) |
| Get API Key | Tokenhot Console |
{
"id": "chat-example",
"object": "chat.completion",
"created": 1742448629,
"model": "gpt-5.4-mini",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Yes. Zhou Shuren is Lu Xun. His original name was Zhou Shuren, and his courtesy name was Yucai. He was an important writer, thinker, and revolutionary in modern Chinese literature."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 24,
"completion_tokens": 140,
"total_tokens": 164
}
}sk-your-tokenhot-api-key in the examples with your own API Key.base_url and api_key to migrate.