Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Claude Code makes local LLMs 90% slower (unsloth.ai)
4 points by telotortium 8 months ago | hide | past | favorite | 1 comment


The relevant part is that Claude Code adds an Attribution header, which invalidates the KV Cache for local models. The fix proposed here is to set the following in ~/.claude/settings.json when using Claude Code against a local model:

    "env": {
      ...,
      "CLAUDE_CODE_ATTRIBUTION_HEADER" : "0"
    },




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: