◉GEMINI LABJP
●OMNI 1.2 — Gemini Omni 1.2 Flash is generally available (11/5) with up to 15-second video and conversational editing; 1.1 Flash is routed to 1.2 on 12/3●COMPUTER — Computer Use is now generally available in the Interactions and GenerateContent APIs (10/30)●LIVE — Live and TTS preview models shut down as early as 11/17 (7 days left). Move to gemini-3.8-live and the 3.8 TTS models●CLI — Gemini API CLI (gemini-api) is out in beta (10/27): a zero-dependency client for agents and CI●2.5 PRO — gemini-2.5-pro and 2.5-flash are routed automatically on 12/1 (21 days left), to 3.8 Flash and 3.5 Flash-Lite●NEW — Stop Re-Reading Every Crash Report: Gre…●OMNI 1.2 — Gemini Omni 1.2 Flash is generally available (11/5) with up to 15-second video and conversational editing; 1.1 Flash is routed to 1.2 on 12/3●COMPUTER — Computer Use is now generally available in the Interactions and GenerateContent APIs (10/30)●LIVE — Live and TTS preview models shut down as early as 11/17 (7 days left). Move to gemini-3.8-live and the 3.8 TTS models●CLI — Gemini API CLI (gemini-api) is out in beta (10/27): a zero-dependency client for agents and CI●2.5 PRO — gemini-2.5-pro and 2.5-flash are routed automatically on 12/1 (21 days left), to 3.8 Flash and 3.5 Flash-Lite●NEW — Stop Re-Reading Every Crash Report: Gre…
Articles/API / SDK
◈ API / SDK/2026-05-26Intermediate

Running Gemini 3 Pro and Flash in Parallel on AdMob Monthly Reports — Notes from Ten Mornings

Implementation notes from sending the same AdMob monthly report to Gemini 3 Pro and Gemini 3 Flash in parallel for ten days. Cost, latency, and summary quality compared from an indie developer's perspective.

Gemini 36Gemini FlashAdMob9Parallel ExecutionCost Optimization13Indie Developer13

In mid-May I opened the AdMob monthly report and wondered: if I sent the same CSV to both Gemini 3 Pro and Gemini 3 Flash at once, would the two summaries leave me torn over which to trust? Running apps solo, I had been noticing that the time I spend just staring at monthly revenue reports kept quietly growing.

These are my implementation notes from ten mornings of sending the same AdMob report to Pro and Flash in parallel, measuring cost, latency, and summary quality. The short version: rather than pick one, I landed on a workflow where each model plays a different role in the same day.

Why I Wanted to Run Them Side by Side

The trigger was a month of using Pro's summary on its own. The conclusions were plausible, but I had no way of checking whether a given interpretation was actually sound. Reading the gap between two models' answers, I suspected, would make biases and omissions easier to spot than trusting either model alone — so I decided to run them together.

The practical motivation was more concrete:

  • The monthly AdMob CSV is split into three sheets — eCPM by country, RPM by ad unit, and fill rate — and I always end up staring at it for fifteen minutes or more
  • Pro alone gives plausible conclusions but it is hard to feel the accuracy difference on months with small movements
  • Flash alone is fast and cheap, but occasionally summarises numerical interpretation a bit loosely
  • Putting them side by side might help me decide where to act next month, faster

More data points can easily slow a decision down rather than sharpen it, so I deliberately constrained the experiment: two models in parallel, the human still synthesises.

Parallel Setup

The setup is small: Python's asyncio sending the same prompt to Pro and Flash, then laying the two summaries side by side.

import asyncio
from google import genai
from google.genai import types
 
client = genai.Client(api_key="YOUR_GEMINI_API_KEY")
 
PROMPT = """
For the attached AdMob monthly report (CSV text), write the following
three points as a bullet list in English:
- Countries where eCPM moved by 5% or more vs last month, with a hypothesis
- Ad units where fill rate is dropping and probable causes
- Adjustments to test next month (floor price, mediation order, new formats)
Prefix any speculative reasoning with "Speculation:".
""".strip()
 
async def call(model: str, csv_text: str) -> dict:
    resp = await client.aio.models.generate_content(
        model=model,
        contents=[csv_text, PROMPT],
        config=types.GenerateContentConfig(
            temperature=0.3,
            max_output_tokens=1200,
        ),
    )
    usage = resp.usage_metadata
    return {
        "model": model,
        "text": resp.text,
        "input_tokens": usage.prompt_token_count,
        "output_tokens": usage.candidates_token_count,
    }
 
async def run(csv_text: str):
    return await asyncio.gather(
        call("gemini-3-pro-latest", csv_text),
        call("gemini-3-flash-latest", csv_text),
    )

By default asyncio.gather fails as a whole when either task raises, which means one bad model call costs you the summary that succeeded. In production I wrap the try/except inside each call and keep the half that worked:

