Skip to content

Security and governanceAnalysis

Can you train on AI outputs? What provider terms say

You own what the model writes for you, and you still may not use it to build a competing model. Here is what OpenAI's, Anthropic's and Google's current terms say about distillation, the carve-outs each one makes, how open-weight licences differ, and why a stolen key used for distillation is your problem too.

By INFRO Editorial

Published

8 min read

Glowing amber lines branching upward from one glass node to many small nodes on a dark ground, one path lit brighter than the rest

In short

OpenAI, Anthropic and Google all forbid using their models' outputs to develop competing models: OpenAI's business and consumer terms, Anthropic's Commercial Terms and Usage Policy, and Google's Gemini API and Cloud service terms. Each has carve-outs: OpenAI permits internal classifiers and embeddings and fine-tuning its own models, Google permits its own fine-tuning and distillation features, and Anthropic allows it only with prior authorization. Open-weight licences such as Apache 2.0 or Llama 3.1 set their own rules. If someone else uses your key for distillation, the activity is still on your account, which can lead to suspension and charges. This is not legal advice.

Key takeaways

  • All three major providers forbid using outputs to develop competing models, in both business and consumer terms.
  • Owning the output does not cancel the restriction: OpenAI assigns you the output and still restricts what you train with it.
  • Each provider has carve-outs: OpenAI for internal classifiers and embeddings and its own fine-tuning, Google for its own fine-tuning and distillation features, Anthropic only with prior authorization.
  • Open-weight models carry their own licences: gpt-oss is Apache 2.0, while Llama 3.1 requires naming and attribution for models trained on its outputs.
  • If someone else distils through your key, the terms make you responsible for activity on your account, and providers may suspend first and talk later.

Can you train a model on ChatGPT, Claude or Gemini outputs? Not one that competes with the provider. OpenAI, Anthropic and Google all forbid using their outputs to develop competing models, in their business terms and in their consumer terms. Each makes narrow exceptions, mostly for the provider's own fine-tuning and distillation features, and open-weight models follow their own licences. One consequence matters to every company with an API key: if someone else uses your key to distil a model, the activity is on your account.

Why this question is everywhere in 2026

Distillation, training a smaller model on a larger model's outputs, is an ordinary technique when you own both models. It became a security story when providers described doing it at scale against them. Anthropic said in February 2026 that three labs ran over 16 million exchanges through about 24,000 fraudulent accounts, and that the activity broke its terms of service and regional restrictions1. In October, OpenCode described a breach of its Console as related to a large-scale distillation attack in which provider keys saved by its users may have been exposed; some users reported unauthorized charges and Google project suspensions2. What happened in the OpenCode Console breach keeps to what has been confirmed.

So two questions now arrive together: what may we do with model outputs, and what happens to us if someone else uses our key to do what we may not.

What each provider's terms say

ProviderDocumentThe restrictionThe carve-out
OpenAIServices Agreement (API and business)No using Output to develop AI models that compete with OpenAI's products and services3Internal classifiers, embeddings and similar models not distributed; fine-tuning OpenAI's own models3
OpenAITerms of Use (consumer)No using Output to develop competing models; no automated extraction of data or Output4None stated
AnthropicCommercial TermsNo accessing the services to build a competing product, including to train competing AI models, and no supporting a third party's attempt5As expressly approved by Anthropic5
AnthropicUsage PolicyNo training a model on outputs, naming model scraping and distillation6With prior authorization from Anthropic6
GoogleGemini API Additional TermsNo using the services to develop models that compete with them; no attempts to reverse engineer, extract or replicate components7None stated in the additional terms
GoogleCloud Service Specific Terms (AI/ML services)No using output to create or improve models similar to a Google model, or to substitute for one8Google's own fine-tuning and distillation features, to make modified Google models8

OpenAI

The Services Agreement, which governs the API, lists among the things a customer may not do, or let end users do, using Output "to develop artificial intelligence models that compete with OpenAI's products and services," except for a Permitted Exception3. The exception covers two cases: models "primarily intended to categorize, classify, or organize data," such as embeddings or classifiers, provided they are not distributed or offered to third parties; and fine-tuning or customizing models through OpenAI's own fine-tuning services3. The same list forbids extracting data other than as the services permit, and buying, selling or transferring API keys to or from a third party3.

The consumer Terms of Use say the same thing more briefly: no using Output to develop models that compete with OpenAI, and no automatic or programmatic extraction of data or Output4. They also say that, as between you and OpenAI, you own the Output4. Ownership and permitted use are separate: you own the text, and you agreed not to train a competing model with it.

Anthropic

Anthropic's Commercial Terms, which cover API keys, bar accessing the services to build a competing product or service, "including to train competing AI models," except as Anthropic expressly approves, and bar reverse engineering or duplicating the services5. They add a clause that matters for the stolen-key case: the customer may not support any third party's attempt at the same conduct5.

Anthropic's Usage Policy, in the version its site lists as effective 12 November 2026, puts it under not abusing the platform: no using outputs to train an AI model, naming "model scraping" and "model distillation," without prior authorization; no coordinating activity across many accounts to avoid detection; and no providing access to Claude through unauthorized means6.

Google

The Gemini API Additional Terms state that you may not use the services "to develop models that compete with the Services," giving the Gemini API and Google AI Studio as examples, and may not try to reverse engineer, extract or replicate any component7.

The Google Cloud Service Specific Terms, which cover Google's AI/ML services in Cloud, go further. Customers may not use an AI/ML service or its output to develop a similar or competing product, and Google may immediately suspend or terminate use based on any suspected violation8. A separate model restriction bars using output to substitute for a Google model or to create or improve similar models; where a service offers fine-tuning or model distillation, its output may be used to make modified Google models8. The terms also say the competitive-use restriction does not apply to Google's agent platform (formerly Vertex AI Platform) as long as the customer does not use a Google pre-trained model8. Read the current section yourself before relying on that nuance.

What is allowed

The terms are narrower than "never train on outputs." Read together, these uses are expressly permitted or outside the restriction:

  • The provider's own distillation and fine-tuning. OpenAI's exception covers fine-tuning its models through its services3; Google's covers its own fine-tuning and distillation features8. You end up with a customized model that runs on the provider, not a portable one.
  • Internal classifiers and embeddings with OpenAI, if they are not distributed or offered to third parties3.
  • Anything Anthropic has authorized in advance6. Ask in writing.
  • Distilling your own models from your own models. If you own or license the teacher, the provider terms above do not apply.
  • Open-weight teachers under their licence. OpenAI publishes gpt-oss-120b under Apache 2.09. The Llama 3.1 licence lets you use outputs to train or improve another model, but a distributed model built that way must have a name beginning with "Llama" and display "Built with Llama"; licensees above 700 million monthly active users need a separate licence from Meta10. Licences differ by model and version: check the exact one.

Your exposure when someone else distils through your key

This is the part most companies have not thought about. The terms put responsibility on the account holder, and they do not wait for intent.

  • You are responsible for activity on your account. OpenAI's Services Agreement makes the customer responsible for all activities under its account3. Anthropic's Commercial Terms say the same, and require the customer to notify Anthropic promptly if it believes the account has been compromised5.
  • Suspension can come first. OpenAI may limit or suspend access for a breach of the agreement or a security emergency, making reasonable efforts to notify first but not always3. Anthropic may suspend if it reasonably believes the services are being used in breach of its use restrictions5. Google may suspend immediately on suspected competitive use8. In the OpenCode case, users reported Google suspending projects for "abusive activity consistent with hijacked resources"2.
  • The charges are on your bill. A distillation campaign wants volume and the best model, which is the most expensive traffic you can have. Some OpenCode users reported more than $1,700 in unauthorized charges overnight2.
  • Your account can look like an attacker's. Anthropic describes detecting distillation through classifiers and behavioral fingerprinting of API traffic1. A stolen key running a harvesting workload produces exactly that pattern, under your name.

None of this means a provider will treat a victim as a perpetrator. It means the first contact may be a suspension notice, and the burden of showing what happened is on you. What to do when a provider suspends your account covers the response, and How stolen API keys feed distillation campaigns the mechanics.

Reducing the exposure

  • Give every workload its own provider key, project or workspace, so a stolen key's traffic is separable and one suspension does not take everything down.
  • Restrict keys at the provider: models, IP ranges where available, and a spend limit.
  • Watch per-key usage for models you never call and output volumes you never produce. Signs your AI API key is being abused lists the signals.
  • Write down who may train on model outputs, from which providers, under which terms, and review it before any training run.
  • Know where to report a compromise at each provider before you need to; Anthropic's terms expect prompt notice5.
  • Keep the provider's own usage records for the window; they are your evidence in an appeal.

How INFRO handles keys and model access

