Disclosed are dosage forms comprising a capsule and a fill material, comprising (a) a fill material comprising a dispersion of an active agent and a polymer, the dispersion being granulated, (b) an osmogen, and (c) a glidant. In one embodiment, the dispersion comprises 10 wt % to 90 wt % of the fill material, the osmogen comprises from 5 wt % to 40 wt % of the fill material, and the glidant comprises at least 0.1 wt % of the fill material.