Long-horizon software engineering
Google reports 73.7% on DeepSWE v1.1, up from 65.3% for 3.7 Flash and close to Claude Opus 5 at 74.0%.
The Gemini 3.8 Flash API for long-horizon coding and agents, 58% below Google's list price
gemini-3.8-flashfrom openai import OpenAIclient = OpenAI( base_url="https://api.zurelay.com/v1", api_key="YOUR_ZURELAY_KEY",)stream = client.chat.completions.create( model="gemini-3.8-flash", messages=[{"role": "user", "content": "Explain quicksort in two sentences."}], stream=True,)for chunk in stream: if chunk.choices: print(chunk.choices[0].delta.content or "", end="")Base URL https://api.zurelay.com/v1. Works with any OpenAI SDK. Chat API docs
Pricing
Pay as you go from prepaid credit, with no subscription. Top up from $10. Requests that fail are never billed.
| Rate | Zurelay | Google list | You save |
|---|---|---|---|
Input per 1M tokens | $0.32 | 57%off | |
Output per 1M tokens | $1.59 | 58%off | |
Cached input per 1M tokens | $0.032 | — | — |
One rate at every prompt length, up to the full 1M context window. Streaming, tool calls and structured outputs cost nothing extra.
Move the sliders to your monthly usage.
$517.20 a year
Overview
Gemini 3.8 Flash is Google's most intelligent Flash model, built for long-horizon software engineering, autonomous agents and complex enterprise workflows, and released on September 2, 2026. The Zurelay Gemini 3.8 Flash API serves it through one OpenAI-compatible endpoint with a 1M-token context window, at 58% below Google's list price.
Google released Gemini 3.8 Flash on September 2, 2026, three weeks after Gemini 3.7 Flash and its third Flash release in six weeks. Google calls it its most intelligent workhorse model, with significant improvements over 3.7 Flash in software engineering, agentic tasks and multi-step reasoning in specialized fields. The Gemini 3.8 Flash API model reads text, images, video, audio and PDFs and writes text. It takes up to 1,048,576 input tokens and writes up to 65,536 output tokens per response. On Zurelay the model ID is gemini-3.8-flash, and it costs $0.32 per 1M input tokens and $1.59 per 1M output tokens.
Google's model card shows where the gains land. It scores 73.7% on DeepSWE v1.1, a long-horizon software engineering test, against 65.3% for 3.7 Flash and 74.0% for Claude Opus 5. Among the six models in Google's table it has the top score on Terminal-bench 2.1 (89.4%), HLE-Verified (54.9%), Vals Finance Agent v2 (61.4%) and Harvey's Legal Agent Benchmark (10.0%). Claude Opus 5 stays well ahead on Terminal-bench 4.0, a test of general agent skills, and on OSWorld-2.0 for computer use.
Thinking is always on. Gemini 3.8 Flash supports the low, medium and high thinking levels, with medium as the default; the minimal level is not supported. The model also supports function calling and structured outputs. Google says 3.8 Flash works harder on complex tasks, taking extra reasoning steps and calling tools iteratively. Thinking tokens bill as output, so a lower level cuts both cost and latency on simple steps.
Google lists 3.8 Flash at the same introductory price as 3.7 Flash, a rate that runs through December 31, 2026. Google doubles it on January 1, 2027. Where compute efficiency matters most, Google suggests a lower thinking level, or Gemini 3.7 Flash, which it says remains fully supported for efficiency-first workloads. Google has not announced a shutdown date for either model.
Strengths
Google reports 73.7% on DeepSWE v1.1, up from 65.3% for 3.7 Flash and close to Claude Opus 5 at 74.0%.
It posts the top scores in Google's six-model table on Vals Finance Agent v2 (61.4%) and Harvey's Legal Agent Benchmark (10.0%).
89.4% on Terminal-bench 2.1, the best in Google's table, and 59.0% on OSWorld-2.0, up from 50.6% for 3.7 Flash.
A 1M-token context with PDF, image, video and audio input. It scores 86.2% on CharXiv Reasoning and 87.8% on LVBench, a long-video test.
Use cases
Long-horizon work in IDE and CLI agents: multi-file features, debugging and issue resolution carried through to a finished result.
Analyst and legal workflows over filings, contracts and case files, where Google's table puts it ahead of every other model it lists.
Bioinformatics and lab research tasks, where Google reports gains over 3.7 Flash on BioMysteryBench and LABBench2.
Multi-step, tool-calling workflows with structured outputs, such as ticket triage or moving data between systems.
Get started
No waitlist and no new SDK. If your code already talks to OpenAI, it already talks to Zurelay.
Sign up, add credit and create an API key. Set a monthly budget or a rate limit per key if you like.
Change the base URL. Everything else in your code stays the same.
https://api.zurelay.com/v1Send chat completions as usual. Streaming, tool calls and usage reporting work as you expect.
gemini-3.8-flashWorks with the tools you already use
Compare
$0.32 / $1.59 per 1M tokens
Pick Gemini 3.7 Flash when compute efficiency comes first; Google says it remains fully supported for efficiency-first workloads, at the same list price.
Gemini 3.7 Flash API$0.12 / $1.04 per 1M tokens
Pick Gemini 3.5 Flash-Lite for high-volume, latency-sensitive steps where speed and a lower list price matter more than peak quality.
Gemini 3.5 Flash-Lite API$1.75 / $8.75 per 1M tokens
Pick Claude Opus 5 for general agent and computer-use work, where Google's own table puts it well ahead, at a much higher list price.
Claude Opus 5 APIOn Zurelay, gemini-3.8-flash costs $0.32 per 1M input tokens and $1.59 per 1M output tokens, with cached input at $0.032. Google's list price is $0.75 input and $3.75 output per 1M, so you save 58%. Thinking tokens bill as output, and the rate is the same at every prompt length.
Yes. Zurelay serves gemini-3.8-flash at 58% below Google's list price, paid from prepaid credit with no subscription. Google's own price is an introductory rate that runs through December 31, 2026, and Google doubles it on January 1, 2027.
Install the official openai package, set base_url to https://api.zurelay.com/v1 and use your Zurelay API key. Then send a Chat Completions request with model set to "gemini-3.8-flash". Messages, tools and streaming use the standard OpenAI request format.
Gemini 3.8 Flash takes up to 1,048,576 input tokens and writes up to 65,536 output tokens per response. The model accepts text, image, video, audio and PDF input and writes text.
Thinking is always on. The model supports low, medium and high, with medium as the default, and does not support minimal. On Zurelay you pick the level with reasoning_effort. Google says 3.8 Flash takes extra reasoning steps on complex tasks, so use low for quick tool steps and save high for the hardest problems.
It scores higher across Google's model card: 73.7% against 65.3% on DeepSWE v1.1, 89.4% against 85.8% on Terminal-bench 2.1 and 59.0% against 50.6% on OSWorld-2.0. Both have a 1M-token context, a 65,536-token output limit and the same Google list price. Google says 3.8 Flash works harder on complex tasks and points efficiency-first workloads to lower thinking levels or to 3.7 Flash, which remains fully supported.
Long-horizon coding, autonomous agents and specialist knowledge work. In Google's table it leads every listed model on finance and legal agent tasks, Terminal-bench 2.1, chart reasoning and long-video understanding. Claude Opus 5 still scores higher on general agent tasks and computer use.
No. Google offers Gemini 3.8 Flash Cyber, its cybersecurity variant, only to trusted defenders through its Fairwind Program. Zurelay serves Gemini 3.8 Flash, which Google ships with safeguards against misuse such as cyber offense.
Yes. Set stream: true, and add stream_options.include_usage to get token counts in the final chunk. Each Zurelay API key can have its own monthly budget and requests-per-minute cap. Failed requests are retried on another route and never billed.
Yes, it is Google's Gemini 3.8 Flash model. Responses are sampled, so wording varies between runs, and Zurelay does not promise byte-identical output. Zurelay is independent and is not affiliated with or endorsed by Google.
Create a key in seconds, point the SDK you already use at Zurelay, and every request costs up to 90% less from the first token.