The production of prompt J/psi, psi(2S), chi(c1), and chi(c2) is studied using a 32.4 fb(-1) data sample collected with the Belle detector at Upsilon(4S) and at 60 MeV below the resonance. The yield of prompt J/psi mesons in the Upsilon(4S) sample is compatible with that of continuum production; we set an upper limit B(Upsilon(4S)-->J/psiX) < 1.9 x 10(-4) at the 95% confidence level, and find sigma(e(+)e(-)-->J/psiX) = 1.47 plus/minus 0.10 plus/minus 0.13 pb. The cross sections for prompt psi(2S) and direct J/psi are measured. The J/psi momentum spectrum, production angle distribution, and polarization are studied.