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