按 token 付费
open AI API 服务商
获取托管的无审查 API,仅需 $0.15 / 1M 输入 token。无月度订阅,无隐藏费用。
- 兼容 OpenAI 的 API
- 预付,支持加密货币
- $0 试用额度
一个请求即可试用
curl https://api.hereticllm.top/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.hereticllm.top/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.hereticllm.top/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);指南
关于接入、价格和集成的实用文章。
Heretic LLM Discord 机器人:使用 API 构建使用 discord.py 和 OpenAI 兼容 API 在 Python 中构建 Discord 聊天机器人:设置、系统提示词、频道记忆、速率限制及每条消息的成本。
Heretic LLM 审查:含义与变化语言模型拒绝行为的来源、如何从开放权重模型中移除、对你产生的实际影响,以及如何在依赖模型前进行测试。
LLM API 中的速率限制:重试、退避和实际成本LLM API 限制的工作原理、如何通过退避进行重试并限制并发,以及批量作业的成本:每 1M 输入 token 为 $0.15,每 1M 输出 token 为 $0.50。
无限制 AI 模型:无审查的成本分析无审查 LLM API 的成本与权衡。兼容 OpenAI,无拒绝,按 token 计费。立即比较价格。