In my experience, typical apartment leases are offered on a 12 month basis. Month to month is usually substantially more expensive.
If you break a 12 month lease early, you're legally on the hook for whatever the contract specifies (typically the entire year in my experience). Most landlords will "generously" agree to let you out of the lease for the equivalent of a couple monthly installments though (again, just my personal experience).