it's free*.ai

MLX

Apple’s array framework. On an M-series Mac it is the fastest way to run a model locally.

mlx-lm is Apple’s array framework pointed at language models. On an M-series Mac it is the fastest local path, because it uses unified memory instead of fighting for a discrete GPU.

Apple Silicon only. `mlx_lm.server --model mlx-community/Qwen3-8B-4bit` serves OpenAI-compat on localhost:8080/v1. Context is whatever your unified memory holds.

Max context
Whatever your unified memory allows
Free tier
Unlimited and private
Requirement
Nothing — no account

Endpoint

Base URLhttp://localhost:8080/v1
Rate limitNone — it is your machine

Code examples

npm install openai
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'http://localhost:8080/v1',
  apiKey: 'not-needed'
})

const response = await client.chat.completions.create({
  model: 'mlx-community/Qwen3-8B-4bit',
  messages: [{ role: 'user', content: 'Explain closures in one paragraph.' }]
})

console.log(response.choices[0].message.content)

Worth knowing

Models you get for free3