In ODIs, the highest innings total between India and Pakistan was the 356/9 by India scored at Visakhapatnam in 2005, built on an innings of 146 from M.S. Dhoni. They also have the second-highest total, 349/7 in 2004 in Karachi. Pakistan scored their best, 344, in the same match, as well as 329/6 in the next match, in Rawalpindi.
However, India also hold the record for the lowest score, 79 at Sialkot in 1978/79. It what was only the second ODI to be played between the two nations. Pakistan's nadir came on neutral soil in Sharjah in 1984/85, when they were dismissed for just 87.
The largest win in ODIs was a significant one for Pakistan cricket, in the final of the 2017 Champions Trophy at The Oval. India, having won the toss and deciding to field, saw Pakistan score 338/4, only to collapse to 138, a crushing defeat by 180 runs. That was despite India inflicting a heavy defeat on them in the group stages of the competition.
India’s biggest victory had occurred nine years earlier in the Asia Trophy in Bangladesh, when they won by 140 runs in Dhaka.
There have been a number of close finishes over the years and it is perhaps fitting that the record for the smallest margin of victory is shared between the two.
In November 1978, in the very first ODI these two countries played. India made 170/7 after winning the toss and batting first, and then restricted Pakistan to just 166/8, squeezing home by four runs. The boot, though, was on the other foot in Sharjah in 1991, when it was Pakistan who managed to claim victory by four runs.