async def call_safe(model: str, csv_text: str) -> dict:
    try:
        return await call(model, csv_text)
    except Exception as e:
        return {"model": model, "text": None, "error": str(e)}
 
async def run(csv_text: str):
    results = await asyncio.gather(
        call_safe("gemini-3-pro-latest", csv_text),
        call_safe("gemini-3-flash-latest", csv_text),
    )
    return [r for r in results if r.get("text")]

During the ten days of measurement there was exactly one morning when only the Flash call returned a 503. The routine survived on Pro's summary alone that day, and I was glad these few lines of insurance were in from the start.

Ten Days of Measurements — Cost and Latency

From May 15 to May 24 I sent the same CSV (running month-to-date through the previous day) every morning. Averages over ten runs:

  • Input tokens: around 9,500 (CSV fed in as raw text)
  • Pro latency: 11.4 seconds average, output 540 tokens
  • Flash latency: 3.2 seconds average, output 480 tokens
  • Cost feeling: Flash came in at roughly one-seventh of Pro's cost based on the published pricing table

Over the ten days, total API cost was about 80 yen for Pro and 12 yen for Flash. At that price, running it daily comfortably pays for itself against the fifteen minutes of spreadsheet-staring it replaces.

The latency gap was more felt than I expected, and a natural rhythm emerged: read Flash's reply first, then decide whether to wait for Pro. The first three lines of Flash usually tell me whether Pro is worth waiting for.

One caveat about reproducibility that I only appreciated later: the code above uses the -latest aliases, and what an alias points to changes without notice. In July 2026, gemini-flash-latest switched to resolving to Gemini 3.5 Flash. For a measurement that compares cost and latency, a silent model swap mid-run makes the averages meaningless. Pin an explicit versioned model ID for anything you intend to measure, and reserve the aliases for day-to-day usage where you actively want to track the newest release — a distinction I should have settled before day one.

# For measurement: pin versions so the target can't change mid-run
MEASURE_MODELS = {
    "pro": "<pinned Pro model ID>",
    "flash": "<pinned Flash model ID>",
}
# For daily use: keep the -latest aliases to follow new releases

The first three days were recorded against aliases, so I ended up dropping them from the comparison table. Redoing numbers is never painful exactly, but it does make a morning feel heavier.

Hold the target still while you measure; let it float when you just use it. I now separate the two at the config-file level.

Logging Each Run, and Triaging the Mornings That Fail

So I would not have to redo the ten days of numbers later, I now write one JSON Lines record per call: which model ID, how many seconds, how many tokens. That log has turned out to matter more than the summaries themselves.

import json, time
from datetime import datetime, timezone, timedelta
 
JST = timezone(timedelta(hours=9))
 
async def call_logged(model: str, csv_text: str, log_path: str = "admob_runs.jsonl") -> dict:
    started = time.perf_counter()
    row = {"ts": datetime.now(JST).isoformat(timespec="seconds"), "model": model}
    try:
        resp = await client.aio.models.generate_content(
            model=model,
            contents=[csv_text, PROMPT],
            config=types.GenerateContentConfig(temperature=0.3, max_output_tokens=1200),
        )
        usage = resp.usage_metadata
        cand = resp.candidates[0] if resp.candidates else None
        row.update({
            "sec": round(time.perf_counter() - started, 1),
            "in": usage.prompt_token_count,
            "out": usage.candidates_token_count,
            "thoughts": getattr(usage, "thoughts_token_count", None),
            "finish": str(cand.finish_reason) if cand else "NO_CANDIDATE",
            "ok": bool(resp.text),
        })
        row["text"] = resp.text
    except Exception as e:
        row.update({"sec": round(time.perf_counter() - started, 1), "ok": False, "error": f"{type(e).__name__}: {e}"})
        row["text"] = None
    with open(log_path, "a", encoding="utf-8") as f:
        f.write(json.dumps({k: v for k, v in row.items() if k != "text"}, ensure_ascii=False) + "\n")
    return row

thoughts_token_count is read with getattr because some models may not return the field at all. The summary text goes to a separate file; the shorter each log line is, the easier it is to scan with grep or a spreadsheet later.

Once the log existed, "this morning's summary was empty" stopped being a hunch and became something I could triage from a table. These are the symptoms I run into most, with how I check each one.

SymptomLikely causeHow to checkFix
Only one model returns 503Temporary load on that model at that hourDoes the log's error show 503, and is the other call ok: true?Carry on with the model that succeeded. Retry once or twice with a gap; do not hammer it
404, model not foundMistyped model ID, or the model has been retiredIs the ID listed on the official models and deprecations pages?Move to a current ID. Pinned IDs for measurement, -latest for daily use
429Rate limit or usage capDoes the error text name the kind of limit? How many calls run at once?Lower concurrency. Two parallel calls are rarely the problem by themselves
resp.text is empty or cut offOutput limit reached, or a safety stopIs finish MAX_TOKENS or something else? Is thoughts large?Raise the output limit. Thinking can consume part of the output budget, so leave headroom (I have not confirmed this for every model)
Numbers in the summary do not match the CSVRounding or mix-ups when reading a long tableCompare against your own aggregationAggregate with pandas first; give the model a small pre-computed table and ask only for interpretation
The points raised change from day to dayA -latest alias switched, or temperatureIs the model column constant across days?Pinned IDs during measurement and a low temperature

