Billing
Estimate request cost
Returns predicted cost before a request is made. Free to call, requires authentication. Used by AI agents for pre-flight cost checks.
post/estimate
Request
- Base URL: https://riskmodels.app/api
- URL: https://riskmodels.app/api/estimate
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://riskmodels.app/oauth/authorize, token URL https://riskmodels.app/api/oauth/token, scopes: mcp:read)
Request body
Example request
{
"endpoint": "ticker-returns",
"params": {
"ticker": "AAPL",
"years": 5
}
}Response
Cost estimate
Example response
{
"estimated_cost_usd": 0.008,
"estimated_tokens": 400,
"capability": "ticker-returns",
"note": "Actual cost may vary. Cached responses are free."
}Changes
No recorded changes to this operation across all 1 revision of this API.