We improve the accuracy of the extrapolation of the gluon distribution of the proton to very small x, and show that the charm production cross section, needed to calculate the cosmic ray-induced 'atmospheric' flux of ultrahigh energy prompt #nu#_#mu# and #nu#_#tau# neutrinos, may be predicted within perturbative QCD to within about a factor of two. We follow the sequence of interactions and decays in order to calculate the neutrino fluxes as a function of energy up to 10"9 GeV. We also compute the prompt #nu#_#tau# flux from bb production, hadronization and decay. New cosmic sources of neutrinos will be indicated if more prompt neutrinos are observed than predicted. If fewer neutrinos are observed than predicted, then constraints will ...