Two policemen were injured in the sword attacks and another was killed after being hit by the minivan which was trying to escape the compound of the headquarters, he added.
Indonesian police shot dead three men on Wednesday after one attacked them with a samurai sword, wounding two officers, at Riau police headquarters in Pekanbaru, Sumatra, an internal police report said.
The attacks have put Indonesia on edge as the world's biggest Muslim majority country starts the holy fasting month of Ramadan from Thursday.
Media said one attacker may have had a bomb strapped to his body but police did not immediately confirm the reports. On Sunday a radicalized family carried out three suicide bombings on Christian churches in the East Java city of Surabaya, claiming ten lives and injuring over 40 other people.
"Four suspects were killed by police personnel during the attack".
Deadpool 2: What the critics are saying
The role is the ideal for him, and it's great fun to watch him do his thing as this snarky angel of death. What the first Deadpool had that the sequel is missing out on is the element of surprise.
This was the second attack on a police premise in the country since Monday.
Authorities in Indonesia say a police outpost on Sumatra Island was attacked Wednesday.
Five people died in the attack, including the four suspected militants and a police officer who was hit by the auto. A suicide bombing was also reported at the city's police headquarters on Monday when bike-borne attackers blew themselves up at the checkpoint to the precinct.
This week's bloody violence is putting pressure on lawmakers to pass a stalled security law that would give police more power to take pre-emptive action against people suspected of planning terror attacks.
The police said they are hunting for the militants escaping the compound.