OpenAI 兼容
面向开发者的无审查 AI API
通过标准的 OpenAI 兼容 API 部署无限制 LLM,支持 100,000 个 token 的上下文窗口和透明的按 token 定价。
- 100,000 token 上下文窗口
- 每百万输入 token 0.15 美元
- 无需绑定信用卡即可试用
进行一次调用进行测试
curl https://api.aiunmoderated.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Summit meeting notes from today"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.aiunmoderated.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.aiunmoderated.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);- 每 1M 输入令牌
- $0.15
- 输出令牌 / 1M
- $0.50
- 令牌上下文
- 100,000
- 试用信用额度
- $0.50
- 每分钟请求数
- 300
无审查 AI API:含义与风险
来自 Reddit 的无审查 AI 聊天,部署到你自己的服务器