#1
텐센트 훈위안
직결 회선 🟢 138ms 🎁 공식 영구 0원 무료 · 256K 초장문 문맥 (텐센트 클라우드 직결 · 영구 무료)
텐센트 클라우드 공식 영구 무료 모델로 256K 장문 입력과 위챗 생태계 연동에 최적화.
실시간 가동 상태 및 최저 지연 시간 순으로 정렬됩니다. Model ID 원클릭 복사 및 Key 발급을 지원합니다.
OpenAI SDK 규격과 완벽 호환됩니다. API Key만 입력하면 Python 또는 cURL로 즉시 호출할 수 있습니다.
from openai import OpenAI
# 1. 替换为对应厂商领取的 API Key 与 Base URL (参见下方厂商雷达表)
client = OpenAI(
api_key="your_api_key_here",
base_url="https://api.siliconflow.cn/v1" # 示例: 硅基流动直连端点
)
response = client.chat.completions.create(
model="hunyuan-lite",
messages=[
{"role": "system", "content": "You are a helpful AI assistant."},
{"role": "user", "content": "Hello! Please introduce yourself briefly."}
],
temperature=0.6,
stream=True
)
for chunk in response:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
curl https://api.siliconflow.cn/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key_here" \
-d '{
"model": "hunyuan-lite",
"messages": [
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7
}'