按 Token 計費
無限 AI API: 無審查 文字 生成
取得用於文字生成的無審查 LLM API,具有透明的每 token 計費且無月費。使用我們的相容 OpenAI 端點進行串流輸出或呼叫工具,無內容審查限制。
- $0.15 / 1M 輸入 token
- $0.50 / 1M 輸出 token
- 無月費
curl https://api.unlimitedaiapi.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.unlimitedaiapi.com/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unlimitedaiapi.com/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);指南
關於接入、價格和整合的實用文章。
Unlimited AI API 請求:速率限制說明每月無請求上限,僅有速率限制。了解每分鐘 300 次請求與 8 個並行請求的意義,查看標頭,並正確重試 429 錯誤。
無限 AI API 免費:你真正得到什麼沒有 LLM API 同時具備無限與免費的特性。看看 $0.50 試用額度與每 1M token $0.15 的定價能為你帶來什麼,並附上聊天與批次工作的精確 token 計算。
最便宜的 AI API 成本:Token 計價與範例計算您的工作負載實際需要多少 AI API 成本:Token 計價公式、$0.15 與 $0.50 每百萬 token 的計算範例,以及降低帳單的方法。
LangChain 代理式 AI 文件:工具與 JSON 模式將 LangChain 指向 OpenAI 相容的端點,並使用函式呼叫、JSON 模式和串流輸出建立代理迴圈。含可運行的 Python 程式碼與常見陷阱。
Open AI API 定價: 生產環境 檢查清單提供便宜 LLM API,採按 token 計費模式。立即體驗無限制 AI API 服務。