Deblank: Tool to Strip Code Formatting for LLM Token Reduction

What Deblank Does
Deblank is a preprocessing tool that removes code formatting (indentation, whitespace, line breaks) before sending code to LLMs, with a postprocessing step to restore readability. The transformation is bidirectional and AST-safe.
Performance Results
In evaluations across several models (DeepSeek-V3, Claude, Gemini, etc.):
- ~30% token reduction for languages like Java and C++
- ~9% token reduction for Python
- Negligible impact on Pass@1 accuracy for code completion
- Average latency: ~76ms
Supported Languages and Features
- Python, Java, C/C++, C#, JavaScript/TypeScript, and Go
- Handles incomplete snippets reasonably well
- Useful for fill-in-the-middle workflows
Getting Started
The project is open-sourced with these resources:
- GitHub: https://github.com/anpl-code/Deblank
- Paper: https://arxiv.org/abs/2508.13666
- Docker:
docker pull zhangcen456/deblank:latest
This type of token optimization can be particularly useful when working with context-limited LLMs or when processing large codebases, though the impact varies by language due to differences in formatting conventions.
📖 Read the full source: r/LocalLLaMA
👀 See Also

AiPayGen: An AI Agent Marketplace with MCP Integration for Claude Code
AiPayGen is a marketplace with 142 AI agents across 27 categories including finance, legal, healthcare, DevOps, security, and marketing. It functions as an MCP server for direct use in Claude Code, allowing users to browse, invoke, and manage agents through specific commands.

Claude Pulse Browser Extension Surfaces Token Counts, Cache Timers, and Rate Limits on Claude.ai
Claude Pulse is a client-side Chrome extension that adds a real-time dashboard to Claude.ai showing per-message token counts, total context usage, prompt cache expiry timer, and rate limit progress bar. Also includes chat export to Markdown.

Skill Studio: Open-Source Desktop App for Managing Claude AI Agent Skills
Skill Studio is a free, open-source macOS desktop app that lets developers browse community skill repositories, preview documentation with markdown rendering, and install skills with one-click commands like npx skills add.

Vektori's Memory Architecture: Principles from Claude's Leaked System
Vektori implements a three-layer hierarchical sentence graph for AI memory, inspired by leaked principles from Claude's architecture. The system uses strict quality filters, skeptical retrieval with a 0.3 minimum score, and maintains correction history across sessions.