The L298 is very inefficient and will not be presenting the full 12v to the motor. I have similar motors that I control with Pololu A4988 stepper drivers. The motors also work much better with 20v or more. The A4988 can limit the current to protect the motor.
...R
Stepper Motor Basics