Blog
Notes from the team building Nexus402.
How paid tool calls for AI agents work: HTTP 402, pricing an MCP tool, refunds, retries and spend caps, and what we ship along the way.
All posts
Every post, newest first.
- Explainer · What is HTTP 402 Payment Required? A guide for AI agents The status code that waited thirty years for a customer who could pay per request. What 402 means, why AI agents need it, and how a paid MCP call uses it. 6 min read
- Creators · How much should you charge for an MCP tool call? Start from what one call costs you, leave room for the margin, let free calls do the selling, and raise prices without surprising anyone. 6 min read
- Billing · Why a failed tool call should cost nothing Who should pay when an agent's tool call breaks? The fair line between a refund and a charge, and why it belongs at the first byte. 5 min read
- Engineering · How to stop an AI agent from being charged twice Agents retry, networks drop answers, and a careless meter bills twice. Idempotency keys and one atomic deduction make that impossible. 6 min read
- Developers · A rolling 24-hour spend cap for AI agents, explained Why a rolling window suits an agent better than a daily or monthly budget, with a worked example of spend ageing out. 5 min read
- Open source · Our MCP starter kits and verify-proxy are open source Nine MCP server starter kits and verify-proxy, published under Apache-2.0. What is in them, how they are tested, and why the code on a creator's server should be readable. 4 min read
No post matches that yet.
Try another word, or look in the guides and the documentation.
While you are here
Read a guide.
Longer reads for both sides of a paid tool call.
- 01 Monetize an MCP server From a server you run to a tool agents pay for.
- 02 Pay-per-call vs subscriptions Pay-per-call or a monthly plan, for agent traffic.
- 03 Build vs buy billing What billing per call yourself would take.
- 04 Give your agent a budget Caps, allowlists and alerts for an agent's spend.