#1
ModelScope (알리바바)
직결 회선 🟢 144ms 🎁 공식 0원 전용관 · 매일 자동 보충 (32k 컨텍스트 · 每日自动重置)
바이두 첸판 공식 영구 무료 모델로 128K 대용량 문맥과 바이두 지식 베이스 검색 결합.
실시간 가동 상태 및 최저 지연 시간 순으로 정렬됩니다. 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="PaddlePaddle/ERNIE-4.5-300B-A47B-PT",
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": "PaddlePaddle/ERNIE-4.5-300B-A47B-PT",
"messages": [
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7
}'