Needing a win to qualify for the knockout stages of the competition, the young Foxes were behind within six minutes in Seagrave, courtesy of Hayden Allmark's opener.
It was quickly 2-0 to the visitors, when first team forward Callum Robinson struck for the Bluebirds.
After the hour mark, we pulled one back through James Quinn, on as a substitute at half-time, who weaved his way into the box, beating a couple of Cardiff defenders before finishing into the far top corner.
But the away side quickly restored their two-goal advantage as Mannie Barton scored, shortly followed by a second from Robinson.
Quinn was then sent off for a late challenge on Cardiff substitute Jac Thomas, leaving Leicester down to 10 men for the remaining four minutes, though any chance of a comeback was already extinguished.
Finishing third in Group B on nine points, three behind Cardiff, we miss out on qualifying for the next stage and turn attention to next Friday's Premier League 2 clash against Middlesbrough at Heritage Park (7pm GMT kick-off).
The details
City: Stretton, Ali (c), Aideed (Akolbire 76'), Diallo, Daniels (Sutherington 46'), Donnelly, Corden (W. Lawrence 46'), de Lisle, Hutchinson, Owusu (Quinn 46'), Anugo (Fletcher 71').
Subs not used: Hibbins, Jacklin.
Goal: Quinn 63'.