指南
關於接入、價格和整合的實用文章。
LLM 上下文視窗限制:在 100k token 範圍內操作此處的 LLM 上下文視窗限制為 100,000 token(含提示詞與回覆)。請查看這在頁面與對話輪次上的意義,並使用 Python 程式碼截斷歷史記錄。
角色扮演 LLM 系統提示詞:範本與陷阱實用的角色扮演 LLM 系統提示詞:三個範本、提示詞長度如何影響費用,以及如何透過 API 在長對話中保持角色穩定。
LLM 模型 API 開源:你實際得到什麼開放權重模型或託管 API?了解差異、自託管的取捨,以及按 token 計費的 OpenAI 相容端點如何居中定位。
Dolphin LLM: 神話 vs 事實開發者 NSFW API 選擇 Dolphin 模型 API 的原因。了解無審查 LLM 的 abliteration 與上下文視窗,立即開始測試。無審查 API
無審查 NSFW LLM API for 開發者
取得 OpenAI 相容的 API 端點,提供無拒絕的無審查文本。部署成人內容、角色扮演或無限制生成,無需管理 GPU。
- OpenAI 相容端點
- 每 1M 輸入 token $0.15
- 試用無需信用卡
一個請求即可試用
curl https://api.nsfwllm.cc/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.nsfwllm.cc/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.nsfwllm.cc/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 輸入 token
- $0.15
- 輸出 token / 1M
- $0.50
- token 上下文
- 100,000
- 試用額度
- $0.50
- 每分鐘請求數
- 300