Use DeepSeek Coder
DeepSeek Coder is a powerful open-source code generation model from Chinese AI lab DeepSeek. It matches or exceeds GPT-4 on many coding benchmarks and can be run locally. Available as a model via Ollama, or through the DeepSeek API.