SeiraDocs
Self-hosting

Benchmarks

What Seira adds on a small server, measured, and the standard agent benchmarks.

Seira runs the engines you already use: Claude Code, Codex, OpenCode and others. The engine and its model decide how smart and how fast an answer is. These benchmarks measure what Seira itself adds: the install, the memory and CPU it keeps, the time it takes to start, and the time it adds to each chat turn.

Every number in Results: a small VPS comes from one script, scripts/bench-server.ts, run on a released version. The raw output is in docs/benchmarks/. Run the script on your own server to get your own numbers (see Run it yourself).

Results: a small VPS

Seira 0.1.194 from npm, on a VPS with 2 vCPU (Intel Xeon Silver 4216, 2.10 GHz), 7.3 GB of memory, Ubuntu 26.04.1 LTS and Node 24.22.3. Two runs on 2026-11-26, one after the other, with nothing else running on the server.

MeasureRun 1Run 2
Install with npm, empty cache10.7 s6.2 s
Download / on disk55 MB / 166 MB55 MB / 166 MB
Start to healthy, new data folder (median of 5)2.9 s2.9 s
Start to healthy, existing data folder (median of 5)2.7 s2.8 s
Memory at idle, both processes390 MB383 MB
CPU at idle (one core = 100%)0.6%0.7%
CPU in the first minute after start12.9%12.0%
Seira time per chat turn, p50 / p95397 ms / 430 ms392 ms / 422 ms
Part of that before the model request, p50371 ms363 ms
10 bots get a message at once: last turn ends after3.9 s4.0 s
/api/health at max load2,586 req/s, p99 37 ms2,927 req/s, p99 32 ms
/api/health at 100 req/s, p50 / p991.5 ms / 3.7 ms1.7 ms / 3.5 ms
List of 12 bots at max load638 req/s, p99 139 ms731 req/s, p99 133 ms
List of 12 bots at 100 req/s, p50 / p993.3 ms / 12.0 ms3.3 ms / 12.1 ms

Install time depends on the network to the npm registry. The other numbers depend on the CPU.

What the numbers show

  • Small enough for a 2 vCPU server. At idle Seira uses about 0.7% of one core and less than 400 MB of memory. After 81 chat turns on 11 bots the memory was 534 MB (run 1) and 550 MB (run 2).
  • Two processes. seira serve keeps a small supervisor (about 122 MB) that starts the server again if it stops. The server itself uses about 260 MB.
  • The first 20 seconds are busy. After a start, Seira runs the sandbox self-check (33 checks in less than 1 second) and prepares the browser. On the first start in a data folder it also installs OpenCode as a free engine. The CPU is back at idle after about 20 seconds.
  • The model decides the speed of a chat. A real model takes seconds for an answer. Seira adds about 0.4 s to each turn on this CPU, most of it before the request goes to the model.
  • Turns that start together wait for each other. 10 bots that get a message at the same moment finish in about 4 s, which is 10 times the time of one turn. So the work before the model request does not run in parallel. With a real model the bots still wait for the model in parallel.
  • The HTTP API is fast at normal load. At 100 requests per second the p99 is under 4 ms for health and about 12 ms for the bot list.

Notes for Ubuntu 26.04

  • Ubuntu 26.04 has Node 22 in its own packages, without npm. Seira needs Node 24. Install it from NodeSource, as the VPS guide shows.
  • The one-command Docker installer accepts Ubuntu 22.04 and 24.04. On 26.04 it stops, unless you set SEIRA_INSTALL_ALLOW_UNTESTED_OS=1.
  • A minimal Ubuntu 26.04 has no unzip. Without it Seira cannot prepare Chrome at the first start, and bots use the engine's own browser. Run npx @seira-bot/seira browser install --with-deps to give bots a browser.

Results: real models on a small VPS

