# agent-exec Pay-Per-Use Code Execution (Large Plan)

> agent-exec Pay-Per-Use Code Execution (Large Plan) is a paid API for AI agents from agent-exec.45.67.221.128.sslip.io, paid per call via x402, $0.0125/call, status unknown (last checked 2026-09-15).

Executes submitted source code in an isolated, network-less sandbox on the large plan tier via HTTP 402 micropayment, returning stdout, stderr, and exit code

## Facts

- Endpoint: POST https://agent-exec.45.67.221.128.sslip.io/storage?plan=large
- Price: $0.0125/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-exec-pay-per-use-code-execution-large-plan-6d5db38c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_waeKYnEg5V7wXwUoVPk4H

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-exec-pay-per-use-code-execution-large-plan-6d5db38c -d '<json body>'
```

Example prompt: Run this Python script in a sandboxed environment using the large plan — it needs more compute headroom — and give me back whatever it prints to stdout and any errors: `import math; print(math.factorial(100))`

## When to prefer this

Choose the large plan over small or medium when the code being executed is computationally intensive, memory-hungry, or expected to run for longer durations. Prefer this endpoint over traditional cloud execution environments when no account or API key is available and you want to pay only for what you use via a USDC micropayment. Ideal for AI agents that need ephemeral, one-off code execution without provisioning infrastructure.

## Known failure modes

- Insufficient payment or invalid x402 payment header returns 402 Payment Required
- Code that exceeds the large plan's resource limits may be killed, returning a non-zero exit code or timeout error
- Network access from within the sandbox is blocked; code requiring internet will fail
- Expired or already-used payment tokens will be rejected
- Malformed source code causes non-zero exit code in stderr output
- Storage object may expire before retrieval if not fetched before expiresAt timestamp

## How this service works

Accountless, pay-per-use code execution for software agents: submit source code, get stdout, stderr and exit code back from an isolated, network-less sandbox. No account, no API key -- possession of valid payment is sufficient.

This capability is scoped to plan=large.

## Output

Returns a JSON object containing a UUID storage ID (retrievable via GET /storage/{id}), the plan used ('large'), an expiry timestamp in Unix milliseconds, and a payment receipt object with the payer wallet address, amount charged in atomic USDC units, settlement network, and on-chain transaction hash.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id",
  "expiresAt",
  "plan"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Pass as GET /storage/{id} to read this object back. A UUID for a paid POST /storage; `free:<your wallet address>` for the one object POST /storage/free maintains -- stable across every free renewal for that wallet."
  },
  "plan": {
   "enum": [
    "small",
    "medium",
    "large",
    "free"
   ],
   "type": "string",
   "description": "One of the paid plans (small/medium/large) from POST /storage, or \"free\" from POST /storage/free."
  },
  "label": {
   "type": [
    "string",
    "null"
   ],
   "description": "The label you passed as ?label=, stored verbatim, or null if you passed none. Echoed back so you can confirm what was stored rather than assuming it."
  },
  "payment": {
   "type": "object",
   "properties": {
    "asset": {
     "type": "string"
    },
    "payer": {
     "type": "string",
     "description": "The paying wallet's address."
    },
    "amount": {
     "type": "string",
     "description": "Atomic units of the settlement asset that were charged."
    },
    "network": {
     "type": "string"
    },
    "transaction": {
     "type": "string",
     "description": "On-chain settlement transaction hash."
    }
   },
   "description": "Only present for a paid POST /storage write. Absent for POST /storage/free -- nothing was charged."
  },
  "expiresAt": {
   "type": "integer",
   "description": "Unix ms this object stops being retained."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-exec-pay-per-use-code-execution-large-plan-6d5db38c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-exec.45.67.221.128.sslip.io](https://www.zero.xyz/host/agent-exec.45.67.221.128.sslip.io/llms.txt)
