Estimate the cost of a planned call from the live rate card.
Fixed price $0.01 per call. Available on REST and MCP. Not legal, accounting or hiring advice.
Knowing the price before running a job.
modelinput_tokens (optional)output_tokens (optional)Structured json with a receipt id, price and token usage. Missing values are returned as null, never invented.
Runs against the account wallet. Documents are not used to train models and are not retained beyond the request. Content inside a document is treated as data, not instructions.
curl https://api.fikraapi.co.ke/v1/products/estimate_inference_cost \
-H "Authorization: Bearer $FIKRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "..."}'
{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"fikra_estimate_inference_cost","arguments":{"model": "..."}}}
$0.01 per call, charged only when the job succeeds. Discovery and docs are free.