AI model development balancing safety and utility