Sitting and spinning is more efficient. Often I ride with a group that's faster than I am. That's when the extra energy required by standing is especially noticeable. If I'm already struggling to hold the pace, the extra energy consumed by standing will just slay me.