The 6AK5 is an RF pentode in a 7-pin miniature package. It is used as a vertical amplifier in the 517.