What prompting habit made the biggest difference to how you build with the Perplexity API?

I’ve been building more with the Perplexity API lately and I’m curious which small habits made the biggest difference for other people. Here are a few that helped me, and I’d love to hear yours.

  1. Be specific about the question. A clear, narrow prompt usually returns sharper answers than a broad one.
  2. Set the context up front. A short system message about audience and tone keeps replies consistent.
  3. Ask for a format. Requesting bullet points, a table or a short summary makes output easier to use in an app.
  4. Check the citations. Opening the sources now and then helps you spot when a query needs rewording.
  5. Pick the right model for the job. Lighter models are fine for quick lookups, while deeper research benefits from larger ones.
  6. Log prompts and responses. Keeping a simple record makes it much easier to see what changed when results shift.
  7. Handle limits gracefully. Retries with backoff and sensible timeouts keep an app steady when traffic spikes.

What prompting or workflow change made the biggest difference for you when building with the Perplexity API?

The habit that changed the most for me: logging the usage block from every response (tokens plus the cost fields) next to the prompt, so I can see which queries are actually expensive instead of guessing. The second one is picking search_context_size per query: low is enough for simple factual lookups, and I only switch to high when the answer really needs more sources, since on Sonar models it changes the request fee. Do you track cost per query in your app, or only check the billing page? (Disclosure: I write for aicost.tools.)

For me the biggest change was writing the expected answer format into the prompt before anything else. Once I started asking for a short summary first, then the details, the results were much easier to show in the app and I spent far less time cleaning them up afterwards. I also started keeping one short example of a good answer in the system message, and that made the tone and length far more consistent. Logging prompts and responses helped too, because I could see which small wording change actually made the difference.