Skip to main content
Find answers to frequently asked questions about Hopx Sandboxes.

General Questions

What are Hopx Sandboxes?

Hopx Sandboxes are secure, isolated cloud virtual machines that enable you to run AI-generated code, execute multi-language programs, and perform complex computations in production-like environments. Each sandbox starts in ~100ms and provides complete isolation.

How fast are sandboxes?

Sandboxes start in approximately 100ms (cold start time). This is much faster than traditional containers or VMs.

What languages are supported?

You can execute code in:
  • Python
  • JavaScript/TypeScript
  • Bash (shell)
  • Go
  • .NET (C#)
  • Java
  • PHP

How secure are sandboxes?

Each sandbox is completely isolated:
  • Separate filesystem
  • Separate network namespace
  • Separate process tree
  • Resource limits enforced
  • Encrypted storage

Usage Questions

How do I get started?

  1. Get your API key from the dashboard
  2. Install the SDK: pip install hopx-ai or npm install @hopx-ai/sdk
  3. Create your first sandbox (see Quickstart)

How much do sandboxes cost?

Pricing is based on:
  • Sandbox runtime (per second)
  • Resources used (CPU, memory, disk)
  • Data transfer
Check the dashboard for current pricing.

Can I reuse sandboxes?

Yes! Reusing sandboxes for multiple operations is recommended and more cost-effective than creating new ones for each operation.

How long can sandboxes run?

Sandboxes can run for up to 24 hours (configurable). They automatically delete after inactivity or max lifetime.

Technical Questions

What templates are available?

Common templates include:
  • code-interpreter: Python with data science libraries (Pandas, NumPy, Matplotlib)
  • Custom templates: Build your own with the template builder API

Can I build custom templates?

Yes! You can build custom templates with pre-installed packages and configurations. See the Custom Templates tutorial.

How do I handle errors?

Use try-except blocks and check error types. See the Error Handling guide for best practices.

What are rate limits?

Rate limits vary by plan. Default limits:
  • Sandbox Creation: 100 requests/minute
  • Code Execution: 1000 requests/minute
See Rate Limits for details.

Support Questions

Where can I get help?

How do I report a bug?

Report bugs on GitHub Issues or contact support.

Can I request a feature?

Yes! Feature requests are welcome on GitHub Discussions or Discord.

Next Steps