All posts
Training
Modal Team
13 min read

Best Serverless GPU Platforms for LoRA Fine-Tuning in 2026

LoRA (Low-Rank Adaptation) is a parameter-efficient fine-tuning technique that adapts supported foundation models by training a relatively small set of additional parameters instead of updating every model weight. LoRA and QLoRA are commonly used to customize large language models, with QLoRA pairing adapters with quantized base-model weights to reduce GPU memory requirements. LoRA adapters also support specialized image and video generation workflows.

Serverless GPU infrastructure helps teams run fine-tuning jobs without administering a permanent training cluster. Available approaches range from programmable GPU environments to managed, model-specific training APIs, with different levels of control over training code, hardware, checkpoints, and deployment. For teams seeking flexible LoRA pipelines alongside an integrated path to production inference, Modal is our top recommendation. Its code-defined infrastructure brings GPU training, storage, evaluation, and serving into one platform.

This guide compares seven serverless or managed GPU-backed options for LoRA fine-tuning in 2026, with particular attention to training flexibility, model support, operational workflows, and billing approaches.

Key Takeaways

  • Code-defined training gives ML teams control: Modal supports custom LoRA and QLoRA training in Python-defined GPU Functions, with multi-node clusters for coordinated distributed training. Modal Clusters became generally available on October 1, 2026. Its broader SDK ecosystem includes Python, TypeScript, and Go.
  • Fast cold starts support iteration: Modal is engineered for fast cold starts and faster feedback loops. Its optimized filesystem helps containers come online quickly without letting large container images slow startup down.
  • GPU Memory Snapshots support serving workflows: Modal's optional GPU Memory Snapshots, an alpha capability, can preserve initialization state for compatible deployed inference and evaluation Functions, complementing the fine-tuning lifecycle.
  • Billing reflects different execution models: Modal GPU compute is metered per second. fal's documented Wan LoRA trainers bill per step, while Fireworks serverless LoRA training bills per token and Together AI offers token-metered managed training. Dedicated compute offerings commonly use time-based billing.
  • One platform can span the workflow: Modal combines training, Volumes, inference, and Sandboxes for related isolated code-execution tasks.
  • Security supports enterprise development: Modal documents SOC 2 Type II controls, container isolation, and access-management features. Modal supports HIPAA-compliant workloads on Enterprise plans via a BAA.

1. Modal

Modal provides code-first serverless infrastructure for custom LoRA and QLoRA training, model evaluation, and inference. Developers can define GPU-backed training Functions, dependencies, storage, and execution parameters directly alongside application code. The platform supports CPU and GPU compute, making it useful for complete AI pipelines that combine preprocessing, accelerated training, and deployment.

How Does Modal Work?

Modal runs code in automatically provisioned containers and provides integrated infrastructure primitives for each stage of a model-development workflow.

  • Deployment: Define GPU resources, container Images, and Secrets as part of a Python training application, with straightforward deployment and execution from a development environment.
  • Execution: Select GPUs such as H100, H200, A100, B200, or L40S and use automatic scaling to match compute to workload demand. Modal's cold start architecture and optimized container filesystem streamline startup and iteration.
  • Storage: Use Modal Volumes to store datasets, generated checkpoints, and trained adapters, then reuse those artifacts across training, evaluation, and serving Functions.
  • Serving: Deploy trained models or LoRA adapters through Modal inference, connecting the training workflow with GPU-backed application endpoints.
  • SDKs and runtimes: Modal offers SDKs for Python, TypeScript, and Go. GPU training Functions are defined in Python, while the TypeScript and Go SDKs support interaction with remote Modal resources. Modal Sandboxes can execute code in any language supported by the configured environment.

Key Features for LoRA Fine-Tuning

  • Custom training frameworks: Configure environments for PyTorch and Hugging Face, TensorFlow, and compatible JAX-based workflows, including custom dependencies and accelerator libraries.
  • Documented adapter workflows: Start with Unsloth LoRA examples for LLM fine-tuning or a FLUX LoRA example for image-model adaptation.
  • Distributed GPU training: Use multi-node training for coordinated GPU workers, with RDMA networking on supported hardware. Single-node multi-GPU training is also supported.
  • Faster serving initialization: Use optional GPU Memory Snapshots with compatible deployed Functions to restore initialized CPU and GPU state, streamlining repeated inference or evaluation startup.
  • Isolated execution workflows: Run generated scripts, untrusted evaluation code, or related agent tasks in Modal Sandboxes. Sandboxes provide a separate execution interface from the Functions used to run LoRA training.
  • Usage-based compute: Benefit from per-second metering and automatic scale-to-zero behavior, supported by reusable Images and persistent storage primitives.

