The World number one beat Croatian Donna Vekic 6-3 4-6 7-6 (7-4) at the Porsche Tennis Grand Prix.
Osaka will now face Anett Kontaveit, who was able to progress after Victoria Azarenka retired.
Petra Kvitova will face Kiki Bertens in the other semi-final.

Arsenal must improve defensively despite win over Wolves, says Arteta
Dubai Capitals secures thrilling nine-run victory over Abu Dhabi Knight Riders
Dominant pitching leads Mid East to series saving win over Mumbai
Police detain organiser of Messi visit after Indian fans rip up seats
Patel dominates as Mumbai take Game 1 of United Series
