In biochemistry, when do rate constant units matter in calculating free energy changes?
$K$ should be a unitless value. Otherwise, you'd get a nonsensical unit when you try to take the log of the unit. Each component of the product $K$ is usually an activity, which is frequently similar in value to the molar concentration, or a fugacity, which is frequently similar in value to the partial pressure of a gas.