A collection of guides and examples for building intelligent applications with open models on Nebius Token Factory.
β If you find this repo useful, give it a star! You'll be notified of new updates and help others discover it too β thank you!
- Nebius Token Factory Cookbook
- Table of Contents
- π Featured
- π· For Builders
- π Getting Started
- π Models
- π APIs
- π Agents
- π RAG
- βοΈ Integrations
- π§ Function / Tool Calling
- π οΈ Post Training
- π« Distillation
- π« Workshops
- πΆοΈ Fun and Cool Stuff
- π€ Contributing
- π Resources
- π License
- π GitHub Star History
- β¨ Contributors
- Token Factory Workshop
- Office Hours Β β’Β Events supported by Nebius AI
- LangChain deep agent examples
- Community contributions
- Post training examples
- Distillation guide
- Cool Apps / Demos
π· For Builders
Network, learn, and build with fellow builders - including hackathons, workshops, and community events.
Join Office Hour online.
Events / hackathons / workshops
π Getting Started
- Prerequisites
- A Nebius Token Factory account and API key β sign up for free here
- Python runtime (local, Google Colab, etc.)
- Follow the getting started guide
- Follow project-specific instructions in each example's README
π Models
Checkout the latest model guides and sample code.
Featuring: DeepSeek V4 Pro Β β’Β GLM-5.1 Β β’Β Qwen3.5-397B-A17B Β β’Β Kimi-K2.5 Β β’Β Nemotron family
π APIs
Access Token Factory using various APIs:
OpenAI-compatible API Β β’ Β LiteLLM Β β’ Β ai-suite Β β’ Β Llama-index
π Agents
Numerous agent examples ranging from starter to intermediate and advanced.
Featured AI Agent frameworks:
CrewAI
Β β’ Β
Agno
Β β’ Β
LangChain
Β β’ Β
Google ADK
Β β’ Β
Llama-index
Β β’ Β
Pydantic
Β β’ Β
AWS Strands
π RAG
| Example | Description | Tech Stack |
|---|---|---|
| PDF RAG | Simple PDF RAG application | LlamaIndex + Nebius AI |
| Chat with Documents | Web app to chat interactively with PDF documents | LlamaIndex + Nebius AI + Streamlit |
| Internal Content Generation Platform | Create social posts, articles, and demos with a RAG pipeline | Qdrant + Nebius AI + Qwen3-Embedding |
| End-to-end RAG Pipeline for PDFs | Process and query PDF documents using vector DB and open-source embeddings | LlamaIndex + Milvus + Nebius AI + Qwen3-Embedding + GPT-OSS |
| Internal Support Agent | Multi-agent support agent with web search, document RAG, Notion/Calendly tools, and Slack bot | Nebius AI + LangGraph + Weaviate |
βοΈ Integrations
Guides for connecting third-party tools to Token Factory:
- OpenClaw β self-hosted AI agents on open models
- Tavily β LLM-optimized search API for agentic research
See also the official catalog: docs.tokenfactory.nebius.com/integrations
| Example | Description | Tech Stack |
|---|---|---|
| Simple function calling | Demonstrates how to call functions | Nebius AI |
π οΈ Post Training
Post-training lets you customize and improve pre-trained language models for your specific use cases through fine-tuning and other optimization methods.
View post training examples β
π« Distillation
| Name | Description | Tech Stack |
|---|---|---|
| Distillation 1 | Example of a distilled model for grammar checking | Nebius AI |
π« Workshops
Hands-on, guided learning sessions:
πΆοΈ Fun and Cool Stuff
Have some fun with models:
π€ Contributing
We welcome your contributions! Open issues, submit pull requests, and share your experience.
π§π»βπ€βπ§πΌ View community contributions
This project is licensed under the MIT License. See the LICENSE file for details.
Thanks to all of our amazing contributors!
Β© Nebius BV, 2025