Skip to content
Fourohtwo

www.cloudworldmodel.ai/api/simulations/stateless

Simulate a cloud architecture (1-8 resources on AWS, GCP, Azure, OCI or DigitalOcean) under a traffic load and get modeled cost per hour, p50/p95/p99 latency where supported, throughput, error rate, reliability and autoscaling results in one synchronous call. Use it before provisioning or resizing to compare designs. No account or saved simulation; deterministic by seed. $0.003 per call.

BaseAnswering
POSThttps://www.cloudworldmodel.ai/api/simulations/stateless

Uptime100% of 2 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://www.cloudworldmodel.ai/api/simulations/stateless", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"seed":42,"steps":3,"traffic":{"change":{"atStep":2,"targetRps":2000},"initialRps":500},"resources":[{"id":"web-1","name":"Web server","type":"compute","provider":"aws","characteristics":{"autoscaling":true,"instanceType":"t3.medium"}}],"autoscaling":{"maxInstances":4,"minInstances":1,"targetCpuPercent":70}}),
});
console.log(await res.json());

Example input

{
  "seed": 42,
  "steps": 3,
  "traffic": {
    "change": {
      "atStep": 2,
      "targetRps": 2000
    },
    "initialRps": 500
  },
  "resources": [
    {
      "id": "web-1",
      "name": "Web server",
      "type": "compute",
      "provider": "aws",
      "characteristics": {
        "autoscaling": true,
        "instanceType": "t3.medium"
      }
    }
  ],
  "autoscaling": {
    "maxInstances": 4,
    "minInstances": 1,
    "targetCpuPercent": 70
  }
}