whereismyai
Wiretuple
Wiretuple is an HTTP reverse proxy that reduces LLM structured outputs and function calling tokens.
Wiretuple is a zero-dependency HTTP reverse proxy written in Go that cuts LLM structured outputs and function calling output tokens by 35 to 60 percent losslessly. It works by moving repeated JSON keys into a single legend and sending values as positions on the wire. The application keeps calling the same API without changes. It supports OpenAI and Anthropic endpoints for both streaming and non-streaming requests. Additional features include a break-even gate, passive audit logging to SQLite, and an internal compiler for deterministic key orders and nested tuples.
Wiretuple at a glance
- Best for: Software engineer
- Runs on: CLI, self-hosted, open source
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/dimoncelli/wiretuple
Key features
- Lossless positional tuple encoding for repeated JSON keys
- Support for OpenAI chat completions and Anthropic messages
- Stream and non-stream handling with SSE rehydration
- Break-even gate to estimate net token savings
- Passive audit mode with SQLite output
- Single-binary deployment with zero external dependencies
Use it for
- Reducing API costs for large structured LLM responses
- Auditing token savings passively using SQLite
- Proxying LLM traffic for OpenAI and Anthropic
Alternatives to Wiretuple
- GoRoute — Consumes 5.1MB of RAM with sub-10ms latency for coding agents.
- ripwire — It reduces token spend and prevents bugs by giving coding agents precise repository context.
- Ctxfw — Reduces AI context token mass while preserving code structure and dependencies.
- LangChain4j — Integrates LLMs and vector stores directly into Java applications.
- Wirepane — Debugs web and mobile traffic directly inside Claude Code without a separate proxy app.
- Aiproxy — Keeps sensitive data on your machine and prevents leaking PII to LLM providers.
- pxpipe — Cuts end-to-end token bills by compressing bulky context into compact PNGs.
- MTPLX — It runs local models twice as fast via native MTP speculative decoding.
- LightLLM — It delivers high-speed inference and serving performance for large language models.
- FreeLLMAPI — Accesses hundreds of free LLM models and billions of tokens through one API key.
- LMDeploy — Accelerates inference with high-performance engines and quantization tools.
- Llmtee — Tracks LLM costs and enforces budgets with minimal setup.
All Wiretuple alternatives