2014 model. One would probably not be able to upgrade the next iOS operating system as Apple will consider this obsolete. You can check year/date by the model number on Apple webpage. 2012 model is the latest to be out of date to upgrade to the latest iOS.
Apple MGEQ2C/A Mac Mini Desktop