A longer one is safer in that the length is based on the client's forecast of required resource and what their budget allows, so if they offer a 6 monther it's likely they will be needing that resource for longer than if they were only willing to offer a one monther.
Just don't fall into the trap of thinking the length is guaranteed, as has been pointed out it's the notice period that is the only length guaranteed and many contracts outside IR35 don't have a significant notice period (no notice period is better to avoid permie type obligations).