111 Downloads Updated 1 week ago
ollama run hisparshmishra1/claude-coder-3b
ollama launch claude --model hisparshmishra1/claude-coder-3b
ollama launch opencode --model hisparshmishra1/claude-coder-3b
ollama launch hermes --model hisparshmishra1/claude-coder-3b
ollama launch openclaw --model hisparshmishra1/claude-coder-3b
Claude-Coder-3B is a fine-tuned 3B parameter coding specialist specifically trained and quantized to run vanilla, unmodified Claude Code CLI locally on consumer GPUs with under 4 GB VRAM (such as NVIDIA GeForce GTX 1650, RTX 3050, or modern integrated GPUs) natively inside Ollama—with zero external proxy bridges or middleware.
Claude Code is one of the most capable agentic coding CLIs available, but by default it routes to remote Anthropic APIs. Existing local setups typically require heavy 14B–32B models or complicated Python proxy middleware that crash on laptop GPUs.
Claude-Coder-3B solves this:
- Runs directly inside Ollama’s native /v1/messages endpoint.
- Fits 100% of all 35 transformer layers into 4 GB VRAM.
- Emits clean tool calls that Ollama’s internal AST parser processes instantly.
- Completely eradicates base model capability disclaimers (“I’m sorry, but I can’t create or run external website builds…”).
Make sure Ollama is installed and running:
ollama run hisparshmishra1/claude-coder-3b
Point Claude Code to your local Ollama instance:
$env:ANTHROPIC_BASE_URL = "http://localhost:11434"
$env:ANTHROPIC_AUTH_TOKEN = "ollama"
$env:ANTHROPIC_MODEL = "hisparshmishra1/claude-coder-3b"
export ANTHROPIC_BASE_URL="http://localhost:11434"
export ANTHROPIC_AUTH_TOKEN="ollama"
export ANTHROPIC_MODEL="hisparshmishra1/claude-coder-3b"
Always cd into a dedicated project folder first (e.g., my-project):
mkdir my-app
cd my-app
claude --tools "Bash,Edit,Read,Write" --dangerously-skip-permissions
Once your session launches, you can interact with Claude Code just like you would with remote models. Here are the most effective workflows:
Launch Claude Code in your project directory:
claude --tools "Bash,Edit,Read,Write" --dangerously-skip-permissions
You will enter the interactive prompt (>). Now you can type instructions naturally:
Building New Apps & Websites from Scratch:
> Build a modern dark-mode calculator. Create index.html, styles.css, and app.js with full calculation logic.
The model will automatically invoke Write to create each file on disk.
Inspecting & Modifying Existing Code:
> Inspect index.html and add a responsive navigation bar with links to Home, Features, and Contact.
The model will use Read to inspect the current code, then use Edit to apply surgical modifications.
Terminal Commands & Testing:
> Run the test suite with npm test and fix any failing tests.
The model will call Bash to run the tests, parse the failure output, and edit the code until tests pass.
Conversations & Technical Questions:
> How does the calculation logic in app.js work?
The model will explain the code in clean GitHub-flavored markdown without triggering unnecessary tool calls.
If you close your terminal or step away, you can resume your exact conversation in that directory at any time:
claude --continue
(or simply claude -c)
-p)To run a single automated command without entering the interactive shell:
claude -p "create a basic README.md explaining this project" --tools "Bash,Edit,Read,Write" --dangerously-skip-permissions
While inside an interactive Claude Code session, use these commands to optimize your workflow:
low or normal is recommended for 3B models to maximize speed).On local consumer GPUs (like GTX 1650 / RTX 3050), apply these three optimizations for the best experience:
/config)/config, navigate to Recaps, and select Disable.--tools "Bash,Edit,Read,Write"--tools "Bash,Edit,Read,Write".Desktop\my-project), never inside C:\Users\Username or ~.ECONNREFUSED).| Metric | Specification |
|---|---|
| Model Architecture | Qwen 2.5 Coder 3B Instruct |
| Fine-Tuning Method | LoRA (Rank 64, Alpha 128) across 4 balanced trajectory splits |
| Quantization Format | GGUF Q4_K_M via llama.cpp |
| Minimum VRAM | 4 GB VRAM (GTX 1650, RTX 2050/3050/4050, Apple Silicon) |
| GPU Offload | 100% GPU (35⁄35 Layers) |
| Context Window | 32,768 tokens |
| W3C Standards Compliance | Valid HTML5 (Zero Quirks Mode warnings in Chrome DevTools) |
| License | Apache 2.0 / Qwen Research License |