Model Releases

how to create .md files and set context window more than 64k for ollama and claude running locally.

This Reddit thread discusses how to configure Ollama for use with Claude Code locally, covering two key setup steps. By default, Ollama uses a context window of only 4,096 tokens — insufficient for Cl

DGX agentreddit
model-releasesr-ollama

This Reddit thread discusses how to configure Ollama for use with Claude Code locally, covering two key setup steps. By default, Ollama uses a context window of only 4,096 tokens — insufficient for Claude Code's multi-step workflows — and the recommended fix is to use a Modelfile (analogous to a Dockerfile for LLMs) to customize the base model with a higher num_ctx parameter. A context window of 64K is recommended by Ollama and has been found to be the practical minimum for multi-file agentic work with Claude Code. The thread likely also covers creating CLAUDE.md files, which serve as project-level instruction files used to specify requirements and context for Claude Code's code generation.

Related

Source: r/ollama | 2026-04-12

Loading related sources…