Well 小僧 (kozou) literally means small monk while 餓鬼 (gaki) literally means starving demon, so kozou is a bit more condescending while gaki is more insulting. Gaki is equivalent to calling a kid a hellion or ghoul.