INFRO is a gateway that runs on provider accounts you own; it does not train models and does not use your traffic for training. For traffic sent through it, model allowlists refuse a model you have not approved with 403 model_not_allowed (model allowlists), gateway keys can be limited to chosen providers and IP ranges, budgets refuse a request with 402 before the provider is called, and every change to keys and policy is in the audit log. Provider credentials are encrypted with AES-256-GCM under a key held outside the database and are never shown again after saving (security).

Those controls do not reach a provider key used directly. A provider key stolen from anywhere, including from a platform that stores provider keys as INFRO does, can be used straight against the provider and bypasses INFRO's allowlists and budgets. For that case your backstops are at the provider: scoped keys, provider spend limits, revocation at the provider, and the provider's own usage reports.

Summary

You may own the output and still not train a competing model on it: OpenAI, Anthropic and Google all say so, each with narrow carve-outs for their own fine-tuning and distillation features or prior authorization. Open-weight licences set different rules. If someone else distils through your key, the terms put the account, the bill and the first conversation on you, so scope keys, watch per-key usage and know how to report a compromise. Take legal advice before relying on any of this.

Questions readers ask

Can I train my own model on ChatGPT or OpenAI API outputs?
Not a model that competes with OpenAI's products and services: both OpenAI's Terms of Use and its Services Agreement forbid that. The Services Agreement makes two exceptions: internal models that classify or organize data, such as embeddings or classifiers, if not distributed, and fine-tuning OpenAI's own models through its services. What counts as competing is a question for your counsel.
Do I own the output if I cannot train on it?
OpenAI assigns you its rights in the output, and still restricts using it to develop competing models. Ownership and permitted use are separate questions: the contract binds you as a customer regardless of who owns the text.
Is distillation allowed with open-weight models?
It depends on the licence. OpenAI's gpt-oss models are published under Apache 2.0. The Llama 3.1 licence allows using outputs to train another model, but a distributed model built that way must have a name beginning with Llama and show Built with Llama. Read the licence of the exact model and version you use.
Am I liable if someone steals my API key and uses it for distillation?
Provider terms make you responsible for activity under your account, and providers can suspend an account they suspect of a violation. In practice the immediate risks are suspension and the charges. Revoke the key, report the compromise to the provider promptly, and take legal advice on anything beyond that.

From the team that builds it

Where this shows up in INFRO

INFRO is a control plane in front of the provider accounts you already hold. The capabilities below are the parts of it this article touches, each with the documentation that defines its behaviour.

INFRO accounts are self-serve. Provider usage is billed to you by your providers; INFRO charges a software subscription and takes 0% of model spend. See plans.

Sources

Numbered in order of first citation. Each was opened and checked against the claim on the date shown.

  1. 1.Detecting and preventing distillation attacks (opens in a new tab) — Anthropic. Accessed Oct 21, 2026.
  2. 2.OpenCode hack exposes API keys amid AI distillation attacks (opens in a new tab) — BleepingComputer. Accessed Oct 21, 2026.
  3. 3.OpenAI Services Agreement (opens in a new tab) — OpenAI. Accessed Oct 21, 2026.
  4. 4.Terms of Use (opens in a new tab) — OpenAI. Accessed Oct 21, 2026.
  5. 5.Commercial Terms of Service (opens in a new tab) — Anthropic. Accessed Oct 21, 2026.
  6. 6.Usage Policy (opens in a new tab) — Anthropic. Accessed Oct 21, 2026.
  7. 7.Gemini API Additional Terms of Service (opens in a new tab) — Google. Accessed Oct 21, 2026.
  8. 8.Google Cloud Platform Service Specific Terms (opens in a new tab) — Google Cloud. Accessed Oct 21, 2026.
  9. 9.openai/gpt-oss-120b (opens in a new tab) — Hugging Face. Accessed Oct 21, 2026.
  10. 10.Llama 3.1 Community License Agreement (opens in a new tab) — Meta (via Hugging Face). Accessed Oct 21, 2026.

About this article

Every clause is taken from the provider's current published terms, opened on 2026-10-21: OpenAI's Services Agreement (effective 2026-01-01) and Terms of Use (effective 2026-01-01), Anthropic's Commercial Terms of Service (effective 2025-06-17) and Usage Policy (the version listed as effective 2026-11-12), Google's Gemini API Additional Terms (last modified 2026-04-28) and Google Cloud Service Specific Terms (last modified 2026-10-12), the Llama 3.1 licence and the gpt-oss model card. Short phrases are quoted; the rest is paraphrase. This is an analysis, not legal advice. Written by the team that builds INFRO.

Last checked against its sources on . The next review is due by . No separate named reviewer is recorded for this article.

How articles are written, sourced and corrected is set out in the editorial standards.