How to determine a safe red-line?

Depending on cylinder head, it's likely done making power around 5400 or so. So 5600 -5800 would be a relatively safe level.