We consider the classical problem of constructing a
(1−δ)-valid confidence interval from i.i.d. observations of an unknown probability measure
η under the heavy-tailed moment constraint
Eη∣X∣1+ε≤B. The natural statistic in this class is the moment-constrained Kullback--Leibler projection
KLinf, which also governs regret lower bounds in heavy-tailed bandits, error exponents of tests for the mean, and empirical likelihood. Existing anytime confidence intervals, such as \cite{thesis} contain a
2log(n+1) dependence on the sample size
n. Relaxing the anytime requirement, we obtain sample size-free confidence intervals which are provably stable and optimal, in the sense that they match the lower bound asymptotically, and have optimal width
(log(1/δ)/n)min{1/2,ε/(1+ε)}. We employ a combinatorial argument, in contrast to Robbins-type regret minimization methods, to obtain bounds on the moment generating function of
nKLinf. These results extend to multiple constraints under mild conditions. Further, we use techniques from \cite{manole2023martingale} to improve the anytime confidence interval length to
O(loglogn). Our experiments show that the resultant confidence intervals are considerably narrower than the existing interval estimation methods in most settings, and remain competitive with them in others.