#1
Vercel AI Gateway
models.global_route 🟢 211ms 🎁 팀당 매월 $5 무료 혜택 (매월 갱신) (Vercel 글로벌 Anycast 엣지 네트워크)
텍스트, 이미지, 오디오, 비디오를 완벽 지원하는 Google의 1M 초대형 컨텍스트 멀티모달 모델.
실시간 가동 상태 및 최저 지연 시간 순으로 정렬됩니다. 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="gemini-2.5-flash",
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": "gemini-2.5-flash",
"messages": [
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7
}'