8 CO-RESIDENT PRODUCTION MODELS • 4-GEAR COMPUTE DRIVETRAIN • STATEFUL MODEL HANDOFF

Stop Chunking Your Codebase.
Stream Whole Repositories Into Co-Resident GPU Memory.

WholeRepo replaces fragile vector databases and 15-turn grep loops with a single in-memory forward pass. Switch seamlessly across 8 co-resident coding and reasoning models mid-session with 71.5% lower token overhead, 100% cross-file recall, and 0 bytes written to disk.

$curl -fsSL https://wholerepo.sh | bash
Launch Web Studio →
✓ Drop-In OpenAI & OpenRouter /v1✓ Zero-Header Multi-Turn Session Caching✓ Cursor • Claude Code • OpenCode • Cline
Production Fleet
8 Models
Co-Resident & Ready
Mid-Session Switch
-71.5%
Lower Token Overhead
Warm Model Return
11.8×
Zero-Reload Co-Residency
500K+ Hop Recall
100.0%
vs 0.0% Vector RAG Recall@20
Code Retention
0 Bytes
Volatile Enclave + Audit
Beyond Stateless Model Routing

Switch Models Mid-Session Without Cold Re-Prefilling

Scout with GLM-4.7-Flash, code with Qwen3-Coder-30B-A3B, and verify invariants with GLM-Z1-32B in a single stateful repository thread.

INSTANT CO-RESIDENT FLEET11.8× Faster Return

Zero-Reload Model Switching in Active Memory

When you change models on a conventional cloud router, your request is routed to a cold worker or triggers a costly model reload. WholeRepo keeps your active model fleet co-resident in high-bandwidth GPU memory so switching back and forth between scout, coder, and deep-reasoning models happens instantaneously.

  • 01.Zero Cold-Swap Penalty: Switch between fast scouting models and 30B+ coding/reasoning models inside the same conversation with zero model-reload wait.
  • 02.Preserved Session State: Return to your primary model on later turns with your warm session cache intact.
STATEFUL CONTEXT HANDOFF-71.5% Token Overhead

Cross-Model Working-Set Continuity

On standard endpoints (like OpenRouter or vanilla vLLM), switching from Model A to Model B mid-thread forces Model B to re-ingest your entire repository from scratch. WholeRepo automatically carries forward your active repository working set across model boundaries:

  • 01.71.5% Less Prefill Work on Model Switch: Turn 2+ model switches process only the active repository working set and conversation history instead of re-reading every file cold.
  • 02.100% Verified Cross-File Recall: Retains bit-exact recall across non-local call graphs with zero custom client headers required.
Interactive Multi-Model Session Explorer

Compare Stateless Cloud Routing vs. WholeRepo Stateful Handoff

Workflow Step & TaskSelected ModelStateless RouterWholeRepo TokensLatencyOutcome
Turn 1: Repository Scout
Map token verification & session middleware call graph across all packages.
GLM-4.7-Flash
z-ai/glm-4.7-flash
57,910 tok (Cold)57,910 tok (Cold)1.66 s100% Exact Recall
Turn 2: Switch to Heavy Coder
Synthesize unified multi-file patch enforcing strict session TTLs.
Qwen3-Coder-30B-A3B
qwen/qwen3-coder-30b-a3b-instruct
57,910 tok (100% Re-Prefill)16,527 tok (-71.5%)1.54 s prefill-71.5% Token Overhead
Turn 3: Return to Scout
Verify all downstream route handlers compile cleanly against the new signature.
GLM-4.7-Flash
z-ai/glm-4.7-flash
57,910 tok (Cold Reload)Warm Session Cache1.25 s total11.8× Faster Return
Interactive Scale & Session Estimator

Calculate Your Multi-Model Session Savings

1. Select Repository Size:
2. Multi-Model Turns per Session:4 Turns
WholeRepo Cold Ingest:1.4s (vs 28 min RAG)
Stateless Router Volume:8.00M tokens billed
WholeRepo Stateful Volume:3.71M tokens (-54%)
Vector DB Infrastructure:$0/mo (Eliminated)
Precision Latency & Depth Control

4-Gear Stepped Compute Drivetrain

Match compute depth to your task per query via --gear or let Auto shift dynamically.

AUTO DRIVETRAIN (DEFAULT)Dynamic Complexity & Repository Scale Routing

Automatic Query-Complexity & Repository-Scale Shifting

Automatically evaluates repository scale and prompt intent—selecting Eco for localized edits and symbol tracebacks, Cruise for multi-file feature implementation, and Overdrive for deep cross-repository security and concurrency audits.

