Claude Code model router

Tamp

Token compression proxy for Claude Code. 50% fewer tokens, zero behavior change.

Install

Install
claude plugin marketplace add sliday/claude-plugins

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/sliday/tamp.git

From the README

Tamp

Token compression proxy for coding agents. 52.6% fewer input tokens, 60-70% combined with output compression. Zero code changes. Works with Claude Code, Codex CLI, opencode, Aider, Cursor, Cline, Windsurf, 🦞 OpenClaw, and any OpenAI-compatible agent.

Claude Code

The plugin adds /tamp:status and /tamp:config commands. It auto-starts Tamp but does not route traffic. Point Claude Code at Tamp once by adding to ~/.claude/settings.json:

That line makes Claude Code depend on Tamp. Run tamp install-service in the same sitting so the proxy is up at every login, and keep ~/.claude/settings.json.backup until you trust the setup. To undo, delete the ANTHROPIC_BASE_URL key.

🦞 OpenClaw

Set provider to http://localhost:7778 β†’ done. Full guide: docs/openclaw-setup.md

How It Works

Auto-detects API format, compresses tool output, forwards upstream. Error results skipped. JSON minified, arrays encoded columnarly, text/code normalized or semantically compressed.

Compression Stages (all enabled by default):

Opt-in stages: strip-comments, textpress (LLM semantic compression), graph (session-scoped dedup β€” works on any coding agent: Codex, Claude Code, Aider β€” anywhere the same file is read twice, up to -99% per repeat block), px-render (renders dense tool_results as PNG image blocks via pxpipe β€” image tokens are priced by pixel area, so 4-64KB grep/code blocks drop ~80% on vision-legible models like Fable 5; see docs/notes-px-render.md), stale-inputs (prunes payloads from tool_use.input in older turns, keeping the call header β€” measured 18% on realistic requests), stale-images (evicts base64 images from older turns, keeping the newest 2 β€” ~4%)

stale-inputs and stale-images rewrite older turns, which invalidates the prompt cache. Both stay opt-in for that reason; weigh the…
Read the full README on GitHub

Details

Repository
sliday/tamp
Language
JavaScript
Last updated
4 September 2026

FAQ

What is Tamp?

Token compression proxy for Claude Code. 50% fewer tokens, zero behavior change. It is a model router for Claude Code, from sliday/tamp on GitHub.

How do I install Tamp?

Run claude plugin marketplace add sliday/claude-plugins, then follow the setup in the README.

Is Tamp popular?

sliday/tamp has 95 GitHub stars and 8 forks. It was last updated on 4 September 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.