01 · Reality check
What Gemini actually does well here
Good at
- Long-horizon coding plans with explicit checkpoints
- Breaking multi-step research into inspectable evidence packets
- Working over a large, supplied document set
- Tool-using workflows where permissions are clear
- Turning a messy brief into a structured deliverable
Not the right tool for
- Proving that a generated result is correct
- Choosing whether it should send, publish, delete or purchase
- Knowing private workspace policy without being told
- Replacing domain review for legal, financial, medical or security work
- Making an API cost estimate without token and tool-use assumptions
02A · Working notes
Know what 3.8 Flash actually is
Google's developer documentation identifies Gemini 3.8 Flash with the API ID gemini-3.8-flash and describes it as a production-ready Flash model for long-horizon software engineering, autonomous agents and complex enterprise workflows. It documents a 1 million token context window, up to 64k output tokens and tunable thinking levels of low, medium and high. Those are capability and interface facts, not a guarantee that every Gemini-branded surface exposes the same controls. Before writing a prompt, check whether you are using the Gemini API, AI Studio, a Google Cloud surface, the Gemini app or a third-party integration. Record the surface and date when the workflow matters.
Do not copy a model name into a prompt as if it grants access. In an API request, use the model identifier the current API documentation accepts. In a consumer or Workspace product, choose the available model in the interface and describe the task. If the model is missing, treat that as an access or rollout question, not a prompting failure. Keep pricing separate too: API token prices do not automatically describe a consumer plan or an organisation's Workspace agreement.
Write a task contract before asking for work
The most reusable Gemini prompt has seven parts: outcome, audience, inputs, constraints, process, output schema and completion test. Start with one sentence that says what a good result will enable. Name the files, rows, URLs or pasted text it may use. Say what it must not infer. If a decision depends on missing information, require an UNKNOWN label and a question rather than a guess. Then specify the exact format: a table, patch, checklist, memo, JSON object or numbered plan.
A useful definition of done is observable. For a research brief it might be every recommendation linked to a source and every open question listed. For code it might be tests added, commands run and changed files enumerated. For a spreadsheet it might be formulas preserved, units checked and assumptions separated from source values. End with a stop rule: pause before external side effects, destructive changes, messages, purchases or publication. This makes initiative useful without turning it into authority.
Use a staged prompt for agentic tasks
For a task that can take more than a few minutes, ask for a plan first. The plan should name the work units, inputs, dependencies, risks and the evidence expected after each unit. Review the plan before allowing execution. Next ask the model to complete only the first unit and return the files or citations it used, the result, unresolved uncertainty and the next proposed action. Continue in small batches.
This pattern is slower than 'do everything', but it is easier to recover from a wrong assumption. It also prevents a long context from hiding a bad early decision. Ask the model to keep a decision log with four columns: decision, evidence, assumption and owner. If a later step depends on an unverified assumption, it should stop and surface it. For connected tools, distinguish read permissions from write permissions and require confirmation immediately before a write. A plan is not an approval; approval is a separate human decision.
Prompt for coding without outsourcing judgment
Give Gemini the issue, acceptance criteria, repository rules, relevant files, supported versions and tests. Ask it to map the current behaviour before editing anything. Then request the smallest patch that satisfies the contract, with a list of changed files and tests that should fail before the fix. Do not ask for a whole application from a one-line description.
A strong coding loop is: inspect, explain, propose, patch, test, review. Tell it not to invent APIs, dependencies, environment variables, benchmark results or successful test runs. Ask for exact commands it recommends, but run them yourself or in a controlled agent environment. After a patch, ask for a second pass focused only on regressions, error handling, authorization, secrets, concurrency and data migration. Treat a green test command as evidence about those tests, not proof of security or production readiness. Keep the human merge and deploy decision explicit.
Use the large context window deliberately
A large context window is helpful when the material is relevant and labelled. It is not a reason to upload everything. Build a source manifest first: filename, date, owner, sensitivity, purpose and expected sections. Give the model a question and ask it to cite the source name and page, heading or row for each important claim. When documents conflict, require a conflict table instead of an averaged answer. When a file is missing or unreadable, require MISSING rather than a reconstruction.
For very large work, process in stable chunks. Ask for a structured extraction from each chunk, preserve the same schema, then provide those intermediate records for synthesis. This reduces the chance that the final answer overweights the last document or silently drops an early qualification. Keep the original files available for review. A long answer that cites no locations is harder to audit than a shorter answer with a clear evidence trail.
Prompt Workspace and file work around permissions
When Gemini is connected to documents, sheets, mail or other work material, define the permitted sources and the intended audience before it starts. Say whether it may create a new draft, edit a copy or modify the source. For a report, ask it to preserve links and label imported facts. For a spreadsheet, name the sheets, columns, units, formulas and rows that are in scope. For a presentation, state the takeaway, audience, slide count and reference deck.
Always inspect the generated artifact rather than only the chat explanation. Open the document, check formulas and links, read the first and last page, and compare it with the source. Ask for a change log. Never assume that access to a file means permission to redistribute its contents. Remove unnecessary personal or confidential data, follow the organisation's retention rules and keep a human send/share gate. If an integration is unavailable, do not simulate its result from a filename or title.
Choose thinking effort by risk and budget
Google documents low, medium and high thinking levels for Gemini 3.8 Flash. Use the lowest level that reliably handles the task, then increase it when the work needs multi-step reasoning, competing constraints or careful planning. A quick classification or formatting pass does not need the same setting as a migration plan or a security threat model. The setting is not a quality guarantee and should not be used as a substitute for tests.
For API budgeting, use the documented token rates as inputs to an estimate, not as a promise of total cost. Count input material, output length, repeated context, tool calls and retries. Set a maximum budget and stop if the workflow exceeds it. Ask the model to summarise stable context rather than repeatedly sending a giant source pack when the API design permits. Keep an actual usage record for your application. Consumer and Workspace pricing, quotas and included allowances are separate questions that need their own current documentation.
Make research prompts source-led
A research prompt should define the question, date boundary, source hierarchy and claim format. Ask for primary documents first, then reputable secondary context. Require a table with claim, source, exact location, publication date, confidence and what would falsify or update it. Tell Gemini to separate source quotation, paraphrase, inference and recommendation. This stops a polished synthesis from making a weak source sound authoritative.
For current product facts such as model IDs, pricing, availability or shutdowns, use the vendor's current documentation or announcement and record the retrieval date. Do not turn a marketing benchmark into a universal performance claim. Do not ask the model to say it tested a prompt set unless you actually ran and recorded that test. If the research will guide a high-stakes decision, have a subject-matter reviewer inspect the primary sources and the final recommendation.
Prompt for a useful final answer
Tell the model who will read the result and what they need to do next. Ask for the short answer first, followed by evidence, caveats and an action list. A good output separates facts from recommendations and includes a 'not established' section. Request concrete examples that use placeholders instead of real secrets or private data. Ask for one alternative approach and the trade-off, not ten decorative options.
Before accepting, run a reader audit: Can someone reproduce the steps? Are all dates, names, quantities and links traceable? Did the answer quietly assume a plan, region, permission or file? Are warnings placed next to the risky action? Is the output within the requested format and length? If not, use a correction prompt that quotes the exact defect and asks for a minimal revision. Iteration works better when you critique the artifact rather than say 'make it better'.
What the model cannot establish
Gemini can help reason over supplied material, but fluent reasoning does not establish truth, legal compliance, security, feasibility or business value. A generated code patch is not a test result. A generated financial table is not an audit. A document summary is not evidence that every page was read. A connected tool action is not permission to share confidential information. A benchmark in Google's announcement is not your own evaluation.
Build verification outside the prompt: run tests, inspect diffs, compare calculations, open links, check access controls, reproduce important claims and obtain the responsible person's approval. For medical, legal, financial, safety or security decisions, use qualified review and current authoritative sources. Keep an audit trail of inputs, model and surface, prompt version, outputs, human decisions and date. That trail is the difference between a useful assistant and an unaccountable automation.
A reusable Gemini 3.8 Flash prompt
Copy this structure and replace the bracketed fields:
'Goal: [specific outcome]. Audience: [reader]. Source material: [files, URLs or pasted text]. Date boundary: [date]. You may use only these sources for factual claims. First, list the inputs you can actually access and any missing material. Then propose a short plan with checkpoints. Do not send, publish, delete, purchase, change permissions or edit an original file without my explicit approval. For each step, return: work completed, evidence used with locations, assumptions, uncertainty, files or rows changed, and the next action. Never invent a citation, API, test result, number, quote or product capability. Use UNKNOWN when the evidence is insufficient. Final output format: [schema]. Definition of done: [checks]. Before finishing, run a claim, privacy, permissions, formatting and completeness audit.'
The prompt is a control surface, not a guarantee. Adjust it to your product and keep the smallest permissions and source set that can answer the task.
02 · The method
Step by step
- 1
Name the outcome and audience
State the deliverable, who will use it and the decision or action it should support.
- 2
Declare the source boundary
List the files, URLs or pasted material Gemini may use, plus the date boundary and sensitive fields to exclude.
- 3
Ask for a plan first
Require steps, dependencies, risks, checkpoints and a pause before tool use or external side effects.
- 4
Execute one verifiable unit
Have Gemini complete a small step and return evidence, assumptions, uncertainty and changed files.
- 5
Choose thinking effort deliberately
Use low for simple transformations and medium or high for multi-step reasoning, then verify either way.
- 6
Inspect the artifact
Open the document, sheet, code diff or report and compare it with the source and definition of done.
- 7
Run independent checks
Test code, recalculate formulas, open citations and review permissions, privacy and consequential claims.
- 8
Approve the handoff
Keep sending, publishing, deleting, purchasing, sharing and deployment decisions with the accountable human.
03 · Use this now
Copy-paste prompt for a staged Gemini 3.8 Flash task
Copy and paste
Goal: [specific deliverable] for [audience]. Use only: [files, URLs or pasted sources]. Date boundary: [date]. First list what you can access, what is missing and a five-step plan. Then wait for approval. After approval, complete one step at a time. For every step return: result, source locations, assumptions, uncertainty, files or rows changed, checks run and next action. Do not invent facts, citations, APIs, test results or prices. Do not send, publish, delete, purchase, change permissions or edit an original without explicit approval. Definition of done: [observable checks]. Final format: [table, memo, patch or JSON].
04 · Avoid these
Common mistakes
- Treating the API model ID as proof that every Gemini surface exposes the same feature
- Pasting sensitive files without checking account, workspace and retention controls
- Requesting autonomous edits without a copy, checkpoint or approval gate
- Calling a model-generated example a test result
- Using a benchmark or introductory API price as a universal promise
- Sending a huge source dump without a manifest or citation locations
- Letting a confident answer hide missing evidence or conflicting documents
05 · Questions
Frequently asked questions
What is the Gemini 3.8 Flash model ID?
Google's developer documentation lists gemini-3.8-flash. Use the current API documentation to confirm the identifier and supported parameters for your account and SDK version.
How much does Gemini 3.8 Flash cost?
Google's current developer documentation lists an introductory API price of $0.75 per million input tokens and $3.75 per million output tokens. Confirm current pricing before budgeting, and do not apply API rates to a consumer or Workspace plan.
Can Gemini 3.8 Flash handle long documents?
Google documents a 1 million token context window. That does not mean every surface accepts the same input, or that a long upload will be analysed perfectly. Use a source manifest, stable extraction schema and location-based citations.
Which thinking level should I use?
Start with low for simple transformation and increase to medium or high for multi-step reasoning and competing constraints. Then verify the result with tests, source checks or human review; a higher setting is not proof.
Can Gemini 3.8 Flash act autonomously?
Google describes the model for autonomous agents, but the safe workflow still defines permissions, checkpoints and stop rules. Keep a human gate before external side effects and do not infer access from the model name.
Can I use it for coding?
Yes, Google positions it for software engineering. Give it a focused task, repository rules, relevant files and tests, then inspect the diff and run verification yourself. Never treat a generated patch as a completed test or security review.
Does a Gemini prompt work the same in AI Studio and Workspace?
Not necessarily. Model controls, connected tools, file access, quotas and plan rules depend on the product surface. Write prompts around the task and verify the current interface rather than promising a feature from another surface.
How do I stop Gemini from making up facts?
Supply approved sources, require claim-to-location citations, distinguish fact from inference, request UNKNOWN for missing evidence and verify consequential claims against primary sources. A role prompt alone cannot guarantee accuracy.
Related guides
Primary sources
- Google AI for Developers: What's new in Gemini 3.8 Flash
- Google: Introducing Gemini 3.8 Flash
- Google AI for Developers: Pricing
- Google AI for Developers: Prompting strategies
Product menus and plan limits change. The linked vendor documentation is the authority when your screen differs.