SIM-only deals tend to be more flexible than phone contracts and usually are for a period of 30 days, 12 months, 24 months or 36 months.
Because you’re not paying for the costs associated with the physical device, they’re also usually much cheaper.
It’s worth checking on the offers you can get depending on how much you have as a budget, and how long of a contract you’re willing to sign up for.