Documentation
Everything you need to add cost controls to your AI agents.
Quickstart
Get per-workflow budget protection in under 2 minutes.
API Reference
Complete API documentation for the TokenFence SDK.
Async Guide
Use TokenFence with async OpenAI and Anthropic clients in production pipelines.
Quick Install
Python
pip install tokenfence
Node.js
npm install tokenfence