it's free*.ai

Vercel AI Gateway

Vercel AI Gateway 是一個 OpenAI 相容網址,背後是數百個模型,按供應商牌價計費、不加價。每個團隊每月有 $5 贈金,可用於 Free Tier 子集 —— GPT-OSS 120B、GPT-5.4 Mini、Gemma 4 31B、Gemini 2.5 Flash、Qwen 3.8 Flash Next、GLM 5.3 Flash、Kimi K2.7 Code、MiniMax M3、Nemotron 3 Super、Llama 4 Maverick、Grok 4.6、DeepSeek V3.2 Thinking。只要電子郵件,不要卡。基底網址 https://ai-gateway.vercel.sh/v1,環境變數 AI_GATEWAY_API_KEY。

Vercel AI Gateway 是一個 OpenAI 相容網址,背後是數百個模型,按供應商牌價計費、不加價。每個團隊每月有 $5 贈金,可用於 Free Tier 子集 —— GPT-OSS 120B、GPT-5.4 Mini、Gemma 4 31B、Gemini 2.5 Flash、Qwen 3.8 Flash Next、GLM 5.3 Flash、Kimi K2.7 Code、MiniMax M3、Nemotron 3 Super、Llama 4 Maverick、Grok 4.6、DeepSeek V3.2 Thinking。只要電子郵件,不要卡。基底網址 https://ai-gateway.vercel.sh/v1,環境變數 AI_GATEWAY_API_KEY。

贈金從第一次請求起算,每月更新。購買額外贈金後,每月 $5 會停止 —— 你就到了付費檔。免費檔請求按模型限速(突發會 429)。Claude Opus/Sonnet 5、Gemini 3.7 和 GPT-5.6 不在該子集中。即時篩選見 vercel.com/ai-gateway/models?freeTier=true。

免費模型
12
最大上下文
1M
免費額度
每月 $5 贈金
註冊要求
只要電子郵件,不要卡

端點

基底網址https://ai-gateway.vercel.sh/v1
環境變數AI_GATEWAY_API_KEY
速率限制Per-model caps on the free tier; 429 if you burst

程式碼範例

npm install openai
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://ai-gateway.vercel.sh/v1',
  apiKey: process.env.AI_GATEWAY_API_KEY
})

const response = await client.chat.completions.create({
  model: 'openai/gpt-oss-120b',
  messages: [{ role: 'user', content: 'Explain closures in one paragraph.' }]
})

console.log(response.choices[0].message.content)

值得注意

你能免費使用的模型12