WASHINGTON (AP) — US consumer prices rose 0.4 percent in August, most in 7 months as gas, housing costs climbed.