WritingBasetenBasetenpublished Aug 24, 2026seen 3d

How To Run Any Open Model Inside Deepseek Harness

Open original ↗

Captured source

source ↗

How to run any open model inside DeepSeek Harness Try the new DeepSeek V4 Pro 0813 today. Frontier intelligence at a fraction of the cost. Here

AI engineering

How to run any open model inside DeepSeek Harness

Learn how to power DeepSeek Harness with Baseten Model APIs and run open models like Kimi K3, GLM 5.2, and DeepSeek V4 Pro in under 5 minutes.

Authors

Alex Ker

Last updated August 24, 2026

Share

TL;DR The DeepSeek Harness isn't a harness, but an interface for running many of them, with everything (models, tools, sandboxes, subagents) as a swappable plugin and an append-only event log you can fork and replay. Here's how to power it with Baseten Model APIs and run open models like Kimi K3, GLM 5.2, and DeepSeek V4 Pro in under 5 minutes.

The DeepSeek Harness (DSH) is, in some sense, a bigger release than the v4 models themselves. In this post you&#x27;ll first understand the most useful parts of the DeepSeek Harness, which isn&#x27;t really a harness, but an interface for running many harnesses. Then, we’ll walk through how to run any open model inside it with Baseten inference in <5 minutes. We previously wrote about what might come after harnesses: moving up the abstraction plane into a centralized interface that manages a fleet of N harnesses, each co-evolved to perform best for a given model and task (more here ). DeepSeek Harness is an instantiation of that idea. Inside it you can run Claude Code, Codex, and various harness SDKs as components. The core idea behind DSH is that everything is a plugin: models, tools, file systems, sandboxes, and loops are all modular components that can be swapped, composed, and extended. You run a suite of open and closed models inside ctx.llm, and other harnesses inside ctx.subagents as child processes. There&#x27;s also an append-only event log with fork and replay. This lets you track trajectories and tool calls, find where a run went wrong in the traces, and then rerun or modify the original session. The same property makes it useful for gathering post-training and RL data, and serves as a visual debugger. Finally, DSH is self-evolving: it gives you a stable way to inspect the runtime, write plugins, and mount them in real time without breakage. As a result, we now have an amazing UI for people experimenting and testing on their setup with minimal friction. Running frontier open-weight models in DSH Here&#x27;s how to run frontier open-weight models like Kimi K3, GLM 5.2, and DeepSeek V4 Pro 0813 inside the harness, served from Baseten&#x27;s Model APIs: 1. Clone the repo in terminal and start the web UI git clone https://github.com/deepseek-ai/deepseek-harness.git cd deepseek-harness pnpm install pnpm run build pnpm dsh web 2. Go to Settings → Models → Add a custom provider. Set Base URL as: https://inference.baseten.co/v1

API protocol: openai-completions

Grab and paste in the API key from https://app.baseten.co/settings/api_keys

3. Populate the model catalog. Under Model catalog, click Fetch to pull the available models with your API key. This hits Baseten&#x27;s /v1/models endpoint and returns the current supported models . For this tutorial I&#x27;ve added just three to keep things simple. ✕

4. Now you can select model via the dropdown at the side of the chat window. ✕

5. Run and inspect. You can send a prompt and open the trajectory view. Each run streams its event log as a timeline. Per request, you can watch latency and throughput signals like time-to-first-token and cache hit rate, so you see the true cache hit rate and performance metrics for any provider. ✕

Talk to us Connect with our product experts to see how we can help. Talk to an engineer

Explore Baseten today Start deploying Talk to an engineer

Related posts View all AI engineering

AI engineering Fine-tuning Qwen3-TTS for high-quality voice cloning

Ian Carrasco

AI engineering How to run Kimi K3 in any harness: routing with Baseten Switch

Zak Keener 1 other

AI engineering Building with NVIDIA Nemotron 3 Ultra and LangChain Deep Agents Code on Baseten

Philip Kiely

Popular models DeepSeek V4 Pro 0813

Kimi K3

GLM-5.2 Fast

DeepSeek-V4-Flash-0731

Whisper Large V3

Qwen3.8-27B

Explore all

Popular models DeepSeek V4 Pro 0813

Kimi K3

GLM-5.2 Fast

DeepSeek-V4-Flash-0731

Whisper Large V3

Qwen3.8-27B

Explore all

Notability

notability 5.0/10

Substantive tutorial from Baseten, no major launch.