{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "yanun0323-whallm--local-codex-backend-on-mac",
 "repo": "yanun0323/Whallm",
 "repo_url": "https://github.com/yanun0323/Whallm",
 "repo_slug": "yanun0323-whallm",
 "title": "Point Codex at a local model on your Mac",
 "page_title": "How to point Codex at a local model on your Mac with Whallm",
 "summary": "Run Whallm's server on your Mac and send Codex requests to it instead of a hosted API.",
 "who": "A developer on an Apple Silicon Mac who wants Codex to use a model that runs on their own machine, for example to keep code prompts local.",
 "problem": "Codex is set up to call a hosted model, and the developer wants inference to stay on the Mac while still using the Codex client.",
 "outcome": "Codex sends its requests to Whallm at http://127.0.0.1:11434/v1 and receives answers from a model loaded on the Mac.",
 "steps": [
  "Download Whallm-macOS-arm64.zip from GitHub Releases, unzip it and open Whallm.app.",
  "Open Model, pick a model and select Download Model. Wait for the download to finish, resuming it if it stops.",
  "Open Server and select Start Server. The default address is http://127.0.0.1:11434.",
  "Add the provider block from the README to ~/.codex/config.toml, setting model to an API model ID such as deepseek-v4-flash-0731 or an Alias you set in Model to Advanced Settings.",
  "Restart Codex and send a short test prompt."
 ],
 "agent_prompt": "Work in the Whallm repo at yanun0323/Whallm. Confirm the Whallm server is running at http://127.0.0.1:11434 and that GET /v1/models lists the model ID <model-id>. Then check that ~/.codex/config.toml sets model_provider to deepseek-v4-ssd with base_url http://127.0.0.1:11434/v1 and wire_api set to responses, and report whether the file matches the README example.",
 "agents": [
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "3 hours",
 "basis": "readme",
 "caveat": "The first model download is very large, and the server keeps one model loaded and handles one request at a time, so Codex may wait on long prompts.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Apple Silicon Mac running macOS 15 or later",
  "64 GiB memory recommended, with more disk space than the chosen model's files (Qwen models about 118 to 119 GiB, DeepSeek V4.1 above 458 GiB)",
  "Fast internal, Thunderbolt or USB4 SSD",
  "Network access to download the Whallm release and model weights"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/yanun0323-whallm/local-codex-backend-on-mac/",
 "md": "https://dedupedai.com/use-cases/yanun0323-whallm/local-codex-backend-on-mac/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/yanun0323-whallm--local-codex-backend-on-mac.json",
 "api_version": "v1"
}
