it's free*.ai

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

代码示例

npm install openai
import 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)

你能免费使用的模型2