Peras
9.2 / 10 BenchmarkLocal, MIT-licensed guardrail that pauses Claude Code and Codex before they burn your weekly limits.
Local, MIT-licensed guardrail that pauses Claude Code and Codex before they burn your weekly limits.
| Pricing Model | Freemium |
|---|---|
| Starting Price | Free (CLI) / €4.99 (App) |
| Free Trial | Free Tier Available |
| Official Pricing Tiers | View Complete Pricing Plans → |
| Ideal Audience & Best For | AI Engineers, Senior Developers, Technical Founders, DevOps Engineers |
| API & Integrations | REST API & Webhooks Ready |
| Community Upvotes | ▲ 27 votes by verified community members |
Peras is a local-first, open-source utility designed to solve the critical problem of uncontrolled token consumption in autonomous AI coding agents like Claude Code and OpenAI Codex. By intercepting agent activity at the local level, it provides real-time visibility into usage against subscription-based limits (Claude Pro/Max, ChatGPT), preventing costly overages or forced throttling. It positions itself as an essential operational safety layer for developers relying on high-volume LLM interactions, ensuring that automated workflows respect predefined budgetary constraints without requiring cloud-based telemetry or external API keys.
The tool operates through a combination of a lightweight CLI and an optional native macOS menu bar application. It monitors usage percentages in real-time, offering granular control mechanisms such as 'warn' (notification only), 'ask' (requires user approval for the next tool call), and 'pause' (hard stop on tool execution). Peras supports complex scheduling rules, including daily allowances, per-folder budgets, time-based restrictions (e.g., overnight caps), and pace-based limits. It integrates directly with the local file system and agent hooks, allowing users to visualize usage trends, review historical sessions, and manage multiple agent profiles simultaneously from a single interface.
Peras is ideal for professional developers, AI engineers, and technical founders who utilize subscription-based AI coding assistants for heavy-duty automation. By preventing limit exhaustion, it ensures uninterrupted workflow continuity and protects against the operational downtime caused by hitting usage caps. The tool is particularly valuable for teams or individuals running parallel agent sessions, as it allows for precise allocation of resources across different projects or time zones, maximizing the ROI of expensive AI subscriptions while maintaining full local data privacy.
Peras is a local utility that monitors the usage limits of AI coding agents like Claude Code and Codex. It reads local usage data and enforces user-defined limits by pausing, warning, or asking for approval when an agent approaches its threshold, preventing limit exhaustion.
The core CLI and guard functionality are completely free and open-source under the MIT license. The optional native macOS menu bar application is available for a one-time purchase of €4.99. There is no subscription fee.
Peras is best suited for developers and engineers who use subscription-based AI coding tools (Claude Pro/Max, ChatGPT) for heavy, automated, or long-running tasks and need to ensure they do not hit usage caps prematurely.
Peras integrates directly with Claude Code and OpenAI Codex via local hooks. It runs on macOS (with a native app option) and is available as a CLI tool for any Unix-like environment. It does not require cloud API keys or external server integrations.