Federal employee has FAR better benefits than a city employee (retirement, vacation, sick leave, etc.)
The jobs are VERY different. City cop and FBI cannot be logically compared. One is a federal agent, and one is a city cop. One handles federal investigations and crimes, and one handles traffic accidents and residential burglaries and traffic control. The FBI also has tougher standards (educational, physical, etc.) than city PD has.