PerformanceBlog
Tempo MCP serverGive agents search and read tools for Tempo docs
Skip to content
LogoLogo

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 compute payment 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 enables paid code execution

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.

Compute services you can pay for

ProviderCapabilitiesService URL
ModalServerless GPU compute, AI/ML workloadsmodal.mpp.tempo.xyz
Judge0Code execution in 60+ languages, sandboxedjudge0.mpp.paywithlocus.com
Build With LocusContainers, Postgres, Redis, custom domainsmpp.buildwithlocus.com

Try Judge0 with Tempo payments

# 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 to buy code execution

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

Next steps for compute payments