§ LLMS.FREERUN LOCALLYVERIFIED 2026

Jan AI Setup: Offline Chat App With a Local API

Jan is an open-source, AGPL-3.0 offline desktop chat app for Windows, macOS and Linux that runs GGUF and Apple Silicon MLX models locally. Store every chat and weight file in plain local folders and toggle its built-in OpenAI-compatible Local API Server on port 1337.

# download the universal .dmg from jan.ai or install with Homebrew
brew install --cask jan
§ 01 · LOCAL-FIRST STORAGEPLAIN DATA FOLDER & HUBAGPL-3.0 OPEN SOURCE

Local-First Architecture and Jan Data Folder

Jan is built as an open-source, offline-first ChatGPT alternative: no account sign-in is required, and all conversations, assistant presets and downloaded GGUF/MLX model files live in a single readable Jan Data Folder that you can back up or move to an external drive anytime under Settings → General → Jan Data Folder.

Default Jan Data Folder locations by operating system
Operating SystemDefault Jan Data FolderModel Management
macOS~/Library/Application Support/Jan/data/Hub to download · Settings → My Models to delete
Linux~/.local/share/Jan/data/Hub to download · Settings → My Models to delete
Windows%APPDATA%\Jan\data\Hub to download · Settings → My Models to delete
§ 02 · LOCAL API SERVER127.0.0.1:1337/V1OPENAI SDK COMPATIBLE

Enabling the Local API Server on Port 1337

To call your downloaded Jan models from Python, curl or IDE extensions, open Settings → Local API Server, pick a downloaded model under Default Model and click Start Server. Jan binds an OpenAI-compatible server to http://127.0.0.1:1337/v1.

import os
from openai import OpenAI

client = OpenAI(
    base_url="http://127.0.0.1:1337/v1",
    api_key="ollama",
)
r = client.chat.completions.create(
    model="llama3.2-3b-instruct",
    messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)

Server won't start? Make sure a downloaded model is selected under Default Model Local API Server before clicking Start Server, and confirm no other app is already bound to port 1337.

§ 03 · DESKTOP CHOICEJAN VS LM STUDIOOPEN SOURCE VS PROPRIETARY

Jan vs LM Studio for Desktop Offline Chat

Both Jan and LM Studio run GGUF and Apple Silicon MLX models offline inside a polished desktop app. Pick Jan if open-source (AGPL-3.0) licensing, inspectable plain-text chat folders and a clean ChatGPT-style interface matter most. Pick LM Studio if you need headless lms CLI automation and deeper per-layer inference tuning.

§ FAQCOMMON QUESTIONSANSWERS

Jan Questions

Is Jan Completely Free and Open Source?

Yes. Jan is 100% free, open-source software under the AGPL-3.0 license with no paid tiers required for local GGUF or MLX inference.

Does Jan Require an Account or Internet Connection?

No. You only need internet access to download models from Jan Hub or Hugging Face; once weights are on disk, Jan runs completely offline.

Why Will Jan Local API Server Not Start?

Select a downloaded model under Settings > Local API Server > Default Model before clicking Start Server, and check that port 1337 is free.

Can I Connect Jan to Cloud APIs Too?

Yes. Alongside offline GGUF and MLX models, Jan lets you configure external OpenAI-compatible API keys (such as Groq or OpenRouter) inside the same desktop chat app.