AI news

Google's Distillation Docs: Experimental Limits and the Scope of Open-Model Weight Exports

By InfoQ0 viewsSource: InfoQ
Google distillation documentation: Experimental limits and the distinction from open-model exports

Google documents distillation from a Gemini teacher to a student, but Early Access is limited to experiments and development, the listed student is retired, and availability needs confirmation. Exporting weights under the separate open-model tuning service does not mean exporting Gemini weights.

This article covers two services with different scopes: the Early Access described in the Gemini distillation documentation is limited to experiments and development, and current availability needs separate confirmation. The open-model tuning documentation's weight-export provisions do not mean Gemini weights are open. Historical examples below have been corrected using official sources to distinguish cloud and on-device deployment, the speech date, and defenses still being rolled out gradually.

While some leading model providers tightly guard against distillation, Google has simply provided enterprises with an operating guide for it.

From dataset preparation and teacher configuration to student training, job monitoring, and evaluation, Google has documented almost the entire process, even supplying API request examples and training parameters.

Article illustration

https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/tuning/distillation?hl=zh-cn

However, the English version of the page above currently returns a 404, while other language versions display normally. The service's precise current status is uncertain.

Google's explanation in the documentation is pragmatic: frontier models are powerful, but may be overprovisioned for particular enterprise applications. Enterprises may not need the strongest model for every request; they need lower latency and costs while maintaining task quality.

Beyond the enterprise service, Google also offers supervised and distillation fine-tuning for open models. That page displays normally. Its listed distillation teachers include Zhipu's GLM-5.2 MaaS, with Qwen 3 and Gemma 3 series models among the students.

Article illustration

No manual training-set labels required: Google has arranged the distillation workflow too

First, let us look at how Google's service distills its own models.

According to the official documentation, the Early Access combination is Gemini 3.1 Pro as teacher and Gemini 2.5 Flash as student. Note that the latter model has been retired.

There is a distinction worth noting here.

Conventional supervised fine-tuning, or SFT, typically requires inputs paired with reference answers, which the model learns to adjust its behavior. Reasoning-path distillation is a variant of process supervision, requiring a smaller student to imitate a flagship model's task decomposition, hypothesis testing, and logical backtracking.

Google's distillation service lets users supply a dataset of prompts directly, without first preparing complete reference answers. The teacher generates target responses from these inputs, which are then used to train the student. It uses the teacher's internal reasoning paths, called 'raw thoughts' in the documentation. This is the crucial dividing line for distillation in the reasoning era.

This approach is particularly relevant to enterprises needing multistep logic, technical-document summarization, or complex coding. For example, a company may find that Gemini Pro handles a difficult task well, but its invocation costs and response latency fail to meet business requirements. It can then try transferring that capability to a Flash-level student.

Google breaks the workflow down in considerable detail.

First, the enterprise prepares its own prompt dataset, saves it as JSONL, and uploads it to Google Cloud Storage. The dataset may include system instructions and user inputs, and supports certain forms of multiturn dialogue.

Because the teacher generates target outputs later, enterprises need only supply prompts during training-set preparation, without manually labeling a reference answer for every input. The teacher automatically generates target answers and corresponding raw reasoning, then uses them to train the student. Once training finishes, enterprises still need an independent held-out test set to evaluate performance.

Google also specifies clear data requirements: at least 1,000 examples are recommended, covering as many situations in actual production traffic as possible, including edge cases and varying prompt lengths. The full training set supports at most 50,000 examples, and the JSONL file must not exceed 1 GB.

Next comes teacher generation. Users configure how the teacher generates responses. One important parameter, candidateCount, sets how many response variants to generate per input. It defaults to four and allows values from one to five.

The quality of teacher-generated data directly affects the final student's performance, a point Google specifically emphasizes.

After data preparation comes student training. Users set two main parameters: epochCount and learningRateMultiplier. The former determines how many times the student repeats the entire dataset, ranging from one to 100 with a default of four. The latter adjusts the learning rate, ranging from 0.25 to four with a default of one.

Once the job is submitted, the system automatically performs teacher inference and student tuning. Google's workflow produces a distilled model registered in the model repository; after training, the student is automatically registered in Google Cloud's Model Registry and receives dedicated inference endpoints. Training also saves intermediate checkpoints and provides prediction endpoints for them, allowing developers to compare performance at different stages.

Enterprises therefore need not build an entire pipeline for teacher generation, data processing, student training, and deployment from scratch. Google integrates those stages into its cloud platform service.

After training, users still need to evaluate on a held-out test set and compare the results separately with the original Gemini 2.5 Flash and Gemini 3.1 Pro. This measures improvement over the base model and the remaining performance gap to the teacher.

Google identifies three main types of use case.

The first is high-volume, latency-sensitive business. For example, a company needs Pro-level reasoning but faces strict latency service-level agreements and budget limits. It can try moving the task to a Flash-level model.

The second is a lack of reference answers. An enterprise may have accumulated many user queries and business prompts but lack the resources to label answers individually. Teacher-generated training targets reduce data-preparation work.

The third is complex reasoning, including multistep logic, technical-document summarization, and complex coding. A basic Flash model may struggle where Pro succeeds, so enterprises can try narrowing the gap through distillation.

This apparently comprehensive manual also has many limitations.

First, Google explicitly warns that models distilled through this service are for experiments and development only and must not be deployed in production. Second, it is not open to everyone. Enterprises must contact Google to allowlist their Google Cloud projects, enable the Agent Platform API, and obtain the corresponding administrator permissions. The page says jobs must run in the US us-central1 region. Initial access lasts 30 days, with a default concurrency quota of four.