Seira 0.1.194 in Docker (ghcr.io/seira-bot/seira), on a second VPS with 2 vCPU (AMD EPYC 9754), 7.6 GB of memory and Ubuntu 24.04. On 2026-11-26, 164 tasks went to real models: Claude Opus 5.5, Sonnet 5.5 and Haiku 5.5 (effort medium), Codex GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna (effort medium), and the free OpenCode model. 156 tasks passed the answer check.

A separate harness ran these tests, not bench-server.ts. Issue #662 has the method, all tables and each failure. The summary data is in 2026-11-26-vps-2vcpu-real-models.json.

Memory in this section is PSS. A memory page that processes share counts once, split between them. So PSS is lower than the RSS sum in the table above.

One model at a time

The task: make a file with a table of the first 10 prime numbers, read it back, and reply with the sum. Each run starts a new chat. 3 runs per model.

ModelEngine memory, p50Task time, p50 / p95Follow-up in the same chat, p50Input tokens of an empty turnInput / output tokens of the task
Claude Opus 5.5235 MiB7.1 s / 7.3 s1.0 s23,50548,319 / 319
Claude Sonnet 5.5377 MiB5.4 s / 5.9 s1.0 s23,39747,831 / 242
Claude Haiku 5.5226 MiB5.6 s / 6.0 s0.8 s24,22750,210 / 514
GPT-6.2 Sol442 MiB23.4 s / 26.4 s4.9 s20,42584,032 / 425
GPT-6.1 Terra327 MiB9.9 s / 13.9 s4.3 s20,15741,092 / 207
GPT-6 Luna336 MiB10.3 s / 10.3 s4.1 s19,53140,105 / 186
OpenCode beam-free452 MiB16.3 s / 19.0 s3.6 s12,00342,670 / 168

Engine memory is the peak of the new engine and its MCP helper processes. A follow-up uses the engine that is still loaded, so it adds no memory. With 3 runs, p95 is the slowest run.

Many tasks at once

The same task on a pool of bots of one engine, all sent at the same moment.

Engine (model)Tasks at oncePassedMemory peakTask time, p50 / p95CPU, mean (2 vCPU = 200%)
Claude (Haiku 5.5)11/1657 MiB4.9 s / 4.9 s52%
44/41,909 MiB8.6 s / 9.3 s161%
88/83,531 MiB15.1 s / 17.8 s162%
1212/123,645 MiB23.1 s / 28.5 s156%
Codex (GPT-6 Luna)11/1678 MiB11.2 s / 11.2 s15%
43/41,135 MiB11.5 s / 13.7 s61%
87/81,752 MiB15.3 s / 23.1 s84%
1211/121,772 MiB15.6 s / 26.4 s111%
OpenCode (beam-free)11/1908 MiB29.5 s / 29.5 s22%
44/41,637 MiB18.2 s / 21.9 s73%
88/82,341 MiB20.9 s / 22.1 s128%
1212/122,988 MiB50.8 s / 149.5 s70%

The memory peak includes the server and engines that were still loaded from earlier rows. The failed Codex tasks gave a wrong sum. They were not server failures.

What the real-model numbers show

  • Each bot that works adds about 200 to 450 MiB. That is the engine and its MCP helper processes. When many bots work at once, each new engine adds about 190 to 250 MiB, because the processes share more pages. OpenCode starts one shared server (about 500 MiB with the first bot), then adds about 100 MiB for each bot.
  • The MCP helpers are a large part. Each engine starts its own 4 or 5 Node helper processes. They are 41% of the engine memory on Claude and 48% on Codex.
  • CPU is the limit on 2 vCPU, not memory. From 4 Claude tasks at once the CPU stays near 160%, and the task time grows from 4.9 s to 23.1 s at 12 tasks. Codex and OpenCode do more of the work at the provider.
  • Memory stays well below 8 GB. 12 Claude tasks at once peaked at 3.6 GiB, and the server kept at least 2.4 GiB free. No turn waited for memory.
  • Each turn has a fixed token cost. An empty turn sends about 23,000 to 24,000 input tokens on Claude, about 20,000 on Codex and 12,000 on OpenCode. The prompt cache serves most of them.
  • Departments multiply tokens. A chief that gives work to 2 teammates used 130,000 to 400,000 input tokens per job, 5 to 10 times one bot alone.
  • Memory comes back. After the load, when all engines had stopped, the server used 374 MiB with 53 bots. Before the load it used 426 MiB.

