@llmtrim/cli
Advanced tools
+7
-7
| { | ||
| "name": "@llmtrim/cli", | ||
| "version": "0.1.6", | ||
| "version": "0.1.7", | ||
| "description": "Cut your LLM bill: drop-in proxy that compresses input, output, and cache. Any provider, answers unchanged.", | ||
@@ -12,9 +12,9 @@ "repository": "https://github.com/fkiene/llmtrim", | ||
| "optionalDependencies": { | ||
| "@llmtrim/linux-x64": "0.1.6", | ||
| "@llmtrim/linux-arm64": "0.1.6", | ||
| "@llmtrim/darwin-x64": "0.1.6", | ||
| "@llmtrim/darwin-arm64": "0.1.6", | ||
| "@llmtrim/win32-x64": "0.1.6", | ||
| "@llmtrim/win32-arm64": "0.1.6" | ||
| "@llmtrim/linux-x64": "0.1.7", | ||
| "@llmtrim/linux-arm64": "0.1.7", | ||
| "@llmtrim/darwin-x64": "0.1.7", | ||
| "@llmtrim/darwin-arm64": "0.1.7", | ||
| "@llmtrim/win32-x64": "0.1.7", | ||
| "@llmtrim/win32-arm64": "0.1.7" | ||
| } | ||
| } |
+10
-7
| # llmtrim | ||
| **Cut ~66% off your LLM bill.** A drop-in local HTTPS proxy that compresses every LLM | ||
| request and reply — input, output, and cache — with zero extra model calls. Works with | ||
| Claude Code, Cursor, Cline, and any tool that talks to OpenAI / Anthropic / Google / | ||
| DeepSeek / Mistral & co. Answers unchanged: every cut is re-counted with the provider's | ||
| real tokenizer and auto-reverted if it doesn't save. | ||
| **llmtrim is a local proxy that compresses your LLM API requests so you pay less, with no | ||
| change to the answers.** It strips wasted tokens (verbose tool output, resent schemas, | ||
| bulky JSON, long context) out of every request before it reaches the provider: −31% input | ||
| and −74% output tokens, measured live across 112 A/B cases. Works with Claude Code, Cursor, | ||
| Cline, and any tool that talks to OpenAI / Anthropic / Google / DeepSeek / Mistral & co. | ||
| Every cut is re-counted with the provider's real tokenizer and auto-reverted if it doesn't | ||
| save, so it can never increase your bill or break a request. | ||
| ```bash | ||
@@ -16,7 +19,7 @@ npm install -g @llmtrim/cli && llmtrim setup | ||
| `setup` is transparent and fully reversible (`llmtrim uninstall`): a local CA, a proxy | ||
| block in your shell profile, a background service. Everything runs locally — nothing is | ||
| block in your shell profile, a background service. Everything runs locally; nothing is | ||
| ever sent to us. | ||
| This package installs a prebuilt native binary for your platform (Linux, macOS, Windows; | ||
| x64 & arm64) — no Rust toolchain needed. | ||
| x64 & arm64). No Rust toolchain needed. | ||
@@ -23,0 +26,0 @@ Docs, benchmarks (112 live A/B cases), and source: **https://github.com/fkiene/llmtrim** |
2644
8.01%28
12%