Pithing Needle's effect reads: 'As Pithing Needle enters the battlefield, choose a card name.' The Comprehensive Rules define a card as a physical Magic card (CR 108.1), and tokens are explicitly not cards (CR 111.7). Because tokens have no card name in the game-rules sense, they cannot be a legal choice for Pithing Needle.
Even though a token may have a printed or assigned name (e.g., a Goblin token named 'Goblin'), that name does not belong to any actual Magic card. Pithing Needle's restriction applies to permanents, spells, or cards that share the chosen card name, and since a token is never a card, its name can never match in the relevant way.
There is one narrow exception: if a token was created to be a copy of a real card (for example, a token copy of Pestermite), that token's name matches the copied card's name. In that case, naming 'Pestermite' with Pithing Needle would shut off activated abilities of that token, because the ability check looks at the name the permanent currently has, and Pithing Needle suppresses abilities of any permanent with that card name (CR 616.1).
Concrete example: Your opponent controls a Saproling token (created by Saproling Migration). You cannot name 'Saproling' with Pithing Needle to prevent any activated abilities it might have, because 'Saproling' is not a Magic card name. However, if the opponent controls a token that is a copy of Gideon of the Trials, naming 'Gideon of the Trials' with Pithing Needle would shut off its activated abilities, since the token bears that actual card name.
In summary: name a card only. Pure tokens with no underlying card cannot be legally chosen, and attempting to do so at a tournament would require you to choose a different name (CR 201.3).
Unofficial fan resource — not affiliated with or endorsed by Wizards of the Coast. Answers are AI-generated estimates grounded in the Comprehensive Rules and are not a substitute for an official judge. Verify anything match-critical.