Run it yourself

You need a Linux server with Node 24 or newer. For the HTTP part, put oha on PATH. Without oha the script skips that part.

curl -fsSLO https://raw.githubusercontent.com/seira-bot/seira/main/scripts/bench-server.ts
node bench-server.ts --out bench-server.json
  • The script installs the newest release into a temporary folder. --version 0.1.194 picks a version. --seira PATH measures a seira command that you installed already.
  • Each server gets a temporary data folder and port 28799. Your own Seira data and port 8799 stay untouched.
  • It uses no AI account and sends nothing to a model provider. A fake model on 127.0.0.1 answers each turn.
  • It takes about 8 minutes. It writes bench-server.json and a summary table in bench-server.md.
  • Stop other heavy work on the server first. A busy server gives slower numbers.

What each number means

MeasureHow the script gets it
Installnpm install of @seira-bot/seira into an empty folder with an empty npm cache. Download is the size of that cache. On disk is the size of node_modules.
Start to healthyFrom the start of seira serve to the first 200 from /api/health. Five runs with a new data folder, five with a data folder that a previous start filled. The table shows the median.
Memory at idleThe sum of the resident memory (RSS) of every process of the server, after 2 to 3 minutes without work.
CPU at idleCPU time of every process of the server, sampled every 10 seconds. The table shows the mean of the last 60 seconds of a 180-second idle period.
Seira time per chat turnA fake OpenAI-compatible model on 127.0.0.1 answers "OK" at once. The script sends a message and waits for the turn to end on the event stream. The model takes about 0 ms, so the time is the work of Seira. One bot, 50 turns after one warm-up turn.
Bots at once10 bots each get one message at the same time. Three rounds. The table shows the time until the last turn ends.
HTTPoha for 20 seconds per run. Max load: 50 connections, as fast as the server answers. Fixed rate: 10 connections at 100 requests per second with --latency-correction, which counts the time a request waits to be sent.

Agent benchmarks

The numbers above describe Seira, not the engine. To compare how well an engine does real work, use a standard agent benchmark. These are the common ones in 2026:

BenchmarkWhat it measuresFit for Seira
Terminal-Bench 2.1Tasks in a terminal inside a container: coding, system work, data work. Runs on the Harbor framework, which already has Claude Code, Codex and OpenCode agents.Best fit. Run the same engine directly and through Seira. Equal scores show that Seira keeps the engine's quality.
SWE-bench Verified500 real GitHub issues: the agent writes a patch, and the project's tests check it.Good for coding claims. The official board takes new entries only with a paper.
τ²-benchA support agent talks to a simulated customer and uses tools under rules (airline, retail, telecom).Fits bots that serve customers.
GAIAGeneral assistant questions that need search, files and several steps.Fits a research bot.
OSWorld-Verified369 tasks on a real desktop with mouse and keyboard.Fits computer use only.
MCP-UniverseTasks that need tools from MCP servers in six areas.Fits connected apps and custom MCP servers.

Each run of these needs a model account and costs money. The Terminal-Bench board asks for 5 trials of every task. Publish such a score with the engine, model, Seira version, trial count and date, as the boards do.

How other projects publish footprint numbers

Small agent projects often publish a table of memory, start time and install size. Many copy the numbers of other projects from their README files. Measure every project on the same server with the same script before you compare. A single-process agent and Seira do different work: Seira also serves the web app, the event stream, the bots' sandbox and many bots at once.

On this page