Skip to content
Fourohtwo

Choose a context budget before an agent run

www.mahastrategies.com/api/v1/context/budget-ladder

Choose a context budget before an agent run. Compare five extractive compilation budgets with token estimates and source coverage. Price basis: five compiler runs, the comparison table and the receipt digest. Uses caller-supplied documents; no answer generation, factual verification or guaranteed token-billing savings.

BaseArbitrumPolygonAnswering
POSThttps://www.mahastrategies.com/api/v1/context/budget-ladder

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://www.mahastrategies.com/api/v1/context/budget-ladder", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"budgetMode":"guaranteed","clientRequestId":"req_budget_ladder_001","documents":[{"id":"release","text":"The release may proceed only after the security owner approves the evidence packet.\n\nThe rollback begins when the error rate exceeds two percent for five minutes.\n\nRoutine status notes describe staffing and meeting schedules.","title":"Release rule"},{"id":"operations","text":"The operator),
});
console.log(await res.json());

Example input

{"budgetMode":"guaranteed","clientRequestId":"req_budget_ladder_001","documents":[{"id":"release","text":"The release may proceed only after the security owner approves the evidence packet.\n\nThe rollback begins when the error rate exceeds two percent for five minutes.\n\nRoutine status notes describe staffing and meeting schedules.","title":"Release rule"},{"id":"operations","text":"The operator