---
title: "CFG Scale (Classifier-Free Guidance) — ComfyUI Glossary & Node Definition"
description: "Controls how strongly the sampler forces the image toward your positive prompt and away from the negative prompt. Learn how CFG Scale (Classifier-Free Guidance) works inside ComfyUI node workflows on Windows."
canonical: https://comfy.ink/words/cfg-scale
updated: 2026-10-17
---

# CFG Scale (Classifier-Free Guidance)

Controls how strongly the sampler forces the image toward your positive prompt and away from the negative prompt.

## Facts (2026-10-17)

- **Term:** CFG Scale (Classifier-Free Guidance)
- **In Short:** Controls how strongly the sampler forces the image toward your positive prompt and away from the negative prompt.
- **Applies To:** ComfyUI SD 1.5, SDXL, Flux & Video

## Definition: CFG Scale (Classifier-Free Guidance)

Controls how strongly the sampler forces the image toward your positive prompt and away from the negative prompt.

For SD 1.5 and SDXL, typical CFG values sit between 5.0 and 8.0. For Flux.1 Dev, the KSampler CFG is set to 1.0 while the FluxGuidance node controls distillation guidance around 3.5.

## How to tune this in your ComfyUI workflow

Every parameter in ComfyUI is exposed directly on its node rather than hidden behind global settings tabs. You can inspect or override this behavior per pass in [ComfyUI Studio](https://comfy.ink/studio).

New to node graphs? Grab the Windows installer at [/download](https://comfy.ink/download) and open a built-in template from the workflow menu.

## FAQ

### What does CFG Scale (Classifier-Free Guidance) do in ComfyUI?

Controls how strongly the sampler forces the image toward your positive prompt and away from the negative prompt. For SD 1.5 and SDXL, typical CFG values sit between 5.0 and 8.0. For Flux.1 Dev, the KSampler CFG is set to 1.0 while the FluxGuidance node controls distillation guidance around 3.5.

### Where do I adjust this setting on the canvas?

Check the corresponding loader or [KSampler](https://comfy.ink/nodes/ksampler) widget in your active workflow graph.

## Related

- [ComfyUI Glossary](https://comfy.ink/words)
- [KSampler & KSampler (Advanced)](https://comfy.ink/nodes/ksampler)
- [ComfyUI Studio Workspace](https://comfy.ink/studio)
- [ComfyUI VRAM Requirements for SDXL, Flux & Video (6GB–24GB)](https://comfy.ink/guides/comfyui-vram-requirements-guide)
- [Latent Space & LATENT Pin](https://comfy.ink/words/latent-space)

## Download

Free desktop app: [Download Comfy](https://comfy.ink/download)

Markdown mirror: https://comfy.ink/words/cfg-scale.md
