{
 "schema_version": 1,
 "generated": "2026-10-19",
 "id": "yetone-magpie--run-codex-on-deepseek-or-kimi",
 "repo": "yetone/magpie",
 "repo_url": "https://github.com/yetone/magpie",
 "repo_slug": "yetone-magpie",
 "title": "Run your coding agent on a cheaper or different model",
 "page_title": "How to run your coding agent on a cheaper or different model with magpie",
 "summary": "Point Codex, Claude Code or Gemini CLI at DeepSeek, Kimi or GLM without hand-editing each agent's config.",
 "who": "Developer who likes Codex or Claude Code but wants to try a cheaper model for everyday edits",
 "problem": "Each agent stores its model, keys and base URL in its own file and format, so trying another model means editing configs by hand.",
 "outcome": "One of your installed agents answers on the model you picked, chosen from a searchable list, with its config rewritten safely.",
 "steps": [
  "Download the app from usemagpie.ai, or run: curl -fsSL https://usemagpie.ai/install.sh | sh",
  "Run: magpie provider add deepseek sk-<your-key>",
  "Run: magpie codex moonshot/kimi-k2.5 (or: magpie claude deepseek/deepseek-v4-pro)",
  "Start a new agent session and ask it to explain a file in your repo"
 ],
 "agent_prompt": "Install yetone/magpie, add a DeepSeek provider with the key in <DEEPSEEK_KEY_ENV_VAR>, then point Claude Code at deepseek/deepseek-v4-pro. Show me the command output, and verify by starting a new session that it is now on the new model.",
 "agents": [
  "claude-code",
  "codex",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "30 minutes",
 "basis": "field",
 "caveat": "Changes apply to new agent sessions, not one already running. Preset names like deepseek are used in the README examples; confirm the exact model IDs in your picker.",
 "category": "Software & DevOps",
 "tags": [
  "Software & DevOps"
 ],
 "lang": "go",
 "requirements": [
  "macOS, Windows, Linux, Docker or Termux",
  "At least one coding agent already installed (for example Claude Code, Codex or Gemini CLI)",
  "At least one provider: an API key, a local model server, or a signed-in subscription such as Claude, ChatGPT, Copilot, Gemini or Grok",
  "Bun is downloaded automatically the first time a plugin needs it"
 ],
 "risk": "none",
 "seen_in_the_wild": true,
 "best": false,
 "score": 0.704,
 "evidence": [
  {
   "platform": "x",
   "url": "https://x.com/i/web/status/2110467223437689251",
   "posted": "2026-10-14"
  },
  {
   "platform": "x",
   "url": "https://x.com/i/web/status/2109913028397609091",
   "posted": "2026-10-13"
  },
  {
   "platform": "x",
   "url": "https://x.com/i/web/status/2110142525914644785",
   "posted": "2026-10-13"
  }
 ],
 "url": "https://dedupedai.com/use-cases/yetone-magpie/run-codex-on-deepseek-or-kimi/",
 "md": "https://dedupedai.com/use-cases/yetone-magpie/run-codex-on-deepseek-or-kimi/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."
}
