#1
Volcengine (ByteDance 火山引擎)
中国直結 🟢 125ms 🎁 500,000 トークン無料枠進呈 (BGPバックボーン直結 · 超低遅延)
ByteDanceの自社開発フラッグシップモデル。自然な会話、知識検索、日本語を含むアジア言語の理解力に強み。
稼働率と低遅延順にランキング。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="doubao-1.5-pro-32k",
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": "doubao-1.5-pro-32k",
"messages": [
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7
}'