Model reference · open weights

SenseNova-6.8-Code2Video

LLMs sensenova Vision + text 1 build Open weights 644 dl/mo

SenseNova-6.8-Code2Video is an open-weight language model from sensenova. SenseNova-6.8-Code2Video (BF16) weighs 54.7 GB; the smallest configuration that runs it is H100 80 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • SenseNova-6.8-Code2Video is a 27.4B parameter model by sensenova designed for code-driven video creation.
  • It generates executable code to build and render short videos, supporting long-horizon tasks with a 262144 token context length.
  • The model supports English and Chinese and is released under the Apache 2.0 license.

Summary of the sensenova/SenseNova-6.8-Code2Video model card, 2026-11-03

What it is

Released bysensenova
Released2026-10-24
Parameters27.4B
VRAM54.7 GB for the weights

What it runs on

Memory and cards for SenseNova-6.8-Code2Video (BF16)

54.7 GBweights, file size
66 MBcache per 1K tokens
308 MBfixed state per request
2.2 GBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … L40S 48 GB
6 smaller cards
A100 80 GB258all 256K78.2 GB
H100 80 GB186227K78.1 GB
RTX PRO 6000 Blackwell 96 GB3712all 256K93.8 GB
DGX Spark (GB10) 128 GB unified5318all 256K107 GB
H200 141 GB8930all 256K138 GB
B200 180 GB13345all 256K176 GB
2× L40S 48 GB
tensor parallel
3411all 256K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
3512all 256K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel
3512all 256K23.4 GB a card
4× RTX 5090 32 GB
tensor parallel
7124all 256K31.0 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
157.8 GB59.4 GB
561.1 GB69.2 GB
863.7 GB76.6 GB
1670.4 GB96.2 GB
3283.9 GB135 GB
64111 GB214 GB

One card, with vLLM's small-card settings.

From the model card

What sensenova says about SenseNova-6.8-Code2Video

Read the model card

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.

Released Resources

ResourceLocationDescription
Model weightsThis repositoryWeights, config and tokenizer
Example trajectoriestrajectories/Message and tool logs with figures
Production skillGitHubWorkflow, craft guides, rendering tools

Deployment

LightLLM

docker run --rm --gpus all --ipc=host -p 8000:8000 \
  -v /path/to/SenseNova-6.8-Code2Video:/model \
  ghcr.io/modeltc/lightllm:main \
  python -m lightllm.server.api_server \
    --model_dir /model \
    --tp 4 \
    --max_req_total_len 524288 \
    --host 0.0.0.0 --port 8000

vLLM

docker run --rm --gpus all --ipc=host -p 8000:8000 \
  -e VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 \
  -v /path/to/SenseNova-6.8-Code2Video:/model \
  vllm/vllm-openai:latest \
    --model /model \
    --tensor-parallel-size 4 \
    --max-model-len 524288 \
    --reasoning-parser qwen3 \
    --enable-auto-tool-choice \
    --tool-call-parser qwen3_coder \
    --host 0.0.0.0 --port 8000

SGLang

docker run --rm --gpus all --ipc=host -p 8000:8000 \
  -e SGLANG_ALLOW_OVERWRITE_LONGER_CONTEXT_LEN=1 \
  -v /path/to/SenseNova-6.8-Code2Video:/model \
  lmsysorg/sglang:latest \
  python -m sglang.launch_server \
    --model-path /model \
    --tp-size 4 \
    --context-length 524288 \
    --reasoning-parser qwen3 \
    --tool-call-parser qwen3_coder \
    --host 0.0.0.0 --port 8000

Recommended harness: Claude Code

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:

SettingValueConfiguration
Context window512KCLAUDE_CODE_MAX_CONTEXT_TOKENS=524288
Auto-compaction0.8CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=80
Max output64KCLAUDE_CODE_MAX_OUTPUT_TOKENS=64000
Turns per run2,000+--max-turns 2000 or more
Time per run10 h+timeout 10h or more

Set the context window explicitly, since Claude Code otherwise treats an unknown model as a 200K model. With compaction at 0.8 and 64K of output, every request stays within the 512K server limit.

Put the endpoint and these variables in a private settings file, and supply the credential through ANTHROPIC_AUTH_TOKEN or ANTHROPIC_API_KEY:

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://your-endpoint.example.com",
    "ANTHROPIC_MODEL": "your-deployed-model-name",
    "CLAUDE_CODE_MAX_CONTEXT_TOKENS": "524288",
    "CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "80",
    "CLAUDE_CODE_MAX_OUTPUT_TOKENS": "64000"
  },
  "model": "your-deployed-model-name"
}

Avoid slow shell initialization: every Bash call starts a new shell.

Usage

Producing a film has three stages:

StagePerformed byOutput
1. Prompt enhancementA strong general model (we use Claude Opus 5.5) with the Enhance prompt templatedense_prompt.md
2. ProductionSenseNova 6.8 Code2Video in Claude Code with the code-video skillout/final.mp4, SPEC.md, VERIFY.md
3. Revision (optional)The creator writes notes; SenseNova 6.8 Code2Video applies them in the same projectA new version of the film

Stage 2 with the settings above:

cd /path/to/task   # contains dense_prompt.md, assets/ and .claude/skills/code-video
claude -p --settings /path/to/private-settings.json --model your-deployed-model-name \
  --max-turns 2000 --permission-mode acceptEdits --allowedTools "Bash,Read,Write,Edit,Glob,Grep,Skill" \
  'Use the project code-video skill. Read .claude/skills/code-video/SKILL.md and dense_prompt.md, then the relevant craft guides. Produce the complete video and deliver out/final.mp4, SPEC.md and VERIFY.md.'

The run executes shell commands without asking, so start it in an isolated working environment. For a revision, run claude -p --continue in the same folder with the creator's notes as the prompt.

Copy the skill into .claude/skills/code-video unchanged and put task-specific requirements in the prompt. Setup steps and dependencies are in the GitHub repository.

Production trajectories

[trajectories/all.openai.jsonl](https

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms