← oncell.aiCOMPARISON

OnCell vs Modal

Modal is general-purpose serverless compute. OnCell is purpose-built for AI agents that need per-user persistent state.

The core difference

Modal gives you serverless functions and containers. You write Python, define resources, and Modal scales it. It's excellent for ML pipelines, batch jobs, and GPU workloads. But if your AI agent needs per-user storage, a database, and search — you bring those yourself.

OnCell gives each user their own isolated environment with storage, database, and search built in. You don't configure infrastructure — you write agent logic and call ctx.store, ctx.db, ctx.search.

Feature comparison

FeatureOnCellModal
PurposePer-user AI agent environmentsGeneral serverless compute
Per-user isolationBuilt-in — one environment per userManual — you manage user routing
StorageBuilt-in persistent NVMeVolumes (separate config)
DatabaseBuilt-in SQLite per userNot included — bring your own
Search / RAGBuilt-in full-text + vectorNot included — bring your own
Pause / resumeAuto — 200ms resumeCold start ~1-5s
StreamingBuilt-in SSE (ctx.stream())Custom implementation
GPU supportNot availableFull GPU support
LanguagesPython, TypeScriptPython
Pricing modelPer-hour, pause when idlePer-second compute

When to use Modal

Modal is the right choice for GPU workloads, ML model training/inference, batch processing, and general serverless Python. If you need A100s or don't need per-user persistent state, Modal is more flexible.

When to use OnCell

OnCell is the right choice when you're building an AI product where each user needs their own persistent environment — their own files, database, and search index. OnCell eliminates the infrastructure layer between your agent code and the user's state.

Running agents in production, with the numbers

Two teams run agents on oncell today. JustCopy runs one agent per small business at $0.0006 per customer conversation under a $1 per day budget. OpenCrew runs every agent in a crew in its own cell. The customer stories carry the transcripts and the evals.