Why isn't standard Gibbs free energy always zero?
$\Delta G = \Delta G^\circ - RT \ln(K)$

It isn't directly $G$, but formula for change in free energy. Also, in standard conditions $\Delta G = \Delta G^\circ$, so it isn't necessarily 0.

Relevant reading on a website