DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to serve a 35B MoE model locally behind an OpenAI-style API with Edge0

Install edge0, download the 35B checkpoint and start a local chat completions server.

Short answer: Create the environment: python3.12 -m venv .venv && .venv/bin/pip install -e '.[dev,fetch]'; then Fetch the model: .venv/bin/python scripts/fetch_models.py --tier edge0-35b --target-dir models; export EDGE0_35B_MODEL to the model folder and start the server with edge0 serve edge0-35b (or edge0 serve models/edge0-8b for the small tier). All steps.

Who it is forA Mac developer who wants a strong local model for apps and agents without a big GPU.

The problem35B-class models usually need far more memory than a laptop has.

The outcomeA local server at 127.0.0.1:8000 answering chat completions from Edge0-35B, with memory bounded by the active experts.

What you need first

  • Python 3.12 on macOS with Apple Silicon for the Python framework (MLX)
  • Disk space for the model checkpoints from Hugging Face or ModelScope
  • Native apps for macOS, iOS, Android and Windows live in their own directories

Steps

  1. Create the environment: python3.12 -m venv .venv && .venv/bin/pip install -e '.[dev,fetch]'
  2. Fetch the model: .venv/bin/python scripts/fetch_models.py --tier edge0-35b --target-dir models
  3. Export EDGE0_35B_MODEL to the model folder and start the server with edge0 serve edge0-35b (or edge0 serve models/edge0-8b for the small tier)
  4. Send a request to http://127.0.0.1:8000/v1/chat/completions with curl as in the README
  5. Point your app or agent at the local endpoint

Prompt for your agent

Set up Edge0-AI/Edge0 on this Mac, fetch the edge0-35b tier, start the local server, send a test chat completion with curl, and report decode speed and peak memory.

Caveat. The released models are previews, and the Python framework currently targets Apple Silicon with MLX; a CUDA backend is a reserved slot.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Edge0-AI/Edge0 and "Serve a 35B MoE model locally behind an OpenAI-style API"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer