Jan
Jan 是一个开源的、ChatGPT 形状的桌面应用,100% 离线运行。本地服务器在 localhost:1337/v1,OpenAI 兼容,编辑器可以像连 LM Studio 一样连它。
Jan 是一个开源的、ChatGPT 形状的桌面应用,100% 离线运行。本地服务器在 localhost:1337/v1,OpenAI 兼容,编辑器可以像连 LM Studio 一样连它。
下载、挑模型、对话。不需要账号。它的卖点是界面而不是新引擎 —— 底层还是你机器上的本地权重。
- 最大上下文
- Whatever your RAM allows
- 免费额度
- 无限且私密
- 注册要求
- 什么都不用 —— 无账号
端点
接口地址
http://localhost:1337/v1速率限制
None — it is your machine- OpenAI 兼容
- 文本
代码示例
npm install openaiimport OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'http://localhost:1337/v1',
apiKey: 'not-needed'
})
const response = await client.chat.completions.create({
model: 'llama3.3-70b',
messages: [{ role: 'user', content: 'Explain closures in one paragraph.' }]
})
console.log(response.choices[0].message.content)pip install openaifrom openai import OpenAI
client = OpenAI(
base_url="http://localhost:1337/v1",
api_key="not-needed",
)
response = client.chat.completions.create(
model="llama3.3-70b",
messages=[{"role": "user", "content": "Explain closures in one paragraph."}],
)
print(response.choices[0].message.content)curl http://localhost:1337/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "llama3.3-70b",
"messages": [{"role": "user", "content": "Explain closures in one paragraph."}]
}'你能免费使用的模型2
- Llama 3.3 70B
llama-3.3-70b - Qwen 3
qwen3