cpuosBeta

Available in the CPU jobs pilot · Base profile

Node jobs

Run short Node 24 JavaScript jobs with CPU, memory and timeout limits, no network and a checked stdout/stderr result.

Available in the CPU jobs pilot

Node is available for JavaScript validation, parsing and small transforms using built-in modules. It is not a web server, TypeScript build system or package-installation environment.

Current jobs run on your connected Docker worker. Containers share its kernel. Use trusted team code on a purpose-allocated machine.

Submit a bounded job

Code to paste into a job
const values = [12, 18, 25]console.log(JSON.stringify({count: values.length, total: values.reduce((a,b) => a+b,0)}))

Choose the node runtime in the dashboard or POST /v1/jobs. Set 1 or 2 CPUs, 128–2048 MiB and a 1–120 second deadline. The starting profile shown here is 1 CPU and 0.25 GB; adjust it after a representative fixture.

Define the result contract

An accepted job is queued, not complete. Poll GET /v1/jobs/:id and inspect terminal status, exitCode, stdout, stderr, error and outputTruncated. The worker returns logs after execution. Do not infer success from a request being accepted.

The pilot does not retain a running interpreter or workspace across jobs. Keep only bounded output needed by the caller, and keep credentials out of code and logs.

Validate the representative workload

  • Check an expected successful output and a deliberate failure.
  • Exercise the deadline, output limit, cancellation and worker disconnection.
  • Verify ownership by trying an unrelated workspace key in a disposable test.
  • Keep external publication or irreversible actions outside the job and under application authorization.

Start with the quickstart. The runtime catalog distinguishes current jobs from planning references.

Questions

Is this available today?
Yes, for the bounded standard-library task described on this page. Connect your Docker worker and submit a job.
Can jobs reach the internet or keep files?
Job networking is disabled and scratch space is discarded. There is no file-transfer API or persistent session. Worker polling and runtime-image pulls use the host network.
What execution boundary does the pilot provide?
Restricted Docker containers share the host kernel. Allocate the worker to trusted team tasks; do not use the pilot for hostile multi-tenant execution.

Related guides

Plan your node task

Create a workspace and connect your Docker worker. The current pilot supports bounded Python and Node standard-library jobs.

gpuOS · where models think

Need the model too? Run it on gpuOS

gpuOS serves open models on your own GPUs behind one OpenAI-compatible API. Your application can submit authorized actions to cpuOS jobs.