You can run something like Qwen 2.5 Coder on a regular machine (https://huggingface.co/Qwen/Qwen2.5-Coder-7B) but it's really not in the same universe with Claude Code, it will be slow and generate bad code.
It might make sense to run a small LLM locally for general conversation or very specific tasks, but they're not a serious option for agentic coding.