# SenseNova-6.8-Code2Video

> We present SenseNova 6.8 Code2Video, a lightweight open model for code-driven video creation. The model builds and renders videos by generating executable code, and currently focuses on short videos implemented entirely in code.

- **Organisation:** sensenova
- **Category:** Vision-Language Models
- **Parameters:** 27.4B
- **Context length:** 262,144 tokens
- **Licence:** Apache 2.0 (Commercial use OK)
- **Released:** 2026-10-24
- **Hugging Face:** 1.8K downloads (30 days), 118 likes

## Estimated memory

| Quant | ≈ GB |
|---|---|
| Q2_K | 11.29 |
| Q3_K_M | 15.57 |
| Q4_K_M | 18.72 |
| Q5_K_M | 21.53 |
| Q6_K | 24.54 |
| Q8_0 | 30.92 |
| F16 | 56 |

## Runs with

- [llama.cpp](https://selfhost.directory/project/llamacpp)
- [SGLang](https://selfhost.directory/project/sglang)
- [Transformers](https://github.com/huggingface/transformers)
- [vLLM](https://selfhost.directory/project/vllm)
- [Jan](https://jan.ai) (community)
- [KoboldCpp](https://selfhost.directory/project/koboldcpp) (community)
- [LM Studio](https://lmstudio.ai) (community)
- [LocalAI](https://selfhost.directory/project/localai) (community)
- [Ollama](https://selfhost.directory/project/ollama) (community)

## About

We present SenseNova 6.8 Code2Video, a lightweight open model for code-driven video creation. The model builds and renders videos by generating executable code, and currently focuses on short videos implemented entirely in code. Preliminary results show good visual composition and motion choreography in motion design, suggesting the potential of lightweight models for programmatic video creation.

We chose code as the entry point to video creation partly for its ability to connect different models and creative tools. Beyond building and rendering visual content directly, code can call image generation, video generation, 3D modelling and video editing models and tools, chaining generation, editing and compositing into a complete creative workflow.

We believe code can become a common language between ideas and finished work. Our long-term goal is a model that coordinates different generative models and creative tools through code to create digital content across media. SenseNova 6.8 Code2Video is a first step in this direction. Next, we will scale the model further and extend these abilities to editing, compositing, animation and 3D content creation.

A complete film is a long-horizon task: the model writes and renders code, reviews the frames and revises, turn after turn. SenseNova 6.8 Code2Video sustains runs of more than 10 hours and more than 2,000 turns. Configure Claude Code for runs of that length:

## Alternatives

- [Qwen/Qwen3.8-27B](https://selfhost.directory/models/qwen/qwen3.8-27b) (27.8B, Apache 2.0, ≈18.97 GB at Q4): Following the widespread community adoption of the Qwen3.5 and Qwen3.6 series, we are pleased to introduce Qwen3.8, the most capable generation in the Qwen open-model family to date.
- [google/gemma-4-26B-A4B-it](https://selfhost.directory/models/google/gemma-4-26b-a4b-it) (25.8B (4B active), Apache 2.0, ≈17.67 GB at Q4): Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on E2B, E4B, and 12B) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants.
- [Qwen/Qwen3.6-27B](https://selfhost.directory/models/qwen/qwen3.6-27b) (27.8B, Apache 2.0, ≈18.97 GB at Q4): Following the February release of the Qwen3.5 series, we're pleased to share the first open-weight variant of Qwen3.6. Built on direct feedback from the community, Qwen3.6 prioritizes stability and real-world utility, offering developers a more intuitive, responsive, and genuinely productive coding…
- [google/gemma-4-31B-it](https://selfhost.directory/models/google/gemma-4-31b-it) (31.3B, Apache 2.0, ≈26.54 GB at Q4): Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on E2B, E4B, and 12B) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants.
- [Qwen/Qwen3.5-27B](https://selfhost.directory/models/qwen/qwen3.5-27b) (27.8B, Apache 2.0, ≈18.97 GB at Q4): Over recent months, we have intensified our focus on developing foundation models that deliver exceptional utility and performance.
- [google/diffusiongemma-26B-A4B-it](https://selfhost.directory/models/google/diffusiongemma-26b-a4b-it) (25.8B (4B active), Apache 2.0, ≈17.68 GB at Q4): DiffusionGemma is a generative model built by Google DeepMind. Based on the 26B A4B Mixture-of-Experts (MoE) Gemma 4 architecture, DiffusionGemma generates tokens using discrete diffusion. This open-weights model is multimodal, handling text, image, and video inputs to generate text output.

More: https://selfhost.directory/models/sensenova/sensenova-6.8-code2video/alternatives

## Runs well on

- [Tesla P40](https://selfhost.directory/models/sensenova/sensenova-6.8-code2video/on/tesla-p40): Q5_K_M, est. 9.8 tok/s
- [Radeon RX 7900 XTX](https://selfhost.directory/models/sensenova/sensenova-6.8-code2video/on/rx-7900-xtx): Q5_K_M, est. 27 tok/s
- [Instinct MI50 32GB](https://selfhost.directory/models/sensenova/sensenova-6.8-code2video/on/instinct-mi50): Q6_K, est. 25 tok/s
- [GeForce RTX 5090](https://selfhost.directory/models/sensenova/sensenova-6.8-code2video/on/rtx-5090): Q6_K, est. 44 tok/s
- [Apple M4 Pro (48 GB)](https://selfhost.directory/models/sensenova/sensenova-6.8-code2video/on/apple-m4-pro-48gb): Q8_0, est. 5.2 tok/s
- [RTX A6000](https://selfhost.directory/models/sensenova/sensenova-6.8-code2video/on/rtx-a6000): Q8_0, est. 15 tok/s

## Similar size

- [Qwen/Qwen3.8-27B](https://selfhost.directory/models/qwen/qwen3.8-27b) (27.8B)
- [google/gemma-4-31B-it](https://selfhost.directory/models/google/gemma-4-31b-it) (31.3B)
- [google/gemma-4-26B-A4B-it](https://selfhost.directory/models/google/gemma-4-26b-a4b-it) (25.8B)
- [Qwen/Qwen3.6-27B](https://selfhost.directory/models/qwen/qwen3.6-27b) (27.8B)
- [google/gemma-3-27b-it](https://selfhost.directory/models/google/gemma-3-27b-it) (27.4B)
- [meta-models/Muse-Glimmer-30B](https://selfhost.directory/models/meta-models/muse-glimmer-30b) (29.8B)

## FAQ

**How much VRAM does SenseNova-6.8-Code2Video need?**
About 19 GB at Q4_K_M with an 8K context. Q8_0 needs about 31 GB and full precision about 56 GB. Longer contexts need more memory for the KV cache.

**Can SenseNova-6.8-Code2Video run on the Tesla P40?**
Yes. It fits at Q5_K_M (about 23 GB), at an estimated 9.8 tokens/s. It fits comfortably on the Radeon RX 7900 XTX, Instinct MI50 32GB, RTX 5090.

**Can I use SenseNova-6.8-Code2Video commercially?**
Yes. It is released under Apache 2.0. Permissive: use, modify and sell freely; keep the notice and licence text.

**What is the context length of SenseNova-6.8-Code2Video?**
262,144 tokens (256K). The full window needs far more memory than an 8K context.

**How do I run SenseNova-6.8-Code2Video with Ollama or llama.cpp?**
With Ollama: ollama run hf.co/bartowski/sensenova_SenseNova-6.8-Code2Video-GGUF:Q4_K_M. With llama.cpp: llama-server -hf bartowski/sensenova_SenseNova-6.8-Code2Video-GGUF:Q4_K_M, which starts an OpenAI-compatible server.

## Links

- huggingface: https://huggingface.co/sensenova/SenseNova-6.8-Code2Video
- github: https://github.com/OpenSenseNova/SenseNova-6.8-Code2Video

---
Source: https://selfhost.directory/models/sensenova/sensenova-6.8-code2video