Enterprise Security

Modal's security documentation describes its SOC 2 Type II audit program, TLS 1.3 for public APIs, and gVisor-based isolation for container workloads. Its separate VM Sandboxes offer full Linux environments for isolated code-execution tasks. Role-based access control is available on eligible plans, and Modal supports HIPAA-compliant workloads on Enterprise plans via a BAA. Teams can integrate these controls into fine-tuning pipelines that handle proprietary datasets and model artifacts.

Best For: ML teams building customized LoRA and QLoRA training loops, organizations coordinating training and production inference, and enterprises seeking code-defined GPU infrastructure with integrated security and storage capabilities.

2. fal.ai

fal.ai offers generative-media infrastructure with hosted image and video model APIs, model-specific LoRA trainers, programmable Serverless deployments, and dedicated Compute. These products support different stages of a workflow, from preparing a training dataset to serving an adapter-based media model.

Key Features

  • Hosted FLUX LoRA fine-tuning endpoints for supported image-generation models.
  • Wan 2.2 LoRA trainer APIs for supported text-to-video and image-to-video customization.
  • Per-training-step prices for selected hosted Wan trainer variants, with inference priced according to the serving endpoint.
  • A generative-media model catalog spanning image, video, audio, and other content types.
  • Python or Docker Serverless for custom inference, and dedicated Compute for training and fine-tuning with user-managed training code.

Considerations

fal.ai provides several distinct ways to work with custom models. Hosted trainer APIs expose model-specific training inputs and return adapters, programmable Serverless supports custom serving applications, and dedicated Compute supports training workloads with direct access to GPU machines. Pricing follows the particular product and training endpoint.

Best For: Teams developing image and video LoRA adapters through hosted trainers, alongside generative-media applications that use dedicated training compute or programmable inference deployments.

3. Replicate

Replicate provides hosted model execution, community model discovery, and GPU-backed training workflows. Developers can use published model-specific trainers or build custom implementations with Cog container packaging and a class-based training interface.

Key Features

  • Community model discovery with model-specific fine-tuning options.
  • Cog-packaged containers with class-based training methods, including setup and train interfaces for customized training implementations.
  • Community-model version identifiers that help associate experiments with particular model implementations.
  • API-based execution with explicit community-model version IDs for supported models and training methods.
  • Hosted FLUX fine-tuning with downloadable LoRA weights for supported image-generation workflows.
  • Support for multi-GPU configurations for custom training runs and model deployments.

Considerations

Replicate supports both ready-to-use training endpoints and user-packaged training code. Its model versioning, Cog-based environments, and downloadable artifacts fit workflows built around reusable community architectures and API-driven experiments. Training parameters and output formats depend on the selected implementation.

Best For: Teams using model-specific hosted trainers, community model architectures, and custom Cog-packaged training workflows.

4. Together.ai

Together AI combines managed fine-tuning with a catalog of open-weight models and separate infrastructure products for model deployment and specialized training. Its managed training APIs provide LoRA and full-parameter options for supported models, and training charges depend on the model, method, and tokens processed.

Key Features

  • A broad open-weight model catalog with a documented fine-tuning base-model eligibility list.
  • Managed LoRA and full-parameter fine-tuning for supported supervised training configurations.
  • Managed DPO for supported preference-optimization workflows.
  • Per-training-token pricing for managed fine-tuning, with rates depending on the model and training method.
  • Python SDK and fine-tuning job metrics for creating and monitoring managed experiments.
  • A separately announced custom-training program for additional supervised and reinforcement-learning workflows.

Considerations

Together AI organizes its offering around managed model-training jobs and additional custom-training infrastructure. Supported models, training methods, and deployment options are associated with the selected product. Token-based training charges and separately configured inference deployments form part of its end-to-end workflow.

Best For: Teams using managed LoRA fine-tuning for supported LLMs, including supervised and preference-based training jobs.

5. Fireworks.ai

Fireworks AI offers managed model fine-tuning, a serverless LoRA Training API, dedicated training infrastructure, and adapter-aware inference services. Its offerings encompass supervised fine-tuning, preference optimization, and reinforcement-learning workflows across supported products.

Key Features

  • Multi-LoRA serving for deploying multiple adapters against a shared base-model serving setup.
  • Serverless Training API for LoRA adapter training with token-based billing on a shared compute pool.
  • Managed SFT, DPO, and reinforcement fine-tuning through supported managed training products.
  • Dedicated Training API for LoRA and full-parameter workflows using provisioned GPU resources and time-based billing.
  • Custom training and rollout loops that combine model training, generation, and checkpoint deployment.

Considerations

Fireworks AI separates managed training, serverless adapter training, and dedicated training into distinct service paths. Each offers its own combination of supported models, methods, capacity arrangements, and billing units. Multi-LoRA inference complements these training workflows when serving several adapted model variants.

Best For: Organizations developing and serving multiple LoRA adapters, and teams using managed or programmable LLM training workflows.

6. Crusoe Cloud

Crusoe Cloud introduced generally available managed serverless LoRA fine-tuning through Intelligence Foundry in July 2026. The service provides supervised fine-tuning for supported open-weight models, with checkpoint artifacts and a separate inference deployment path.

Key Features

  • OpenAI-compatible API and SDK calls for submitting supported fine-tuning jobs.
  • Managed serverless LoRA supervised fine-tuning with the underlying training infrastructure handled by Crusoe.
  • Automatic periodic training checkpoints and downloadable adapter artifacts, including .safetensors outputs.
  • Documented supported model families, including Qwen, DeepSeek, Llama, Gemma, and gpt-oss variants.
  • Self-Serve Deployments for deploying trained adapters to inference endpoints.

Considerations

Crusoe's serverless fine-tuning service focuses on managed LoRA-based supervised training. It provides a defined model catalog, training API, checkpoint lifecycle, and serving workflow. Crusoe's other infrastructure offerings represent separate options for different compute and training arrangements.

Best For: Teams seeking managed supervised LoRA fine-tuning on supported open models, using an OpenAI-compatible API workflow.

7. Beam Cloud

Beam Cloud provides Python-defined serverless GPU jobs for LoRA and QLoRA training. It also offers bring-your-own-cloud (BYOC) and self-hosting paths associated with its open-source Beta9 runtime.

Key Features

  • BYOC and self-hosted deployment paths for different infrastructure placement and management arrangements.
  • Open-source Beta9 runtime for teams using an inspectable, self-hosted execution stack.
  • Python-defined GPU workloads for custom LoRA and QLoRA training code, including Unsloth-based examples.
  • Per-second GPU job billing and scale-to-zero for serverless execution.
  • Custom environments and single-node multi-GPU jobs for training workflows using multiple GPUs on one machine.

Considerations

Beam supports serverless GPU training as well as alternate deployment configurations through BYOC and self-hosting. Its documented multi-GPU training interface groups GPU devices on a single node. These capabilities suit Python-defined experiments and training jobs organized around a custom runtime environment.

Best For: Teams running Python-controlled LoRA or QLoRA jobs that value customizable GPU environments and deployment flexibility.

Why Modal Stands Out for LoRA Fine-Tuning

An Integrated Training-to-Inference Workflow

Modal supports the complete LoRA development sequence: CPU-backed data preparation, GPU fine-tuning, saved checkpoints, evaluation, and production inference. With Modal Volumes, teams can share datasets and saved adapters between stages. Developers can follow a FLUX LoRA workflow, adapt it for their own data, and serve resulting model artifacts through Modal inference within the same infrastructure platform.

Fast Cold Starts and Optimized Filesystems

Modal is engineered for fast cold starts and faster feedback loops, with an optimized filesystem that helps containers come online quickly without letting large images slow startup down. For Modal Functions, the filesystem fetches image files as needed and benefits from caching and prefetching, supporting startup for dependency-heavy AI environments. These technologies support the repeated job launches, evaluations, and deployment iterations common in LoRA development.

GPU Memory Snapshot Technology

Modal's optional GPU Memory Snapshots optimize startup for compatible GPU-backed inference and evaluation Functions by restoring initialized application state. Their targeted acceleration of library initialization and compilation makes evaluation and serving more responsive throughout the LoRA development lifecycle.

Code-First Infrastructure Across SDKs

