{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "niko1221-strata--use-a-local-model-in-claude-code-via-strata",
 "repo": "Niko1221/Strata",
 "repo_url": "https://github.com/Niko1221/Strata",
 "repo_slug": "niko1221-strata",
 "title": "Point Claude Code or Codex at a local model with strata connect",
 "page_title": "How to point Claude Code or Codex at a local model with strata connect with Strata",
 "summary": "Use Strata's OpenAI- and Anthropic-compatible APIs so your coding agent runs on your own GPU.",
 "who": "A developer who wants coding agent help on private code without sending it to a cloud API.",
 "problem": "Coding agents default to cloud models, which cost money per token and send your code off the machine.",
 "outcome": "Claude Code, Codex CLI or OpenCode talking to a model served by Strata on your machine.",
 "steps": [
  "Install Strata and start a model with `strata launch`",
  "Run `strata connect` to see the setup instructions for your tool",
  "Apply the settings for Claude Code, Codex CLI, OpenCode or another listed tool",
  "Pick the Coder pack from the Models docs if you mostly write code",
  "Run a small coding task and compare speed and quality with your cloud model"
 ],
 "agent_prompt": "Using Niko1221/Strata, start a local model, run strata connect, and configure <Claude Code or Codex CLI> to use it following the printed instructions. Then run a small refactor on <file> and report tokens per second.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Local models are slower than cloud APIs on most consumer GPUs; the README lists 4 to 25 tokens per second for DeepSeekV4.1 on single cards.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "c++",
 "requirements": [
  "Windows, Linux or macOS on supported hardware (NVIDIA RTX 20 to 50, recent AMD Radeon, Intel Arc on Linux, Apple Silicon M1 or newer)",
  "Plenty of free disk space; DeepSeekV4.1 sets need about 245 to 280 GB",
  "The model packs download on first run"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/niko1221-strata/use-a-local-model-in-claude-code-via-strata/",
 "md": "https://dedupedai.com/use-cases/niko1221-strata/use-a-local-model-in-claude-code-via-strata/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/niko1221-strata--use-a-local-model-in-claude-code-via-strata.json",
 "api_version": "v1"
}
