B-127
In Iacon, before the war, Orion Pax and D-16 get sent to the trash incinerator as punishment, where they meet B-127, a robot who never stops talking. When Orion finds a message from the Prime Alpha Trion, B-127 tags along with him, D-16 and Elita-1 to the surface. With the Primes' cogs, he gains the power to transform too.
Back in Iacon, Sentinel's forces lock him up with D-16 and Starscream. Once free, he helps Orion and Elita capture Airachnid, whose memories show the whole city who Sentinel really is. When Orion becomes Optimus Prime, B-127 stays at his side.