AISmush

Cut your AI coding costs by 90%. One binary. Zero config. Drop-in replacement for Claude Code.

Live Global Savings

$0.00
Total Saved
0
Active Users
0
Requests Routed
0
Claude Turns
0
DeepSeek Turns

Install in one command

Linux & macOS. No dependencies. First run asks for your DeepSeek key.

curl -fsSL https://raw.githubusercontent.com/Skunk-Tech/aismush/main/install.sh | bash

Then just run: aismush-start

Windows Download All platforms →

What it does

Smart Model Routing

Planning and debugging go to Claude. File reads and mechanical edits go to DeepSeek at 1/50th the cost. Automatic, per-turn decisions.

Context Compression

Strips comments, normalizes whitespace, deduplicates repeated lines. 20-50% fewer tokens sent to the provider.

Context Window Management

Graduated 5-tier system ensures requests always fit the provider's context window. Never blocks your work.

Persistent Memory

Remembers key decisions across sessions. Your AI starts each day knowing what you worked on yesterday.

Cost Tracking

Real-time dashboard showing actual cost vs what you would have paid. Per-request breakdown with token counts.

Automatic Fallback

If Claude is down, requests automatically fall back to DeepSeek. If DeepSeek fails, clear error. Your work is never blocked.

How it works

You type in Claude Code
  → Claude Code sends request to AISmush (localhost)
  → AISmush compresses context, checks window size
  → Routes to Claude (planning, debugging, large context)
  → Or routes to DeepSeek (tool results, mechanical coding)
  → Response streams back to Claude Code
  → You see no difference. Your wallet does.
View on GitHub

MIT Licensed · 2,200 lines of Rust · Single binary, zero dependencies