A long-term German visa is generally valid for 24 months. The residence permit’s validity depends on the job contract’s timeframe and can be extended based on the employment contract.