Apify AI Code Sandbox vs Gemini Enterprise Agent Platform Code Execution

Apify AI Code Sandbox bills memory only, at $0.20 per GiB-hour. Gemini Enterprise Agent Platform Code Execution costs $0.085 per vCPU-hour. Apify AI Code Sandbox runs containers and has no session limit. Gemini Enterprise Agent Platform Code Execution runs containers and limits a session to 336 hours.

Updated

Apify AI Code Sandbox

Isolation
Container
Free tier
$5 of usage every month
Max session
No limit

Gemini Enterprise Agent Platform Code Execution

Isolation
Container
Free tier
50 vCPU-hours and 100 GiB-hours free per month
Max session
336 hours

What is different

7 fields differ. The rest are the same or not listed.

Apify AI Code Sandbox
Gemini Enterprise Agent Platform Code Execution
vCPU, per hour
Apify AI Code Sandbox: Included
Gemini Enterprise Agent Platform Code Execution: $0.085
RAM, per GiB-hour
Apify AI Code Sandbox: $0.20
Gemini Enterprise Agent Platform Code Execution: $0.009
Free tier
Apify AI Code Sandbox: $5 of usage every month
Gemini Enterprise Agent Platform Code Execution: 50 vCPU-hours and 100 GiB-hours free per month
Paid plan from
Apify AI Code Sandbox: $19 / month
Gemini Enterprise Agent Platform Code Execution: Pay as you go
Billing
Apify AI Code Sandbox: Memory only
Gemini Enterprise Agent Platform Code Execution: Per second
Max session
Apify AI Code Sandbox: No limit
Gemini Enterprise Agent Platform Code Execution: 336 hours
SDKs
Apify AI Code Sandbox: Python, JavaScript / TypeScript
Gemini Enterprise Agent Platform Code Execution: Python

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Apify AI Code Sandbox: Included
Gemini Enterprise Agent Platform Code Execution: $0.085
RAM, per GiB-hour
Apify AI Code Sandbox: $0.20
Gemini Enterprise Agent Platform Code Execution: $0.009
Storage
Apify AI Code Sandbox: Disk in the run is part of the compute price. The workspace backup goes to a key-value store at $1 per 1,000 GB-hours, plus reads and writes. Data transfer out $0.20 per GB
Gemini Enterprise Agent Platform Code Execution: Not listed
Free tier
Apify AI Code Sandbox: $5 of usage every month
Gemini Enterprise Agent Platform Code Execution: 50 vCPU-hours and 100 GiB-hours free per month
Paid plan from
Apify AI Code Sandbox: $19 / month
Gemini Enterprise Agent Platform Code Execution: Pay as you go
Billing
Apify AI Code Sandbox: Memory only
Gemini Enterprise Agent Platform Code Execution: Per second

Limits

Max session
Apify AI Code Sandbox: No limit
Gemini Enterprise Agent Platform Code Execution: 336 hours
Idle stop
Apify AI Code Sandbox: After 15 minutes
Gemini Enterprise Agent Platform Code Execution: Not listed
Largest sandbox
Apify AI Code Sandbox: Not listed
Gemini Enterprise Agent Platform Code Execution: 4 vCPU · 4 GiB
Concurrent sandboxes
Apify AI Code Sandbox: Up to 256
Gemini Enterprise Agent Platform Code Execution: Not listed

Platform

Isolation
Apify AI Code Sandbox: Container
Gemini Enterprise Agent Platform Code Execution: Container
GPU
Apify AI Code Sandbox: Not listed
Gemini Enterprise Agent Platform Code Execution: Not listed
Snapshots
Apify AI Code Sandbox: Not listed
Gemini Enterprise Agent Platform Code Execution: No
Pause and resume
Apify AI Code Sandbox: Not listed
Gemini Enterprise Agent Platform Code Execution:

Developer

SDKs
Apify AI Code Sandbox: Python, JavaScript / TypeScript
Gemini Enterprise Agent Platform Code Execution: Python
Integrations
Apify AI Code Sandbox: MCP, Claude Code
Gemini Enterprise Agent Platform Code Execution: Not listed

Trust

License
Apify AI Code Sandbox: Not listed
Gemini Enterprise Agent Platform Code Execution: Not listed
BYOC
Apify AI Code Sandbox: Not listed
Gemini Enterprise Agent Platform Code Execution: Not listed

Hourly cost

One sandbox running for one hour

Apify AI Code Sandbox
Gemini Enterprise Agent Platform Code Execution
1 vCPU · 2 GiB
Apify AI Code Sandbox: $0.400
Gemini Enterprise Agent Platform Code Execution: $0.103
2 vCPU · 4 GiB
Apify AI Code Sandbox: $0.800
Gemini Enterprise Agent Platform Code Execution: $0.206
4 vCPU · 8 GiB
Apify AI Code Sandbox: $1.600
Gemini Enterprise Agent Platform Code Execution: $0.412

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Apify AI Code Sandbox fits when

  • A session must run longer than 336 hours.
  • You use MCP or Claude Code.
  • You want one rate for memory, with CPU included.
  • You need SOC 2 Type II and GDPR.

Gemini Enterprise Agent Platform Code Execution fits when

  • You want to pay only for usage, with no plan fee.
  • You want the lower list price: $0.206 against $0.800 an hour for 2 vCPU and 4 GiB.
  • You need pause and resume.

More comparisons

See all comparisons

Related