Nebius has expanded its Token Factory companion project into a broad collection of production-oriented examples. The MIT-licensed cookbook repository contains Jupyter notebooks and runnable applications covering API access, agents, retrieval-augmented generation, fine-tuning, distillation, structured output, and media generation.

Its OpenAI-compatible interface lets developers reuse familiar SDK request formats while directing traffic to hosted open-weight models. Switching providers can require only a new base URL, API key, and model name, although provider-specific features and response formats may still require code changes.

One repo, six layers

Most examples are notebooks designed for inspection and modification. Each directory addresses a distinct part of the LLM application stack: