Skip to content

VersusGPU

FluxGym vs AI Toolkit: Which Should You Use to Train a LoRA?

FluxGym and Ostris AI Toolkit are both free web apps for training LoRAs on your own GPU. We compare supported models, VRAM needs, installation, captioning, updates and who each suits.

By , Senior Hardware Editor

5 min read

FluxGym vs AI Toolkit: Which Should You Use to Train a LoRA?

FluxGym and Ostris AI Toolkit are both free web apps for training LoRAs on your own NVIDIA graphics card, and they're closely related: FluxGym's interface is a fork of the Gradio UI originally made for AI Toolkit. They've since gone different ways. FluxGym focuses on FLUX.1 on 12GB to 20GB cards, while AI Toolkit has become a general training suite for dozens of image, video and audio models.

This comparison is based on each project's GitHub README and repository, plus FluxGym's source code, all read on 3 December 2026.

At a glance

FluxGym

Ostris AI Toolkit

Developer

cocktailpeanut

Ostris

Licence

MIT

MIT

Training engine

Kohya's sd-scripts

Its own code

Built-in models

FLUX.1-dev, FLUX.1-schnell, flux-dev2pro (more by editing models.yaml)

Dozens, including FLUX.1, FLUX.2, Qwen-Image, Z-Image, SDXL, SD 1.5, Wan 2.1/2.2, LTX-2, ACE-Step

Video and audio models

No

Yes

Memory presets

12GB, 16GB and 20GB

No single figure: an NVIDIA GPU "with enough ram to do what you need"

Interface

Gradio web UI

Web UI at localhost:8675, or command line with YAML configs

Easiest install

Pinokio one-click

AI Toolkit Manager (experimental)

Platforms

Windows, Linux, Docker

Windows, Linux (including ARM64 and DGX Spark), Apple Silicon Mac (experimental)

Built-in captioning

Florence-2 button

No captioner mentioned in the README

Last repository update

28 July 2026

1 December 2026

Models

This is the biggest difference. FluxGym's dropdown lists FLUX.1-dev, FLUX.1-schnell and the community flux-dev2pro model. Its developer says schnell didn't give high-quality results. You can add other models by editing models.yaml, but FluxGym is built around FLUX.1.

AI Toolkit's README lists far more. Image models include FLUX.1, FLUX.2 dev and Klein, Chroma, Qwen-Image, Z-Image, HiDream, SDXL and SD 1.5. There are edit models such as FLUX.1 Kontext and Qwen-Image-Edit, video models including Wan 2.1, Wan 2.2 and LTX-2, and even ACE-Step music models. If you want a LoRA for anything newer than FLUX.1, AI Toolkit is the one to pick.

Graphics memory

FluxGym was built for smaller cards. Its README says it was created because AI Toolkit, at the time, only worked on 24GB cards, and it offers presets for 20GB, 16GB and 12GB. The source code shows that the 20GB setting uses the AdamW 8-bit optimiser, the 16GB setting switches to Adafactor, and the 12GB setting also trains only part of the model (FLUX.1's single blocks) in split mode.

AI Toolkit's current README no longer gives a minimum. It says you need an NVIDIA GPU with enough memory for what you're doing, which depends on the model. Its example FLUX.1 config is still called train_lora_flux_24gb.yaml, though. If you have a 12GB card such as the ASUS RTX 3060 12GB Dual Gaming OC V2 and want FLUX.1, FluxGym is the one with a documented low-memory setting. With 24GB or more, AI Toolkit's limits mostly go away. Our guide to how much VRAM you need has more.

Installing

FluxGym offers a one-click install through Pinokio, a manual install (clone FluxGym, clone the sd3 branch of sd-scripts inside it, install both sets of requirements and a CUDA PyTorch build) or Docker. RTX 50-series cards need the CUDA 12.8 PyTorch build and an updated bitsandbytes.

AI Toolkit recommends its built-in AI Toolkit Manager, which the developer still calls experimental. On Windows you clone the repository and double-click run_windows.bat. The manager detects your hardware, installs the right PyTorch build and keeps Node.js and FFmpeg inside the AI Toolkit folder. It checks for updates on every launch and skips them, with a warning, if you've changed any files. A manual install is still available, and the README points Windows users with problems to a community easy-install script.

Both are straightforward, but AI Toolkit's manager keeps everything in one folder and updates itself, which is handy given how often the project changes.

Using them

FluxGym is a single page. You enter a LoRA name and trigger word, choose a model and a VRAM preset, set repeats, epochs and resolution, drag in up to 150 images, caption them and click Start training. One button runs Florence-2 to caption every image for you. Sample images, learning rate, LoRA rank and every other sd-scripts option are there if you want them. See our FluxGym guide for the steps.

AI Toolkit's web UI is built around jobs: you create datasets and training jobs, then start, stop and monitor them. The UI doesn't need to stay open while jobs run. You can also skip the UI and run YAML config files from the command line, and a stopped job resumes from its last checkpoint. AI Toolkit can train LoKr as well as LoRA, or train only specific layers, and you can add a password to the UI with AI_TOOLKIT_AUTH. Datasets are images with same-named .txt captions, and images don't need cropping first because the loader resizes and buckets them automatically. Our AI Toolkit guide walks through it.

Updates and cloud options

AI Toolkit is the more active project. Its repository was updated on 1 December 2026 and its model list keeps growing. FluxGym's last update was on 28 July 2026, with installer fixes rather than new models.

If your own card isn't big enough, AI Toolkit's README documents rented GPUs: an official RunPod template, Modal instructions and the developer's own Ostris Cloud service. FluxGym can publish finished LoRAs to Hugging Face but doesn't document cloud training.

Which should you choose?

Choose FluxGym if you have a 12GB or 16GB NVIDIA card, you only want FLUX.1 LoRAs and you'd like the simplest page of options with captioning built in.

Choose AI Toolkit if you want newer image models, video or audio LoRAs, LoKr, scripted command-line training or a project that's updated more often, and your card has enough memory for the model you're training.

You don't have to choose just one. Both are free and can sit side by side on the same PC. For other options, including OneTrainer and Kohya_ss, see our best LoRA training software guide and our Kohya_ss vs OneTrainer comparison.

The bottom line

For most people in 2026, AI Toolkit is the better choice: it supports far more image, video and audio models, installs and updates itself through the AI Toolkit Manager and is updated more often. FluxGym still makes sense if you only want FLUX.1 LoRAs on a 12GB or 16GB NVIDIA card, thanks to its low-memory presets and one-click Florence-2 captioning. Both are free and MIT-licensed. Forge PC hasn't tested either.

Sources

  1. 01cocktailpeanut, FluxGym GitHub README
  2. 02cocktailpeanut, FluxGym app.py source
  3. 03cocktailpeanut, FluxGym commit history
  4. 04Ostris, AI Toolkit GitHub README
  5. 05Ostris, AI Toolkit commit history

About the author

Callum Reid

Senior Hardware Editor

Callum leads GPU, CPU and platform architecture coverage at Forge PC. Before joining the editorial desk, he spent nine years specifying, assembling and stress-testing custom gaming and workstation systems in the UK, with a focus on PCIe bandwidth, VRM thermal design, DDR5 memory tuning and 1440p/4K frame-time consistency.

More from Callum Reid

Read next

How to Fix Games Stuck at 60 FPS on a High Refresh Rate Monitor

How-To

How to Fix Games Stuck at 60 FPS on a High Refresh Rate Monitor

Games locked at exactly 60 FPS on a high refresh rate monitor are usually capped, not slow. Here's how to check the refresh rate Windows uses, sort out V-Sync and forgotten frame caps, turn off Dynamic Refresh Rate, change power mode and make sure the game runs on the right GPU.

Marcus Thorne5 min

How to Fix DirectX 12 Not Supported Errors in PC Games

How-To

How to Fix DirectX 12 Not Supported Errors in PC Games

A game says DirectX 12 isn't supported, but Windows 11 already has the latest DirectX. Here's how to check what dxdiag reports, install the right graphics driver, make the game use your graphics card instead of integrated graphics, and tell whether your card simply lacks the feature level the game needs.

Marcus Thorne5 min

Best Free HTPC Software for Windows (2026)

Best Picks

Best Free HTPC Software for Windows (2026)

The best free home-theatre PC software for Windows, ranked: Kodi, Jellyfin, VLC and the JellyCon add-on. We explain which suits one TV, which streams to every room, and how they work together.

Hannah Vance4 min

Kodi vs Jellyfin: Which Should Run Your Home Media?

Versus

Kodi vs Jellyfin: Which Should Run Your Home Media?

Kodi is a media player for the PC by your TV; Jellyfin is a media server that streams to apps on every screen. We compare how they work, GPU decoding and transcoding, device support and how to use both together.

Callum Reid5 min