For the complete documentation index, see llms.txt. This page is also available as Markdown.

Gemini Models Prompt Guide

Gemini responds best when your prompts are clear, structured, and grounded. A simple formula makes it easy: P–T–C–F → Persona, Task, Context, Format.

Table of Contents


1. Start with a Persona

Tell Gemini who it should be. Giving it a role makes answers more realistic and tailored.

Less effective:

Summarize this report

More effective:


2. Define the Task Clearly

Use a verb: summarize, draft, compare, rewrite, create. Clear actions = clear results.

Example:


3. Add Context

Explain why you need the output and where it will be used. This avoids generic results.

Example:

Tip: When providing large amounts of context, such as documents or data, provide the context before the instructions


4. Specify the Format

Say exactly how you want the answer delivered: bullets, table, JSON, slides, short paragraph. Be precise and structured

Example:


5. Keep it Natural and Concise

Write prompts like you’re talking to a colleague. Avoid over-engineering.

Tip: The sweet spot is ~20 words. Enough detail to be clear, but not so much that it’s cluttered.


6. Provide Examples

The fastest way to get exactly what you require is to provide Gemini with examples. If you need specific tones or layouts show the model what “right” looks like


7. Iterate and Refine

Don’t stop at the first draft. If Gemini misses the mark, add more detail and try again.

Prompt idea:


8. Ground in your Files

Reference files directly to keep Gemini anchored. Provide strict rules to prevent the model from creating information

Example:


9. Use Power Prompts

In Gemini Advanced, you can ask it to rewrite your prompt for clarity.

Example:


10. Break Down Complex Tasks

If you have massive tasks, break it down. Have the model accomplish the task per step to avoid overload with a single prompt

Example:


9. Always Review the Output

Gemini can make mistakes. Check for clarity, accuracy, and tone before sharing.


10. Prompt Templates by Use Case

General Task Prompt

Analyze a Dataset

Summarize Emails and Next Steps

Generate Marketing Content

Act as a Sales Assistant


Gemini 3 Tips

  1. Tell the model how much you want it to talk. Gemini 3 is designed to provide concise and straight-to-the-point answers.

    1. Say: “Write a long, highly detailed explanation”

    2. Don’t just say: “Explain this…”

  2. Turn on “Deep Thinking”: Gemini 3 has a built-in thinking engine. You no longer need to write out its step-by-step logic or request to show its work.

  3. Prioritize critical instructions: Place essential constraints, roles, and format requirements at the beginning of the user prompt.

  4. Current day accuracy: Add clauses or knowledge cutoffs to the instructions to aid the model to pay attention to current day

    1. Say: “Remember it is 2026 this year”

    2. Say: “Your knowledge cutoff date is August 30, 2026

  5. Ground rules for Big Tasks. For the model to accomplish, multi-step jobs like heavy research or data organization, state when it is allowed to guess and when it needs to stop.

    1. Do Say: "Rely only on the facts in the text I provided. If the answer isn't in the text, say 'I don't know.'”

    2. Do Say: "If a detail is missing, stop and ask me for clarification. Do not make assumptions or guess.”


Final Tip

Think P–T–C–F every time. If Gemini knows who it is, what to do, why it matters, and how to format, you’ll get sharper results every time.

Learn more about Gemini Prompt Engineering in Google’s Prompting Guide 101

Last updated