kosa8 / Use cases

Use case · RL rollouts · Updated 2026-11-24

Fork up to 1,000 rollouts from one prepared sandbox.

kosa8 Cloud forks one prepared sandbox, memory, processes and disk included, into up to 1,000 live copies in a single call, so every RL rollout starts from the exact same state without re-running setup; it runs in one region (us-ash1) and has no Cloud GPUs.

Try now Install

01Who it is for

  • RL and post-training teams whose environment takes minutes to set up (a repo checked out, dependencies installed, a server warm) and who need hundreds of identical starts.
  • Eval teams running SWE-bench-style tasks in parallel, each in its own microVM.

02How to do it

  1. Start an RL run, so every copy is labelled, tracked and drained together.

    terminal
    kosa8 cloud rl runs create grpo-7
  2. Make the base sandbox and prepare it once.

    terminal
    kosa8 cloud sandbox create --size 1x2 --run run_8f2k
    kosa8 cloud sandbox exec sbx_base -- ./setup.sh
  3. Fork it. Each copy resumes exactly where the base was; --lease deletes any a crashed trainer forgets.

    terminal
    kosa8 cloud sandbox fork sbx_base -n 999 --run run_8f2k --lease 10m --prefix rollout
  4. Delete every sandbox of the run when you are done.

    terminal
    kosa8 cloud sandbox drain --run run_8f2k

The same through the API:

terminal
curl -s -X POST https://api.kosa8.com/v1/sandboxes/sbx_base/fork \
  -H "Authorization: Bearer $KOSA8_API_KEY" -H 'Content-Type: application/json' \
  -d '{"n": 999, "run_id": "run_8f2k", "lease_s": 600, "partial_ok": true}'

03What this does not do

  • Up to 1,000 copies a call, made 100 at a time. Every copy, and the parent, counts toward the plan's running limit: Solo 2, Pro 10, Team 25, Scale up to 1,000 (the parent and 999 copies). A +10 running pack adds room on any plan.
  • One host holds the parent and 999 light copies, or about 700 to 770 that each do heavy work; the rest go to other hosts when there are any, otherwise they come back in failed.
  • One region: us-ash1 (Ashburn, Virginia). kosa8 Cloud has no GPUs; run the policy and trainer on your own GPUs.
  • A sandbox holding brokered secrets, or a dedicated one, cannot be forked.
  • An exec answered as one JSON object runs at most 90 seconds; stream or background longer commands.

04What it costs

1,000 at once needs Scale ($199 a person a month, 1,000 sandbox-hours a person included); Pro ($89) runs 10 at once with 500 hours. Above included hours: $0.048 per vCPU-hour and $0.0154 per GiB-hour, per second, up to your spend cap. Every plan, limit and rate: pricing.md (for agents) or the pricing page.

05Read more

06Try it now

Run code in a kosa8 sandbox in your browser, no account, or install kosa8 and start free with no card.

Try now Download kosa8

Updated 2026-11-24