Operating Profile:Adaptive (Eco → OD)
Target Latency:0.8s – 1.8s TTFT
Tool Call Overhead:0 Tool Loops (1 Pass)
CLI: wholerepo ask "..." --gear auto
Co-Resident Multi-Model Fleet

8 Production Models Ready Out of the Box

DEFAULT SCOUT30B / 3B ACTIVE

GLM-4.7-Flash

High-velocity repository scout for instant architectural mapping, call-graph tracing, and interactive codebase Q&A.

In: $0.06/1MCache: $0.01Out: $0.36
HEAVY CODER30.5B / 3.3B ACTIVE

Qwen3-Coder-30B-A3B

Primary software engineering specialist built for multi-file patch synthesis, complex refactors, and agentic tool execution.

In: $0.07/1MCache: $0.015Out: $0.27
FLAGSHIP HYBRID35B / 3B ACTIVE

Qwen3.6-35B-A3B

Flagship 35B hybrid model combining deep cross-module synthesis with high-precision long-horizon code generation.

In: $0.18/1MCache: $0.035Out: $0.54
DEEP REASONING32B DENSE

GLM-Z1-32B-0414

Full-parameter 32B deep reasoning specialist for formal invariant verification, concurrency bugs, and security audits.

In: $0.20/1MCache: $0.04Out: $0.60
GEMMA 4 MOE26B / 4B ACTIVE

Gemma-4-26B-A4B

Google Gemma 4 architecture tuned for structured code synthesis, clean API design, and polyglot repository analysis.

In: $0.13/1MCache: $0.025Out: $0.40
ULTRA-LOW COST21B / 3.6B ACTIVE

GPT-OSS-20B

High-throughput open-weights model optimized for fast automated CI checks, JSON schema generation, and tool calling.

In: $0.03/1MCache: $0.01Out: $0.14
COMPACT REASONING14B DENSE

Ministral-3-14B

Dense 14B reasoning model delivering structured step-by-step root-cause analysis and deterministic code review.

In: $0.12/1MCache: $0.025Out: $0.36
ULTRA SCOUT9B HYBRID

Qwen3.5-9B

Sub-second interactive scout for instant file navigation, dependency discovery, and lightweight edits.

In: $0.05/1MCache: $0.01Out: $0.15
Zero-Config Developer Experience

Drop-In OpenAI & OpenRouter Compatibility

Point Cursor, Claude Code, OpenCode, or the standard OpenAI SDK to https://wholerepo.com/v1.

from openai import OpenAI

client = OpenAI(
    base_url="https://wholerepo.com/v1",
    api_key="wr_live_..."
)

# Turn 1: Fast Scout (GLM-4.7-Flash) maps the repository
t1 = client.chat.completions.create(
    model="z-ai/glm-4.7-flash",
    messages=[
        {"role": "user", "content": f"<repo>{full_repo}</repo>\nMap auth flow."}
    ]
)

# Turn 2: Switch to Heavy Coder (Qwen3-Coder-30B-A3B) mid-thread
# Automatically reuses active session state (-71.5% token overhead)
t2 = client.chat.completions.create(
    model="qwen/qwen3-coder-30b-a3b-instruct",
    messages=[
        {"role": "user", "content": f"<repo>{full_repo}</repo>\nMap auth flow."},
        {"role": "assistant", "content": t1.choices[0].message.content},
        {"role": "user", "content": "Write the unified patch for token verify."}
    ]
)
Technical FAQ

Engineering Questions Answered

How can WholeRepo switch between different models mid-session without re-prefilling the whole repository?▼

Standard inference routers treat every model change as a completely isolated, cold request—forcing the new model to re-read your entire repository from scratch. WholeRepo maintains co-resident models in GPU memory and preserves your active repository working set across turns, reducing cross-model token overhead by 71.5% and accelerating warm model return by 11.8× while maintaining 100% cross-file recall.

Does multi-model session continuity work with standard OpenRouter or OpenAI clients with zero custom headers?▼

Yes. WholeRepo automatically recognizes recurring repository context in standard /v1/chat/completions requests and honors standard prompt_cache_key fields when provided. You can switch models mid-thread in Cursor, OpenCode, Claude Code, or any OpenAI SDK client with zero custom headers.

How is code privacy guaranteed?▼

Repository streams reside strictly in volatile GPU memory and are isolated per tenant session. Zero bytes of source code are ever written to persistent disk or used for training, and our CLI workspace streamer automatically strips sensitive credential files (.env, *.pem, *.key, id_rsa) before bytes leave your machine.

Test All 8 Co-Resident Models on Your Repository Today

Launch the interactive Web Studio to query multi-million-token benchmarks in real time, or explore our architectural teardowns against Cursor and Vector RAG.