Ideally you want your filter to turn over you entire tank 5-7 times per hour, so I would look for a filter with a flow of 25-35gph for 5gal (20litres) or 40-56gph for 8gal (30litres). In such a small tank, I would probably go with a HOB (hang-on-back) filter so as to maximize the space you have available.