# Run your E2B agent code with 24-hour sessions and no monthly fee

> Source: <https://dev.to/thomasmetz/run-your-e2b-agent-code-with-24-hour-sessions-and-no-monthly-fee-5b6d>
> Published: 2026-11-30 18:05:47+00:00

**Key takeaway:** Switching to an E2B-compatible provider is a one-variable change (E2B_DOMAIN), and getrollouts.dev bills $0.040 per vCPU-hour and $0.013 per GiB-hour with no monthly fee, about 20% below E2B's published rates.

If your AI agent executes code, you probably use E2B's sandboxes. They're great, but on the free tier a session ends after one hour, and longer sessions need the $150/month Pro plan.

I host an E2B-compatible service, getrollouts.dev, on my own servers in Switzerland. Background: I'm a systems engineer (Swiss HF diploma) finishing a MAS in Data Science, and I run the infrastructure myself. Because it runs the open-source E2B runtime, switching is one environment variable.

```
pip install e2b-code-interpreter
export E2B_API_KEY=e2b_...          # from getrollouts.dev/portal
export E2B_DOMAIN=getrollouts.dev
```

Your code stays the same:

``` python
from e2b_code_interpreter import Sandbox

with Sandbox.create(timeout=3600) as sbx:
    sbx.run_code("import pandas as pd; df = pd.DataFrame({'a': [1, 2, 3]})")
    print(sbx.run_code("df['a'].sum()").text)   # 6
```

`https://8000-<id>.getrollouts.dev`
$0.040 per vCPU-hour and $0.013 per GiB-hour, billed per second, prepaid. The default sandbox (2 vCPU, 512 MiB) costs about $0.087 per hour; the code interpreter (2 vCPU, 2 GiB) about $0.106. That's roughly 20% below E2B's published usage rates, and there is no monthly fee. New accounts get free trial credit, no card needed.

Runnable examples on GitHub: [getrollouts/examples](https://github.com/getrollouts/examples). They cover parallel rollouts for evals and RL, network isolation, data analysis, custom templates, running a repo's test suite, pause/resume, LangChain, Deep Agents and TypeScript.

There's also a [LangChain/LangGraph guide](https://getrollouts.dev/guides/langchain) and a [comparison with E2B's plans](https://getrollouts.dev/vs-e2b).

It's a small provider: no SLA yet, maintenance is announced by email. It's independent and not affiliated with E2B. If you need a hyperscaler's guarantees, stay where you are. If you want long sessions for side projects and agents without a subscription, give it a try: [https://getrollouts.dev](https://getrollouts.dev)

I'd love feedback in the comments: does it work with your agent framework, and what would you need before trusting a small provider?
