Photoacoustic flow cytometry is one of the most effective approaches to detect “alien” objects in the bloodstream, including circulating tumor cells, blood clots, parasites, and emboli. However, the possibility of detecting high‐amplitude signals from these objects against the background of blood depends on the parameters of the laser pulse. So, the dependencies of photoacoustic signals amplitude and number on laser pulse energy (5–150 μJ), pulse length (1, 2, 5 ns), and pulse repetition rate (2, 5, 10 kHz) for the melanoma cells were investigated. First, the PA responses of a melanoma cell suspension in vitro were measured to directly assess the efficiency of converting laser light into an acoustic signal. After it, the same dependence with the developed murine model based on constant rate melanoma cell injection into the animal blood flow was tested. Both in vivo and in vitro experiments show that signal generation efficiency increases with laser pulse energy above 15 μJ. Shorter pulses, especially 1 ns, provide more efficient signal generation as well as higher pulse rates. A higher pulse rate also provides more efficient signal generation, but also leads to overheating of the skin. The results show the limits where the photoacoustic flow cytometry system can be effectively used for the detection of circulating tumor cells in undiluted blood both for in vitro experiments and for in vivo murine models.