Agent Extraction API: llm-cost
https://freetier-agent-api.pages.dev/api/llm-costOverview
Token & cost calculator: estimate tokens for a text (or pass input_tokens/output_tokens) and price it across several mod $0.001 per call in USDC on Base (x402). 1 free call per caller; failed calls are never charged.
Protocol
x402
Price
$0.0050
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
tools
Provider
FreeTier Kits
Source
self-registered
Indexed
2026-10-17 20:30:46
Health
Status
healthy
Latency (p50)
648ms
Uptime (30d)
92.4%
Reliability Score
86.2/100
Last Checked
2026-10-31 07:02:31
Last Healthy
2026-10-31 07:02:31
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
Facilitator
—
Input Schema
{
"method": "GET",
"queryParams": {
"calls": "1000",
"input_tokens": "1200",
"models": "gpt-4o-mini,claude-sonnet-4-5,gemini/gemini-2.5-flash",
"output_tokens": "300"
},
"type": "http"
}
Output Schema
{
"example": {
"calls": 1000,
"estimate_method": null,
"input_tokens": 1200,
"input_tokens_estimated": false,
"output_tokens": 300,
"results": [
{
"context_length": 128000,
"cost_per_call_usd": 0.00036,
"fits_context": true,
"input_per_m_usd": 0.15,
"model": "gpt-4o-mini",
"output_per_m_usd": 0.6,
"requested": "gpt-4o-mini",
"total_usd": 0.36
},
{
"context_length": 1048576,
"cost_per_call_usd": 0.00111,
"fits_context": true,
"input_per_m_usd": 0.3,
"model": "gemini/gemini-2.5-flash",
"output_per_m_usd": 2.5,
"requested": "gemini/gemini-2.5-flash",
"total_usd": 1.11
}
],
"sources": [
{
"license": "MIT",
"name": "BerriAI/litellm model_prices_and_context_window.json (provider list prices)",
"note": "USD list prices per provider/model id; check the provider page before committing spend.",
"snapshot": "2026-10-17",
"url": "https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json"
}
]
},
"type": "json"
}