WEPEA003 - work is supported by the French "Agence Nationale de la Recherche" as part of the program "investing in the future" under reference ANR-10-EQPX-51, and also by grants from Region Ile-de-France.International audienceThom-X is a 50MeV compact ring based on the Compton back-scattering which is being built in LAL, France. With a very short bend radius of 0.352 m, the nonlinear effects of the dipole fringe fields become critical to the beam dynamic . This paper compares the modelings of the dipole fringe field using four popular codes: MadX, Elegant, BETA, and Tracy3, and then discuss the proper model to have consistent results between the analytical calculation and the symplectic tracking of the Thom-X ring