The law sets 90 days to 5 years, but the actual term depends on your tier: up to 5 years for high-level talent and investors, 2 years at a well-rated registered employer, 1 year for everyone else.
Nationwide (all cities)
The legal range
Article 30 of the Exit-Entry Administration Law sets the outer limits for a work-type residence document: a minimum of 90 days and a maximum of 5 years. That is the legal range for the category, not a term that everyone automatically receives.
Three tiers in practice
The NIA service guide splits the actual term into three tiers. High-level talent, urgently needed specialists and investors can be issued a residence period of up to 5 years; people working at well-rated registered employers up to 2 years; all other people up to 1 year. So your answer depends on which tier you fall into, not on a flat 1-to-5-year window.
At the extension stage
For an extension, Article 32 requires you to apply at least 30 days before the permit expires, to the exit-entry administration of the public security bureau in your place of residence, with documents related to your purpose of application — for a work-type permit that means your current work permit proof. The authority issues the category and term according to your purpose of stay.