Maximum 4 years but it varies depending the type of contract (e.g: limited contract). It is renewable and eventually, you will be able to apply for a permanent residence permit.