The last two rows are the kinds of trouble I actually hit during the ten days. "The numbers do not match" in particular was settled faster by suspecting my aggregation before suspecting the model.

Where the Summaries Differed — Depth of Numerical Reading

Reading the ten days side by side, the difference between Pro and Flash was less about what they picked up and more about how deeply they read the numbers.

For example, one day India's eCPM was up 18 percent month-on-month.

  • Flash's summary: "India eCPM up 18%. Probably seasonal demand."
  • Pro's summary: "India eCPM up 18%. Same month's fill rate dropped 3 points, so this may not be a demand surge — fill is tightening and only the higher-CPM inventory is passing through. Recommend raising the floor price by 0.05 to see how fill responds."

Flash was not wrong, but Pro reached into the relationship with fill rate. That kind of multi-indicator reading is where the difference showed up most.

Conversely, Flash was better at "short, listed, scannable" outputs. For a Slack-ready summary or a quick weekly note, Flash sometimes read more naturally to me.

Where I Settled — Split Roles

After the ten days, I settled on this split:

  • Daily check: Flash only. The three-second reply tells me whether it is a Pro day
  • Weekly deep read: Pro only. Multi-indicator interpretation and concrete next-week tests
  • End-of-month summary: Both in parallel — Flash's list combined with Pro's interpretation, then I write the final note myself

Official docs frame Pro as the reasoning model and Flash as the speed-and-cost model. After using both daily in a real project, I find a two-tier flow — "Flash to scan the whole picture, Pro to read deeply" — fits indie operations better than picking just one.

Choosing by Situation, and Two Common Misunderstandings

Re-sorting the split by frequency, how long I can wait, and how deep a reading I need gives this:

SituationUseWhy
Morning status checkFlash onlyReturns in seconds at low cost; enough to see whether anything is off
Weekly decision on what to changePro onlyWorth the wait when you want several indicators tied together
End-of-month reviewBoth, in parallelThe difference between the two readings is itself the evidence
A morning with an outageWhichever succeededOne failure should not stop the whole routine

When in doubt, I start with Flash and let the log tell me which days deserve Pro. Over a daily habit, not adding decisions before I read mattered more than the price gap.

Two misunderstandings that show up in search results and older posts:

  1. "Sending it to two models gives you a double check." With the same CSV and the same prompt, both models can share the same misreading of the input. I leave arithmetic to fixed computation such as pandas, and use the parallel run to add angles of interpretation.
  2. "Using -latest keeps you safe." It does only when you want to follow the newest release. As described above, what an alias points to can change without notice, which makes it a poor fit when you need comparison or reproducibility.

What I Want to Try Next

The next experiment is a two-stage pipeline: let Pro write the long interpretation, then have Flash compress it into three lines for Slack. I am also testing the Gemini Batch API for processing the previous month in bulk overnight.

The more rows a report grows, the easier it is for time to evaporate into just looking at numbers. Letting the model handle the first reading, and reserving my own attention for deciding what to change — that division feels like the realistic one for a solo operation.

The next problem most readers meet after this is turning the summary into an actual change. I wrote up the weekly flow for deriving floor-price candidates in Surfacing AdMob Floor Price Candidates from Weekly Reports with Gemini 2.5 Pro.

If you want to try this, start with just Flash's summary, saved to a note each morning for a week. Once you can tell which days deserve a Pro call, widening to parallel runs costs you nothing. That is the order I ended up in, too.

Share

Thank You for Reading

Gemini Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

◈ API / SDK2026-05-20
Surfacing AdMob Floor Price Candidates from Weekly Reports with Gemini 2.5 Pro — A Six-App Indie Operations Note
A practical pipeline for moving AdMob floor price tuning from gut feel to data, using Gemini 2.5 Pro to read weekly CSV exports. Notes from operating six wallpaper apps in parallel, with Function Calling to produce structured candidate values.
◈ API / SDK2026-05-21
Designing Event-Driven AI Workflows with Gemini API and Cloud Pub/Sub — Notes from an Indie Developer
An implementation memo on wiring Gemini API into Cloud Pub/Sub event-driven workflows. Using an app-review analysis pipeline as the running example, the article covers retry policy, dead-lettering, idempotency, and cost guardrails — from the perspective of someone running it solo.
◈ API / SDK2026-05-13
Maximizing Revenue in Indie iOS Wallpaper Apps with AdMob + Gemini API
A decade of indie app development reveals how to balance AdMob revenue against Gemini API costs. Learn architecture patterns, cost control strategies, and Freemium gate implementation for AI-powered wallpaper apps.