Cosmic-ray background fluxes were modeled based on existing measurements and theories and are presented here. The model, originally developed for the Gamma-ray Large Area Space Telescope (GLAST) Balloon Experiment, covers the entire solid angle (${rm 4pi sr}$), the sensitive energy range of the instrument (${rm sim 10 MeV to 100 GeV}$) and abundant components (proton, alpha, $e^{-}$, $e^{+}$, $mu^{-}$, $mu^{+}$ and gamma). It is expressed in analytic functions in which modulations due to the solar activity and the Earth geomagnetism are parameterized. Although the model is intended to be used primarily for the GLAST Balloon Experiment, model functions in low-Earth orbit are also presented and can be used for other high energy astrophysical missions. The model has been validated via comparison with the data of the GLAST Balloon Experiment.