Create a managed Python 3.11 sandbox
Create a managed Python 3.11 sandbox. Two billing modes selected by 'timeout': ≤300s = flat rate (CPU $0.01, GPU varies). >300s = per-hour billing for the full requested lifetime, no refund on early terminate. Max 24h.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
248 msmedian answer time
$0.011listed price per call
$0.011price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://blockrun.ai/api/v1/modal/sandbox/create
| Category | Code and developer |
|---|---|
| Provider host | blockrun.ai |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 12 from 6 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.011 | 248 ms |
Example input (from the provider)
{
"bodyFields": {
"cpu": {
"description": "CPU cores (max 1 CPU-only, 8 for GPU sandboxes, default: 1)",
"type": "number"
},
"gpu": {
"description": "Optional GPU type. One of: T4, L4, A10G, A100, H100. Flat (\u2264300s): T4 $0.05, L4 $0.08, A10G $0.1, A100 $0.2, H100 $0.4. Hourly: T4 $1.5, L4 $2, A10G $2.5, A100 $4, H100 $8/hour.",
"type": "string"
},
"image": {
"description": "Managed image. Only `python:3.11` is currently available.",
"type": "string"
},
"memory": {
"description": "Memory in MB (max 1024 CPU-only, 32768 for GPU sandboxes, default: 512)",
"type": "number"
},
"timeout": {
"description": "Sandbox lifetime in seconds (max 86400 = 24h, default: 300). >300s switches to hourly billing.",
"type": "number"
}
},
"discoverable": true,
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"properties": {
"input": {
"properties": {
"body": {
"properties": {
"cpu": {
"description": "CPU cores (max 1 CPU-only, 8 for GPU sandboxes, default: 1)",
"type": "number"
},
"gpu": {
"description": "Optional GPU type. One of: T4, L4, A10G, A100, H100. Flat (\u2264300s): T4 $0.05, L4 $0.08, A10G $0.1, A100 $0.2, H100 $0.4. Hourly: T4 $1.5, L4 $2, A10G $2.5, A100 $4, H100 $8/hour.",
"type": "string"
},
"image": {
"description": "Managed image. Only `python:3.11` is currently available.",
"type": "string"
},
"memory": {
"description": "Memory in MB (max 1024 CPU-only, 32768 for GPU sandboxes, default: 512)",
"type": "number"
},
"timeout": {
"description": "Sandbox lifetime in seconds (max 86400 = 24h, default: 300). >300s switches to hourly billing.",
"type": "number"
}
},
"required": [],
"type": "object"
}
},
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"result": {
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}