TokenZero
by tokenzero.sh in AI models & inference
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
https://api.tokenzero.sh/mcp- Tools
- 6
- open to any client
- Uptime
- 100%
- last 30 days
- Response time
- 828 ms
- 887 ms slowest 5%
- Last check
- Passed
- 10 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to connect
Add it to any MCP client that supports remote servers.
{
"mcpServers": {
"tokenzero-2": {
"type": "http",
"url": "https://api.tokenzero.sh/mcp"
}
}
}6 tools
- try_tokenzero
Call this first: no API key, no signup, no setup. Shows what TokenZero would do to one of your LLM calls: it runs the four savings engines (prompt-cache formatting, edge cache, cascade advice, signed receipt) on a sample or your own prompt and model, and returns the list-price…
- audit_repo_token_waste
No API key needed. Static-analyze a public GitHub repo (e.g. {"repo": "owner/name"}) or a set of source files for LLM token waste: uncached static prompts, frontier models on extraction tasks, hot loops, non-deterministic repeat calls, and prompt-caching mis-integration (caching…
- optimize_prompt_payload
No API key needed. Rewrite an OpenAI Chat/Responses or Anthropic Messages request body so its static prefix is provider-cacheable (Anthropic cache_control breakpoints, OpenAI prompt_cache_key). Returns the optimized body, what changed, the token profile and the projected…
- calculate_model_arbitrage
No API key needed; only `model` is required (e.g. {"model": "gpt-6.1-sol"}, defaults 2,000 tokens in and 400 out). Price a workload at list prices across models: cost per request and per month for the requested model, its cheaper sibling, and the effect of prompt caching. The…
- provision_workspace
Create a TokenZero workspace and key with no form. Returns the key once, the base URLs that route through it (OPENAI_BASE_URL / ANTHROPIC_BASE_URL), the one-click dashboard link and the badge URL. Free up to the monthly free tier; nothing is billed.
- workspace_metrics
Live value scorecard for a TokenZero workspace: hard savings and net ROI per window, the four engines' contribution, speed, parity, availability and privacy posture, per-model breakdown and one-click recommendations. Needs the workspace key (tz_live_…); pass demo: true for a…
Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time |
|---|---|---|---|
| 10 h ago | Passed | 200 | 847 ms |
| 25 h ago | Passed | 200 | 830 ms |
| 39 h ago | Passed | 200 | 872 ms |
| 2 days ago | Passed | 200 | 771 ms |
| 3 days ago | Passed | 200 | 814 ms |
Show 10 older checks
| 3 days ago | Passed | 200 | 828 ms |
| 4 days ago | Passed | 200 | 853 ms |
| 4 days ago | Passed | 200 | 820 ms |
| 5 days ago | Passed | 200 | 820 ms |
| 5 days ago | Passed | 200 | 846 ms |
| 6 days ago | Passed | 200 | 874 ms |
| 7 days ago | Passed | 200 | 836 ms |
| 7 days ago | Passed | 200 | 760 ms |
| 8 days ago | Passed | 200 | 806 ms |
| 8 days ago | Passed | 200 | 794 ms |