> Feedback: If these docs are stale, missing, or confusing, post sanitized feedback to `https://docs.tempo.xyz/api/feedback` with `source: "mcp"`, a short `message`, and any relevant `toolName`, `relatedResource`, or `client`.
# Pay for compute and code execution

Let your agents run code in sandboxed environments, deploy containers, and access GPU compute — pay per use with stablecoins on Tempo. No cloud accounts, no billing dashboards, no credit cards.

## The problem

Cloud compute requires account creation, billing setup, and credential management before running a single line of code. For agents that need to execute code snippets, deploy temporary services, or run GPU workloads, the overhead of provisioning cloud accounts is disproportionate to the task. Sandbox environments like CodeSandbox or Replit target human developers, not programmatic access.

## How MPP solves it

With MPP, your agent pays per execution or per compute-minute with stablecoins on Tempo. Submit code, pay, get results — all in one HTTP request. No accounts, no API keys, no cloud provider onboarding.

**Tempo Charge** works well for discrete tasks like running a code snippet. For longer-running workloads or metered compute, **Tempo Sessions** let the agent pay incrementally as resources are consumed.

## Available services

| Provider | Capabilities | Service URL |
|---|---|---|
| Modal | Serverless GPU compute, AI/ML workloads | `modal.mpp.tempo.xyz` |
| [Judge0](https://judge0.mpp.paywithlocus.com) | Code execution in 60+ languages, sandboxed | `judge0.mpp.paywithlocus.com` |
| [Build With Locus](https://mpp.buildwithlocus.com) | Containers, Postgres, Redis, custom domains | `mpp.buildwithlocus.com` |

## Try it

```bash
# Install Tempo CLI + wallet
curl -L https://tempo.xyz/install | bash && tempo add request && tempo wallet login

# Execute Python code via Judge0
tempo request judge0.mpp.paywithlocus.com/submissions \
  -d '{"source_code": "print(42)", "language_id": 71}'
```

## Prompt your agent

```
Use judge0.mpp.paywithlocus.com to run Python code via Tempo.
Pay per execution with stablecoins — no account needed.
```

## Next steps

<Cards>
  <Card icon="lucide:repeat" title="Accept pay-as-you-go payments" description="Build session-based billing for metered compute" to="/docs/guide/machine-payments/pay-as-you-go" />

  <Card icon="lucide:server" title="Server quickstart" description="Add payment gating to your own compute API" to="/docs/guide/machine-payments/server" />

  <Card icon="lucide:globe" title="Browse all services" description="85+ MPP-enabled services in the directory" to="https://mpp.dev/services" />
</Cards>
