For a medium-level encounter for level 1 PCs, I would advise one Bandit per PC plus a Bandit Captain. Use the Building Encounters guide provided in the Dungeon Master’s Guide (pp. 83-4).