Skip to main content

Distillation Policy

NanoGPT exposes a distillationPolicy field that indicates whether a model or provider route is allowed for output-based model training or distillation under NanoGPT’s recorded model-license and provider-terms rules. This metadata is currently API-only. The text models browser UI does not show a distillation filter or badge. Distillation policy metadata is based on NanoGPT’s current interpretation of published model licenses and provider terms. Users are responsible for ensuring their use complies with all applicable terms and laws.

Policy Object

Text model records and provider rows may include:
All fields are additive and optional for backwards compatibility. New API responses include distillationPolicy where NanoGPT has recorded policy metadata.

Statuses

Bases

Model Policy vs Provider Policy

There are two policy layers: A provider can restrict output use even when the underlying model license is permissive. Provider-specific restrictions override model-level allowances. Provider rows are evaluated with these rules:
  • Explicit provider restrictions return disallowed.
  • Explicit provider permission returns allowed.
  • If provider terms do not mention output-based training or distillation, and the underlying model/license allows it, NanoGPT treats the provider route as allowed.
  • If the underlying model policy is unknown or disallowed, provider silence does not make it allowed.
Example provider row:

Filtering Text Models

The explore text model endpoints support distillation=allowed.
This returns only text models whose model-level distillation policy is allowed. Search supports the same parameter for text search:
The filter applies only to text models.

Response Metadata

When the filter is used, responses include:
Without the filter, text model responses include:

Provider-Level Behavior

Provider route policy can differ from model-level policy:
  • DeepSeek models served by DeepSeek are allowed.
  • Fireworks, Together, Nebius, and ArliAI routes on a model whose license permits distillation are allowed.
  • Providers with explicit competing-model or output-training restrictions are disallowed.
  • Providers with no recorded restriction on an allowed open-weight model are allowed.
  • Providers with no recorded restriction on an unknown model or license are unknown.
For a representative open Qwen model across user-selectable providers, the current provider-level split is 35 allowed, 21 disallowed, and 0 unknown.

Caveats

  • This metadata is informational and is not legal advice.
  • Provider terms and model licenses can change.
  • Model licenses can impose attribution, naming, acceptable-use, or derivative-model restrictions even when distillation is allowed.
  • Provider-specific restrictions override model-level allowances.
  • Unknown model/license status remains unknown even if a provider is silent.
  • Inspect sourceUrl and note before relying on a model or route for distillation.