Maha utility / local-first estimation

Measure the payload before it becomes a bill.

Estimate bytes, tokens, provider input cost, and an evidence-aware context-compression scenario. No sign-in or payload upload required.

Token estimate uses a local cl100k-style character heuristic: no payload is uploaded.

Raw bytes

0

Estimated tokens

0

Compression scenario

0

Start an integration

Export an executable request.

curl

curl https://www.mahastrategies.com/api/v1/tensor-opt \
+  -H "Authorization: Bearer YOUR_MAHA_API_KEY" \
+  -H "Content-Type: application/json" \
+  -d '{"clientRequestId":"replace-with-unique-request-id","problem":{"formulation":"qubo","variableCount":100}}'

python

import requests

response = requests.post(
    "https://www.mahastrategies.com/api/v1/tensor-opt",
    headers={"Authorization": "Bearer YOUR_MAHA_API_KEY"},
    json={"clientRequestId":"replace-with-unique-request-id","problem":{"formulation":"qubo","variableCount":100}},
    timeout=30,
)
print(response.json())