denk.halowerk.com/v1/rate-limit-planner
Turn RPM/TPM/ITPM/OTPM/daily limits and a workload into a sustainable request rate, concurrency (Little's law), batch duration, token-bucket settings and a capped backoff plan. For each limit the request rate it allows is computed (RPM directly, TPM from input plus counted output tokens, ITPM and OTPM separately, RPD and TPD as daily caps), a safety margin is applied and the binding constraint is
POST
https://denk.halowerk.com/v1/rate-limit-plannerUptime100% of 4 checks 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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://denk.halowerk.com/v1/rate-limit-planner", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"limits":{"rpm":500,"tpm":200000},"provider":"openai","workload":{"input_tokens_per_request":1500,"latency_seconds":4,"output_tokens_per_request":500,"requests":1000}}),
});
console.log(await res.json());Example input
{
"limits": {
"rpm": 500,
"tpm": 200000
},
"provider": "openai",
"workload": {
"input_tokens_per_request": 1500,
"latency_seconds": 4,
"output_tokens_per_request": 500,
"requests": 1000
}
}