Data limitations are also substantial: only text is supported, excluding multimodal inputs such as images and video, and function calling is unsupported too. Each input allows at most 8,000 tokens. If more than 10% of examples exceed that limit, the job terminates. Teacher outputs are capped at 24,000 tokens, with any excess truncated.

Google Cloud's official release notes list Gemini Distillation Service Early Access on May 8, 2026. It was therefore not suddenly launched in the past few days. Turning distillation into a business has long been something Google both wanted to do and has been doing.

Cheaper distillation is no threat when Google earns money beyond models

Before being cast as a villain, distillation was simply an ordinary technique. Google published detailed technical documentation about it long ago.

Article illustration

Google's relatively open attitude also reflects the completely different business economics of a pure model provider and a full-stack cloud giant.

For providers such as Anthropic and OpenAI, whose core competitiveness rests on model capabilities and API services, 'token wholesalers' is one way to describe their essence. Unauthorized distillation creates direct business risks: flagship models distilled into small open models can be deployed locally or on third-party clouds. That substitution could erode frontier providers' inference revenue and weaken pricing advantages in some applications.

Google, however, has a full-stack ecosystem of chips, TPUs, cloud computing, GCP, and foundation models. It has never wanted to sell only a single model's tokens, but the complete cloud infrastructure surrounding AI operations—including the conveniences and advantages distillation brings.

Google launched Gmail's 'Help me write' in 2023, but its official description does not establish that distillation made the feature run entirely locally on Android and iOS phones. The Google Cloud CEO Thomas Kurian speech transcript cited here is actually dated September 9, 2025. It describes several ways to monetize AI and cannot confirm the original article's claimed 2024 Samsung distillation example. Samsung's 2024 official announcement says the Galaxy S24 uses Gemini Pro and Imagen 2 through cloud-based Vertex AI, while separately using on-device Gemini Nano. Those deployments must not be conflated, and Vertex AI is more than a distillation tool.

Article illustration

This indicates that distillation has long been more than a laboratory model-optimization technique for Google: it is a product capability that can directly serve enterprise customers and generate revenue.

Thomas groups Google Cloud's AI monetization into five approaches: charging for GPU, TPU, and model-token consumption; subscription fees for products such as Agentspace and Workspace; using AI to increase customers' consumption of other products; pricing based on actual business value; and upgrading customers to more capable, higher-quota product tiers as their needs grow.

Google does not need every enterprise customer to keep invoking the most expensive models. In high-volume, latency-sensitive businesses, distillation can offer a chance to reduce cost per inference while obtaining faster responses.

Customers may reduce direct use of expensive models while continuing to use Google Cloud's distillation, training, model-management, and deployment services. Spending previously concentrated on inference can thus become broader demand for cloud services. Gemini Enterprise Agent Platform, introduced by Google this year, further embodies this approach.

Google's open-model strategy is not limited to its own models. Its open-model tuning and distillation page already lists Zhipu GLM-5.2 MaaS as a teacher and supports Qwen 3 and Gemma 3 series students.

These combinations across providers reflect Google's ambition to build model training and adaptation on its cloud platform, rather than restrict the services to Gemini's own ecosystem.

Within the scope of that separate open-model tuning and distillation service, enterprises need not bind the resulting open model to Google Cloud permanently. Its documentation says developers can deploy a trained model to a Gemini Enterprise Agent Platform inference endpoint or export the relevant open-model weights from Cloud Storage for deployment elsewhere. This does not mean Gemini distillation allows downloads of Gemini's closed model weights.

What needs defending still needs defending

Turning distillation into a revenue-generating cloud service certainly does not mean Google tolerates unauthorized distillation. On the contrary, protecting the business's pricing power is precisely why its defenses are aggressive.

According to a report published this September by Google Threat Intelligence Group, GTIG, attackers have begun using proxy infrastructure, automation, and thousands of stolen or fraudulent accounts to collect model outputs in bulk. Some coordinated distillation campaigns involve more than 100 million prompts and target text reasoning, visual and audio understanding, and image and video generation.

To counter this piecemeal extraction, Google has built cross-account detection. Rather than judging risk only from an individual account's request frequency, it combines real-time monitoring, offline classifiers, and agents to identify coordinated requests distributed across accounts and product channels. Once anomalies are detected, it can impose account- and project-level restrictions to block further model access.

Google has also begun intervening directly in distillation. It has deployed real-time proactive defenses intended to reduce the training benefit unauthorized students gain from Gemini outputs. Google explicitly says these measures aim to reduce distillation effectiveness and even degrade students' eventual performance.

Google is also strengthening protection of internal reasoning. The Gemini 4 Carbon safety report released in November says its defenses extend to thought signatures and associated reasoning traces. It reports mitigating cross-model thought extraction and gradually rolling out additional measures against unauthorized same-model extraction, aiming to restrict capability extraction through internal reasoning. This does not guarantee that all such extraction has been blocked.

Google also says it has developed techniques to identify models distilled from Gemini, trace their provenance, and take action against them. It has not disclosed the specific implementation.

Reference links:

https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/tuning/distillation

https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/tuning/open-model-tuning

https://www.youtube.com/watch?v=aRHJ8VcqANw&t=8s

https://news.samsung.com/us/samsung-google-cloud-bring-generative-ai-to-samsung-galaxy-s24-series/

https://s206.q4cdn.com/479360582/files/doc_events/2025/Sep/thomas-kurian-goldman-sachs-transcript-09-09-25.pdf

https://deepmind-media.storage.googleapis.com/gemini/gemini_4_carbon_safety_report.pdf

This article is from the WeChat account 'InfoQ,' by InfoQ.

Related topics

After reading

Join the AINRK community

Read how to join the community and connect with people working in AI.

Community information (opens in a new tab)