Lockpin documentation#
Lockpin is a spend cap for AI agents. It runs on your machine, between your agent and its model provider. It prices every call at its worst case before the call is sent, and refuses the one that would not fit the budget, so an agent cannot spend past the limit you set. Your keys and prompts go straight from your machine to the provider.
Install Lockpin, run it, and put your first agent under a budget in a few minutes.
Claude Code, Codex CLI, Cursor, Aider, the Anthropic and OpenAI SDKs, and any tool with a base URL.
How the cap works, budgets and tasks, approvals at the cap, the meter, the VS Code extension and receipts.
Per-person and service keys, team budgets, a team node, remote admin, policy and the hosted dashboard.
Anthropic, OpenAI, Gemini, Amazon Bedrock, Google Vertex AI, Azure and more, plus corporate proxies.
Every command and flag, configuration, what leaves your machine, security and troubleshooting.