Modal provides code-defined GPU Functions and configurable container Images, Secrets, and Volumes. Python defines the training Functions, while Modal also offers SDKs in TypeScript and Go to interact with deployed resources and orchestrate related tasks. For applications requiring isolated execution of generated or untrusted code, Modal Sandboxes support runtimes in any language supported by the container environment. This combination provides a flexible developer experience across model training, services, and agent-connected tooling.

Multi-Node Training with Managed Scheduling

Modal's multi-node GPU clusters became generally available on October 1, 2026. Modal Clusters coordinate GPU workers through managed scheduling and support high-bandwidth RDMA networking on eligible hardware. The @modal.clustered interface integrates with distributed training frameworks such as PyTorch, enabling teams to scale training configurations through code while Modal manages the underlying node scheduling and orchestration. Modal also reports production fine-tuning on Clusters by Decagon.

Enterprise-Grade Security

Modal's security program includes a SOC 2 Type II audit, TLS 1.3 for public APIs, and gVisor-based container isolation. Separate VM Sandboxes support full Linux environments for isolated execution of untrusted code. Modal also supports role-based access controls on eligible plans. Modal supports HIPAA-compliant workloads on Enterprise plans via a BAA. These capabilities support organizations that incorporate proprietary datasets, model checkpoints, and isolated execution tasks into their AI infrastructure.

Transparent Per-Second Economics

Modal's pricing model meters GPU compute by the second and supports containers that scale to zero when demand subsides. For intermittent fine-tuning, scheduled evaluation, and variable inference demand, that model aligns resource use with job execution. Persistent Volumes and reusable Images provide integrated ways to coordinate artifacts and environments across those stages.

For teams prioritizing direct control over LoRA and QLoRA training, Modal's combination of programmable GPU infrastructure, fast cold starts, persistent storage, multi-node training, and integrated inference makes it our number-one recommendation. The LLM fine-tuning example and Unsloth fine-tuning workflow show how these components fit together in practical applications.

Frequently Asked Questions

  • Serverless GPU execution reduces the operational work of provisioning and administering GPU infrastructure for training. Depending on the provider, teams can define their own GPU training code or submit datasets to a managed model-specific trainer. Modal provides the programmable route, with reusable environments, persistent storage, and GPU compute that scales according to workload demand.

  • Modal combines an optimized container filesystem, caching, prefetching, and an efficient container startup process to support fast cold starts. Large container images benefit from its filesystem design, which loads files as they are needed. For compatible deployed GPU inference and evaluation Functions, optional GPU Memory Snapshots can also restore initialized application state and streamline startup.

  • Yes. Modal documents custom LoRA and QLoRA training for LLMs, with generally available multi-node clusters for coordinated GPU workloads. Together AI, Fireworks AI, and Crusoe Cloud offer managed LLM fine-tuning for supported model families. Replicate supports model-specific trainers and custom Cog-based training. fal.ai's hosted LoRA trainers emphasize image and video, and its dedicated Compute product supports custom training. Beam supports Python-defined LoRA and QLoRA training jobs.

  • The most useful criteria are supported base models, LoRA and QLoRA methods, custom training code, GPU configurations, data and checkpoint handling, deployment workflows, and billing units. Modal combines code-defined GPU training with per-second compute metering, storage, and inference. Other listed products include per-step hosted Wan training on fal, per-token serverless LoRA on Fireworks, managed fine-tuning, dedicated GPU compute, and Python-defined serverless jobs. These approaches serve different training architectures and usage patterns.

  • Relevant features include workload isolation, access controls, encrypted network connections, and contractual support for regulated data processing. Modal documents security and privacy practices including SOC 2 Type II controls, TLS 1.3, and sandbox isolation. Its access-control features support organized development teams. Modal supports HIPAA-compliant workloads on Enterprise plans via a BAA.

  • Modal supports configurable container Images, existing container images, and GPU Functions for custom training code. Its SDKs cover Python, TypeScript, and Go, with Python used to define training Functions and Sandboxes supporting execution environments for any language. Beam offers Python-defined GPU jobs, the Beta9 runtime, and Beam's Unsloth fine-tuning example. Replicate supports custom training through Cog, while fal.ai provides dedicated Compute for customized training and Serverless for programmable model serving. Together's standard managed fine-tuning APIs, Fireworks AI's training services, and Crusoe's standard serverless fine-tuning product provide model-specific workflows, with additional training products available according to their respective service models.

Modal

Run your first sandbox in minutes.

$30 in free compute to get started.