{
  "schema_version": "1.0",
  "publisher": "AI Release",
  "article": {
    "title": "How to connect a local LLM to Claude Code: llama-server and an OpenAI-compatible API",
    "canonical_url": "https://ai-release.org/guides/kak-podklyuchit-lokalnuyu-model-k-claude-code-llama-ser_en.html",
    "language": "en",
    "article_type": "guide",
    "published_at": null,
    "updated_at": "2026-11-22T00:00:00+00:00"
  },
  "summary": "",
  "topics": [
    "claude code локальная модель",
    "llama-server claude code",
    "подключить локальную llm к claude code",
    "claude code openai совместимый api"
  ],
  "entities": [
    {
      "id": "E1",
      "name": "claude code локальная модель",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E2",
      "name": "llama-server claude code",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E3",
      "name": "подключить локальную llm к claude code",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E4",
      "name": "claude code openai совместимый api",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E5",
      "name": "Node.js",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E6",
      "name": "npm",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E7",
      "name": "OpenAI",
      "type": "компания",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E8",
      "name": "Anthropic",
      "type": "компания",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E9",
      "name": "Claude",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E10",
      "name": "llama-server",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    }
  ],
  "claims": [
    {
      "id": "AR-GUIDE-KAKPODKLYU-001",
      "statement": "Hardware: a machine with enough RAM or VRAM for the model you pick. A GGUF file roughly needs its own size in memory, plus room for the context window.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-podklyuchit-lokalnuyu-model-k-claude-code-llama-ser_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "Hardware: a machine with enough RAM or VRAM for the model you pick. A GGUF file roughly needs its own size in memory, plus room for the context window."
    },
    {
      "id": "AR-GUIDE-KAKPODKLYU-002",
      "statement": "llama.cpp build: the llama-server binary. You can download a prebuilt release for your OS or compile it yourself.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-podklyuchit-lokalnuyu-model-k-claude-code-llama-ser_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "llama.cpp build: the llama-server binary. You can download a prebuilt release for your OS or compile it yourself."
    },
    {
      "id": "AR-GUIDE-KAKPODKLYU-003",
      "statement": "A GGUF model file, stored somewhere you can reference with an absolute path, e.g. ~/models/your-model-Q4_K_M.gguf.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-podklyuchit-lokalnuyu-model-k-claude-code-llama-ser_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "A GGUF model file, stored somewhere you can reference with an absolute path, e.g. ~/models/your-model-Q4_K_M.gguf."
    }
  ],
  "relationships": [
    {
      "subject": "Guide",
      "predicate": "describes",
      "object": "How to connect a local LLM to Claude Code: llama-server and an OpenAI-compatible API",
      "claim_id": "AR-GUIDE-KAKPODKLYU-001"
    }
  ],
  "questions_and_answers": [
    {
      "question": "What is required?",
      "answer": "Hardware: a machine with enough RAM or VRAM for the model you pick. A GGUF file roughly needs its own size in memory, plus room for the context window.; llama.cpp build: the llama-server binary. You can download a prebuilt release for your OS or compile it yourself.; A GGUF model file, stored somewhere you can…",
      "claim_ids": [
        "AR-GUIDE-KAKPODKLYU-003"
      ],
      "article_anchor": "#requirements"
    },
    {
      "question": "Which topics does it cover?",
      "answer": "claude code локальная модель, llama-server claude code, подключить локальную llm к claude code, claude code openai совместимый api",
      "claim_ids": [
        "AR-GUIDE-KAKPODKLYU-002"
      ],
      "article_anchor": "#entities"
    }
  ],
  "limitations": [
    "Current versions, prices and limits.",
    "Independent benchmarks and quality checks.",
    "Terms of use and data policy."
  ],
  "citation": {
    "preferred_citation": "AI Release. Как подключить локальную модель к Claude Code: llama-server, OpenAI-совместимый API и лаунчер. https://ai-release.org/guides/kak-podklyuchit-lokalnuyu-model-k-claude-code-llama-ser_en.html",
    "canonical_url": "https://ai-release.org/guides/kak-podklyuchit-lokalnuyu-model-k-claude-code-llama-ser_en.html",
    "publisher": "AI Release"
  }
}