We study inflation as a 'cosmic' renormalization-group (RG) flow. The flow, which encodes the dependence on the background metric, is described by a running coupling a, which parametrizes the slow roll, a de Sitter free, analytic beta function and perturbation spectra that areRGinvariant in the superhorizon limit. Using RG invariance as a guiding principle, we classify the main types of flows according to the properties of their spectra, without referring to their origins from specific actions or models. Novel features include spectra with essential singularities in a and violations of the relation r + 8nt = 0 to the leading order. Various classes of potentials studied in the literature can be described by means of the RG approach, even whe...