[HN Gopher] Show HN: First Claude Code client for Ollama local m...
       ___________________________________________________________________
        
       Show HN: First Claude Code client for Ollama local models
        
       Just to clarify the background a bit. This project wasn't planned
       as a big standalone release at first. On January 16, Ollama added
       support for an Anthropic-compatible API, and I was curious how far
       this could be pushed in practice. I decided to try plugging local
       Ollama models directly into a Claude Code-style workflow and see if
       it would actually work end to end.  Here is the release note from
       Ollama that made this possible: https://ollama.com/blog/claude
       Technically, what I do is pretty straightforward:  - Detect which
       local models are available in Ollama.  - When internet access is
       unavailable, the client automatically switches to Ollama-backed
       local models instead of remote ones.  - From the user's
       perspective, it is the same Claude Code flow, just backed by local
       inference.  In practice, the best-performing model so far has been
       qwen3-coder:30b. I also tested glm-4.7-flash, which was released
       very recently, but it struggles with reliably following tool-
       calling instructions, so it is not usable for this workflow yet.
        
       Author : SerafimKorablev
       Score  : 27 points
       Date   : 2026-01-22 17:26 UTC (5 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | mchiang wrote:
       | hey, thanks for sharing. I had to go to the Twitter feed to find
       | the GitHub link:
       | 
       | https://github.com/21st-dev/1code
        
         | dang wrote:
         | Thanks for catching that. I've changed the URL at the top to
         | that from
         | https://twitter.com/serafimcloud/status/2014266928853110862
         | now.
        
       | dosinga wrote:
       | this is cool. not sure it is the first claude code style coding
       | agent that runs against Ollama models though. goose, opencode and
       | others have been able to do that a while no?
        
       | eli wrote:
       | There are already various proxies to translate between OpenAI-
       | style models (local or otherwise) and an Anthropic endpoint that
       | Claude Code can talk to. Is the advantage here just one less
       | piece of infrastructure to worry about?
        
         | g4cg54g54 wrote:
         | siderailing here - but got one that _actually_ works?
         | 
         | in particular i'd like to call claude-models - in openai-schema
         | hosted by a reseller - with some proxy that offers anthropic
         | format to my claude --- but it seems like nothing gets to fully
         | line things up (double-translated tool names for example)
         | 
         | reseller is abacus.ai - tried BerriAI/litellm,
         | musistudio/claude-code-router, ziozzang/claude2openai-proxy,
         | 1rgs/claude-code-proxy, fuergaosi233/claude-code-proxy,
        
       | oceanplexian wrote:
       | The Anthropic API was already supported by llama.cpp (The project
       | Ollama ripped off and typically lags in features by 3-6 months),
       | which already works perfectly fine with Claude Code by setting a
       | simple environment variable.
        
         | xd1936 wrote:
         | And they reference that announcement and related information in
         | the second line.
        
           | gcr wrote:
           | Which announcement are you looking at? I see no references to
           | llama-cpp in either Ollama's blog post or this project's
           | github page.
        
       | d0100 wrote:
       | Does this UI work with Open Code?
        
       | horacemorace wrote:
       | I was trying to get Claude code to work with llama.cpp but could
       | never figure out anything functional. It always insisted on a
       | phone home login for first time setup. In cline I'm getting
       | better results with glm-4.7-flash than with qwen3-coder:30b
        
       ___________________________________________________________________
       (page generated 2026-01-22 23:00 UTC)