SD CFG Scale Advisor

Find the ideal guidance scale for your SD model and prompt style

Ad placeholder (leaderboard)

Stable Diffusion CFG scale advisor

CFG scale is the dial that decides whether Stable Diffusion obeys your prompt literally or interprets it loosely. Set it too low and the model ignores you; too high and the image burns. Pick your model and prompt style and this advisor shows a recommended range, then explains exactly what each value on the 1–30 slider does.

How CFG scale works

CFG stands for classifier-free guidance. At each denoising step the model makes two predictions — one conditioned on your prompt and one unconditioned — and CFG scale controls how far it pushes toward the conditioned one:

CFG 1–2    barely guided — creative, can ignore the prompt (turbo/LCM models)
CFG 5–8    balanced — follows the prompt while keeping natural detail
CFG 9–12   strong adherence — literal, higher contrast
CFG 13+    overshoot — oversaturated, "fried", halos, distortion

Different model families are tuned for different ranges. Turbo, Lightning and LCM checkpoints are distilled to work at very low guidance (1–2). Standard SD 1.5 likes 6–9, while SDXL is happiest a little lower at 5–8.

Tips for tuning CFG

  • Start at the model default, then move in steps of 1.
  • Long, detailed prompts need less CFG — the prompt already constrains the image. Short prompts can take more.
  • Fried image? Lower CFG before anything else, or add a few steps.
  • Ignoring your prompt? Raise CFG, but check your prompt order and weighting first — that often fixes adherence without the saturation cost.
Ad placeholder (rectangle)