The queen is not usually assigned a value of 8 pawns, rather often between 9 and 10 pawns. Of course the question still stands, assuming this roughly equal material balance who has the edge?
Let's consider two scenarios how the position could simplify: One is the queen sacrifices itself against a knight, or gets won by a knight fork for a knight. In this case one side stays with two knights against just the king. With no other pieces this is an easy draw for the lone king.
The other scenario is the queen wins a knight. In this case there exists a fortress for the knights like so https://lichess.org/analysis/4k3/8/8/3NN3/4K3/8/8/q7_w_-_-_0_1 (e.g. Ke4 Ne5 Nd5 against a king on e8). The idea is the two knights block the opponent king from approaching. (as a funny aside, since both positions are a draw, in some sense blundering the queen for free in this position is not a mistake, it's a draw before and afterwards)
It is worth noting that this position might not always be reachable for the knight side, so if the pieces start out in unfortunate positions it may not be possible to reach this setup. Yet, with an extra knight the vast majority of positions will be a draw.
To conclude, this position is very drawish, neither side has almost any winning chances. In blitz both sides may have slight winning chances; the queen side might win a knight while keeping the opponent away from the fortress position, conversely it might blunder the queen to a knight fork without getting a knight back. However, overall I would still see the chances as roughly equal.
It might be interesting to look at adding more material for both sides. I suspect if you give both sides a pawn or two, the side with the three knights might have the advantage as knights are quite efficient at blocking checks, and their sheer number might overload the other side from defending their pawns sufficiently often, all the while pushing the own pawn. But without pawns, the knights are simply not enough to win.
Addendum: Since it was requested, here are the stats from the tablebase, note that those are very misleading since many positions are unlikely to be reached in practice:
With the knights to move, (1) draws, (2) wins for the knights, (3) wins for the Queen, (4) would be wins for the Queen but prevented by the 50 moves rule.
With the queen to move:
As can be seen by the huge difference between the knights to move and the queen to move, the vast majority of these are decided by tactics straight away, which is why being to move is a huge advantage in a random position. In practice however, you wouldn't really consider them as static endgames but rather trading down into a smaller endgame straight away.
If you want to argue that way you can see that the queen indeed wins more often, likely because 3 knights have a lot of options to be very misplaced on the board.