{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "edge0-ai-edge0--serve-a-35b-moe-locally-with-edge0",
 "repo": "Edge0-AI/Edge0",
 "repo_url": "https://github.com/Edge0-AI/Edge0",
 "repo_slug": "edge0-ai-edge0",
 "title": "Serve a 35B MoE model locally behind an OpenAI-style API",
 "page_title": "How to serve a 35B MoE model locally behind an OpenAI-style API with Edge0",
 "summary": "Install edge0, download the 35B checkpoint and start a local chat completions server.",
 "who": "A Mac developer who wants a strong local model for apps and agents without a big GPU.",
 "problem": "35B-class models usually need far more memory than a laptop has.",
 "outcome": "A local server at 127.0.0.1:8000 answering chat completions from Edge0-35B, with memory bounded by the active experts.",
 "steps": [
  "Create the environment: `python3.12 -m venv .venv && .venv/bin/pip install -e '.[dev,fetch]'`",
  "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)",
  "Send a request to http://127.0.0.1:8000/v1/chat/completions with curl as in the README",
  "Point your app or agent at the local endpoint"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The released models are previews, and the Python framework currently targets Apple Silicon with MLX; a CUDA backend is a reserved slot.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/edge0-ai-edge0/serve-a-35b-moe-locally-with-edge0/",
 "md": "https://dedupedai.com/use-cases/edge0-ai-edge0/serve-a-35b-moe-locally-with-edge0/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/edge0-ai-edge0--serve-a-35b-moe-locally-with-edge0.json",
 "api_version": "v1"
}
