Run GPU workloads on Nebius Serverless β no infrastructure management, per-second billing, GPU in minutes.
This repo contains runnable code samples for Serverless AI Jobs (batch workloads that auto-terminate) and Endpoints (persistent HTTP-accessible services), plus 1-click templates that open the Nebius Console with fields pre-filled. Examples cover model training, fine-tuning, inference serving, AI agents, and scientific simulations.
Spin up a GPU job and verify your setup:
nebius ai job create \
--name my-first-job \
--image nvidia/cuda:13.1.1-runtime-ubuntu24.04 \
--container-command bash \
--args "-c nvidia-smi" \
--platform gpu-l40s-a \
--preset 1gpu-8vcpu-32gb \
--timeout 15m
# Get the job ID and stream logs
export JOB_ID=$(nebius ai job get-by-name --name my-first-job \
--format jsonpath='{.metadata.id}')
nebius ai logs "$JOB_ID"β Full walkthrough: first-job.md
- Create a Nebius account and set up a project
- Install the Nebius CLI
- Configure your CLI profile
Pick the section that matches your goal β each links to runnable examples:
- π Quickstarts β lowest-friction first runs.
- π¦ Templates β 1-click Console deploy (pre-filled create forms).
- ποΈ Training β model training and fine-tuning workloads.
- β‘ Inference β endpoint serving and batch inference workloads.
- π€ Agents β AI gateway and agent deployments.
- 𧬠Life Science β domain-specific simulation and analysis workloads.
- π¦Ύ Robotics β simulation, dataset generation, and robotics workflows.
Lowest-friction first runs.
first-jobβ runnvidia-smiin a Serverless AI jobfirst-endpointβ deploy a quicknginxendpoint
1-click deploy into the Nebius Console β fields pre-filled; adjust before create if needed.
| Template | Deploy | Modality |
|---|---|---|
| Qwen3-0.6B | LLM | |
| Qwen3-VL-Embedding-8B | Embeddings | |
| Cosmos 3 Reasoner | Physical AI | |
| Cosmos 3 Generator | Physical AI | |
| AutoDock-GPU REST + MCP | Molecular docking (AutoDock-GPU is GPL-2.0) | |
| AutoDock Vina REST + MCP | Molecular docking | |
| OpenMM REST + MCP | Molecular dynamics (OpenMM is MIT + LGPL-3.0) | |
| Sana | Text-to-image | |
| Qwen-Image-Edit-2511 | Image-to-image | |
| Wan2.1-T2V-1.3B | Text-to-video | |
| Wan2.2-I2V-A14B | Image-to-video | |
| Kokoro-82M | Text-to-speech | |
| GROMACS REST + MCP | Molecular dynamics |
β Full catalog (music, fine-tuning jobs, more): templates/README.md
Model training and fine-tuning workloads.
axolotl-finetuningβ get started fine-tuning with Axolotlimage-classifier-finetuningβ fine-tune an image classifier on a HuggingFace dataset in a serverless GPU jobtrain-and-serveβ fine-tune TinyLlama in a Job and serve it with a vLLM Endpoint
Endpoint serving and batch inference workloads.
document-searchβ index 1,000 reference passages with Qwen in a Serverless Job and search the saved embeddingsbatch-video-generationβ generate 200 Wan clips from VBench prompts and resume unfinished downloadsvllm-endpointβ serve Qwen with an OpenAI-compatible vLLM endpointnim-endpointβ deploy an NVIDIA NIM as an endpoint, including the large-image Container Registry workaroundtwo-models-one-endpointβ run two vLLM models on one multi-GPU endpoint, split byCUDA_VISIBLE_DEVICES, each on its own port and URLflux2-klein-loraβ build and serve a verified FLUX.2 Klein base 4B LoRA image endpoint
AI gateway and agent deployments.
openclawβ deploy OpenClaw AI gateway on a CPU endpoint, connected to TokenFactory
Domain-specific simulation and analysis workloads.
bionemo-agentβ deploy an NVIDIA NeMo Agent Toolkit BioNeMo research assistant with a GPU BioNeMo-compatible servicerfd4-proteinaβ protein design with NVIDIA NIM or the public Hugging Face model, using bucket inputs and outputsopenmm-simulationβ run GPU-backed molecular dynamics simulations with OpenMMparabricks-deepvariantβ run NVIDIA Parabricks DeepVariant genomics workflows with Nebius AI Jobs
Robotics and physical-AI experiment loops.
isaac-pick-place-sweepβ run one Isaac Sim GPU job per Franka sweep case; verify S3 results and replay recorded motionlerobot-finetune-jobβ fine-tune a LeRobot ACT or Diffusion policy on a robotics dataset in a serverless GPU jobsmolva-ft-norma-coreβ fine-tune SmolVLA for SO-101 with bundled trajectoriesunity-pick-and-place-demoβ run Unity UR3 pick-and-place with ROS 2 and a shipped learned servo in one Nebius GPU job; verify video, recordings, and task evidence from Object Storage
External examples and writeups from the community running serverless workloads on Nebius. Got something to add? Open a PR.
- π‘οΈ rl-gym β Audited RLVR for secure Terraform β Train open models with SFT + GRPO on Nebius Serverless AI Jobs to generate secure Terraform, using verifiable security rewards, self-repair, and reward-hacking audits. Future work extends the same training and audit pipeline to Kubernetes, tool-calling, and voice environments. β by Nikita Shigarov Β· π» code Β· π post
- π€ Positronic + Nebius serverless workflows β Convert datasets, train ACT/SmolVLA, and serve checkpoints as endpoints β all serverless on Nebius. β by vertix Β· π» code
- π¦Ύ norma-core SmolVLA β Nebius fine-tune recipe β Upstream recipe the
robotics/smolva-ft-norma-coreexample mirrors. β by norma-core Β· π» code - π© Soft-surface washer pick with Nebius Serverless AI Jobs β A UR10e in Isaac Sim flips a flat washer off a compliant surface; 38 H100 Jobs co-optimize material Γ maneuver, ES-training checkpoints ride home base64-encoded in the job logs, and a CPU Endpoint serves the grasp-success scorer. β by David Cox Β· π» code Β· π¬ video
- π¬ Video transcription pipeline with Prefect + Nebius β Prefect flows orchestrating S3 + ffmpeg (CPU job) + Whisper (GPU job) on Nebius. β by Darko Mesaros Β· π» code Β· π post
- π LOB Arena β Adversarial market-surveillance evaluation β Governed historical + synthetic order-book validation platform for benchmarking surveillance detectors, with Nebius Serverless AI Jobs and Endpoints for scalable evaluation and AI-assisted investigation. β by Alexey Khabalov Β· π» code Β· π post
serverless-cookbook/
βββ quickstarts/ # Lowest-friction first runs
βββ templates/ # 1-click Console deploy templates
βββ training/ # Model training and fine-tuning
βββ inference/ # Endpoint serving and batch inference
βββ agents/ # AI gateway and agent deployments
βββ life-science/ # Domain-specific simulations
βββ robotics/ # Robotics and physical-AI workflows
βββ CONTRIBUTING.md
βββ DEVELOPER_GUIDE.md
This repository is based on mnrozhkov/serverless-cookbook. Thanks to the original contributors: Mikhail Rozhkov, Gleb Berjoskin, Aleksandr Dzhumurat, and Re Alvarez Parmar.
See CONTRIBUTORS.md for the full list.
Copyright 2026 Nebius B.V.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Apache and the Apache logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and/or other countries.
Note: This repository is maintained by Nebius engineers as a community resource β not official product documentation. APIs and behavior may evolve. For authoritative reference, see docs.nebius.com/serverless.