GPT-6 Luna vs Gemini 3.8 Flash: 3 Points for 20x per Task
OpenLux TeamPublished
Google lists Gemini 3.8 Flash at $0.75 per million input tokens and $3.75 per million output, exactly 7.5 times OpenAI's $0.10 and $0.50 for GPT-6 Luna. On the Artificial Analysis Intelligence Index (v5.0.2, read 30 November 2026), that 7.5x list gap becomes a 19.9x gap per task: $3.02 for Gemini 3.8 Flash at high effort against $0.152 for GPT-6 Luna at max. The score difference that buys is 31 against 28. And on 1 January 2027 Google's introductory price ends and the Gemini rate card doubles. The interesting question is not which model is "better" but which tasks are worth paying twenty times more for three points.
Both models are on OpenLux under one API key; group prices are on the gpt-6-luna and gemini-3.8-flash pages. Compiled by the OpenLux Team from public sources on 30 November 2026.
A 7.5x rate card turns into a 20x bill
The per-task gap is wider than the price gap because Gemini 3.8 Flash also uses more tokens. To complete the index at high effort it read 10.16 billion input tokens and wrote 125.7 million output tokens. Luna at max used 6.01 billion and 109.6 million: 1.69 times less input and 1.15 times less output. Multiply a 7.5x price by a 1.7x token count and you land close to the reported ratio.
The breakdown Artificial Analysis publishes shows where the money goes. Of Gemini 3.8 Flash's $3.02 per task, $1.76, or 58%, is attributed to cache writes, $0.89 to cache reads and only $0.37 to output. For Luna, cache writes are $0.024 of $0.152. Google's model page bills context caching at $0.075 per million tokens plus a storage fee of $0.50 per million tokens per hour, while OpenAI's Luna page charges $0.125 per million to write a cache and $0.01 to read it. For long agent loops that build and reuse large contexts, the caching model matters as much as the headline rate.
Dropping Gemini to medium effort, its API default, barely changes the picture: 30 points at $2.61 per task, 17.2 times Luna's max setting.
Two cheap models from two different directions
GPT-6 Luna is the small model of OpenAI's GPT-6 family, launched alongside GPT-6 Sol on a date Artificial Analysis records as 22 September 2026. OpenAI calls it "our most efficient model for focused, high-volume tasks". It has a 1,050,000-token context window with input capped at 922,000, up to 128,000 output tokens, text and image input, and a knowledge cutoff of 18 May 2026. Reasoning effort runs from none through max, with medium as the default. In its launch post OpenAI cut Luna's price from $0.20/$1.20 to $0.10/$0.50.
Gemini 3.8 Flash is the model Google's card describes as "designed for cost-effective scaling of general-purpose, production-ready agents", published with its model card on 2 September 2026. It takes text, images, video, audio and PDF in a 1,048,576-token window, returns up to 65,536 output tokens, and offers three thinking levels (low, medium, high; minimal returns an error). Its $0.75/$3.75 is labelled introductory and runs through 31 December 2026, after which the standard rate is $1.50/$7.50. Artificial Analysis now marks it as superseded by Gemini 4 Hydrogen.
So one is a stripped-down member of a frontier family priced for volume, and the other is a broad multimodal workhorse priced as a promotion. That difference shows up in where each one scores.
Gemini leads on agents and accuracy, Luna on code edits
Comparing Gemini at medium with Luna at max, using the same Artificial Analysis pages: on AutomationBench-AA, which scores multi-step work inside simulated SaaS applications, Gemini posts 60.9 against 53.2. On Terminal-Bench 4.1, 19.7 against 12.6. On HLE-Diamond, a hard reasoning set, 29.1 against 22.2, rising to 33.1 at Gemini's high setting. Long-context reasoning is a tie: AA-LCR has Gemini at 84.0 and Luna at 83.3.
The biggest single difference is factual reliability. On the Omniscience test, Luna's hallucination rate, which measures how often a model gives a wrong answer instead of declining when it does not know, is 79.3%. Gemini's is 51.5%. If your workload asks the model to recall facts without retrieval, that 27.8-point gap matters more than the index score.
Luna's one clear win is code that gets merged. FrontierCode-AA 2.0, which grades code changes against what maintainers would accept, has Luna at 25.2 and Gemini at 16.5 at medium and 18.7 at high. Google's own card reports 73.7% on DeepSWE v1.1 for Gemini 3.8 Flash, and OpenAI reports 66.6% for Luna at max on the same benchmark name, but those were run by different vendors with different harnesses, so they are not a clean head-to-head.
What a month costs on OpenLux
OpenLux prices each model at its base rate times a group ratio. The table uses ratios read from the pricing API at 02:00 Beijing time on 30 November 2026, for 100 million input and 20 million output tokens a month with no caching. Base cost is $20.00 for Luna and $150.00 for Gemini 3.8 Flash.
| Model and group (ratio) | Group description | Monthly cost now | From 1 Jan 2027 |
|---|---|---|---|
| GPT-6 Luna, Azure-Gpt-4 (0.44) | Standard discount, reliable stability | $8.80 | $8.80 |
| GPT-6 Luna, Openai-Gpt-1 (0.58824) | More attractive discount, may queue at peak hours | $11.76 | $11.76 |
| GPT-6 Luna, Azure-Gpt-5 (0.6) | Minor discount, consistent operational stability | $12.00 | $12.00 |
| GPT-6 Luna, Openai-Gpt-2 (0.7353) | Favorable discount, more stable runtime performance | $14.71 | $14.71 |
| GPT-6 Luna, Azure-Gpt-6 (0.9) | Minimal discount, excellent stability | $18.00 | $18.00 |
| Gemini 3.8 Flash, Anti-Gemini-2 (0.15) | Minor discount, dedicated resources | $22.50 | $45.00 |
| Gemini 3.8 Flash, Aistudio-Gemini-2 (0.26471) | generous discount, sufficient base quota | $39.71 | $79.41 |
| Gemini 3.8 Flash, Aistudio-Gemini-3 (0.44118) | Moderate discount, higher quota | $66.18 | $132.35 |
| Gemini 3.8 Flash, Aistudio-Gemini-4 (0.95589) | Minor discount, priority access to new model previews | $143.38 | $286.77 |
The group ratios compress the gap. Cheapest group against cheapest group, Gemini 3.8 Flash costs $22.50 and Luna $8.80, a 2.56x difference instead of 7.5x. Per index task the same applies: Luna at max in Azure-Gpt-4 works out to about $0.067, Gemini at high in Anti-Gemini-2 to about $0.45, and Gemini at medium to about $0.39, assuming the token mix Artificial Analysis measured. The OpenLux pricing API lists a cached-input ratio of 0.1 for both models; for gemini-3.8-flash it lists no separate cache-write or storage ratio.
OpenLux will follow Google's January change: from 1 January 2027 the gemini-3.8-flash base price moves to $1.50 input, $7.50 output and $0.15 cached, with group ratios unchanged. The right-hand column shows the result. OpenLux does not offer a Batch API, so these figures use standard rates throughout. Group mechanics are explained in how OpenLux groups and billing work.
Where Luna wins: volume, long prompts and short answers
At the scale Luna is built for, the price difference is decisive. A support or classification call with 3,000 input tokens and 500 output tokens costs $0.00055 on Luna and $0.004125 on Gemini 3.8 Flash at list price. Over a million calls, that is $550 against $4,125, before any group ratio.
Long prompts favour Luna too, despite its surcharge. OpenAI doubles input and cache prices and multiplies output by 1.5 for any request above 272K input tokens; Gemini 3.8 Flash has a single rate. Even so, a 500,000-token prompt with 10,000 tokens of output costs $0.1075 on Luna and $0.4125 on Gemini, 3.84 times more. Luna also returns up to 128K tokens in one response, twice Gemini's 65,536, which matters for long rewrites or generated code files.
If the job is extracting fields, routing tickets, summarising documents or editing code in small patches, Luna's 28-point index score is enough and its FrontierCode lead is real. Previous comparisons put Luna against Claude Opus 5.5 and its sibling GPT-6.1 Sol if you want to see where its ceiling is.
Where Gemini 3.8 Flash earns 20 times the cost
Gemini wins anything that is not text and images. Luna accepts only text and image input; Gemini takes audio, video and PDF natively. For transcribing calls, reading scanned contracts or answering questions about a video, there is no Luna option to compare against.
It is also the safer choice for unattended agents. A 7.7-point lead on AutomationBench-AA and a hallucination rate 27.8 points lower mean fewer failed tool sequences and fewer confident wrong answers per thousand runs. When one failure costs a human review, a $0.39 task that succeeds more often can be cheaper than a $0.067 task that does not. Google also lists built-in Search grounding, with 5,000 free requests a month across Gemini 3 and newer models and $14 per 1,000 after that. For another view of 3.8 Flash against a cheaper challenger, see ERNIE 5.5 Flash Preview vs Gemini 3.8 Flash.
The settings that trip each one up
Luna has one integration trap. Its model page states that Chat Completions "supports function calling only with reasoning_effort set to none". With reasoning off, Luna's index score falls to 9.4 and its long-context score from 83.3 to 39.7. If you need tools and reasoning together, use the Responses API; OpenLux lists both Chat Completions and Responses endpoints for gpt-6-luna.
Gemini 3.8 Flash's trap is the calendar. Any budget you set in December is wrong in January: list prices double on 1 January 2027, cache storage goes from $0.50 to $1.00 per million tokens per hour, and the per-task figure of $3.02 roughly becomes $6.04 at unchanged token use. Requesting minimal thinking, which some older Flash integrations send, returns an error.
Which one to put in production
Default to GPT-6 Luna for high-volume text work: classification, extraction, summarisation, short code edits and long-document reads where the answer is in the document. It costs $8.80 a month at our reference volume in its cheapest OpenLux group, and its main weakness, fact recall, can be covered by giving it the source text.
Move a workload to Gemini 3.8 Flash when it needs audio, video or PDF input, when it runs multi-step agents without a human checking each step, or when wrong facts are expensive. Budget for the January doubling now: in Anti-Gemini-2 the reference month goes from $22.50 to $45.00.
The deciding number is your failure cost. If a failed task costs more than about $0.32, the per-task difference between Gemini medium in Anti-Gemini-2 and Luna max in Azure-Gpt-4, test Gemini on that workload. Below that, Luna's price wins. Switching between them on OpenLux is a change of model name on the same base URL.
Create an OpenLux account to try both on one key.