Skip to content

How to use uncensored abliterated models with Mistral Vibe

A config.toml that runs Mistral Vibe on abliterated DeepSeek and GLM models through an OpenAI-compatible API. Tested on Mistral Vibe 3.1.5.

Published Updated 4 min read

Mistral Vibe is not limited to Mistral's models. Its config takes any OpenAI-compatible provider, so you can run it on an uncensored, abliterated model. We set up Mistral Vibe 3.1.5 against CommentLLM's abliterated DeepSeek V4.1 Flash model and gave it a real bug to fix. It fixed it and the tests passed.

The short version: add a [[providers]] entry to ~/.vibe/config.toml with api_base set to https://api.commentllm.com/v1, api_style = "openai" and backend = "generic", add a [[models]] entry for each model with an alias, and set active_model to the alias.

How a coding agent connects to an abliterated model: the agent sends prompts to the CommentLLM API, which passes them to the model and returns its tool calls

What you need

  • Mistral Vibe. We used version 3.1.5, installed with uv tool install mistral-vibe.
  • A CommentLLM API key. Create one under Keys in the console after you sign up and add credit.

You do not need a Mistral API key.

Step 1: put your key in an environment variable

export COMMENTLLM_API_KEY="cllm_..."

Step 2: write ~/.vibe/config.toml

active_model = "deepseek-abliterated"

[[providers]]
name = "commentllm"
api_base = "https://api.commentllm.com/v1"
api_key_env_var = "COMMENTLLM_API_KEY"
api_style = "openai"
backend = "generic"

[[models]]
name = "deepseek-v4.1-flash-abliterated"
provider = "commentllm"
alias = "deepseek-abliterated"
max_context_length = 1048576
max_output_tokens = 32768

[[models]]
name = "glm-5.3-abliterated"
provider = "commentllm"
alias = "glm-abliterated"
max_context_length = 1048576
max_output_tokens = 32768
Setting Why
api_key_env_var The name of the environment variable that holds the key, so the key never goes in the file
api_style = "openai" and backend = "generic" Tell Vibe to call a plain OpenAI Chat Completions endpoint instead of Mistral's API
name under [[models]] The model ID sent to the API
alias The short name you choose the model by. active_model must be an alias
max_context_length Removes the unknown-context warning below

vibe config schema prints every setting Vibe accepts.

Step 3: start Vibe

Run vibe in your project.

Mistral Vibe 3.1.5 starting with the deepseek-abliterated model from the commentllm provider

Step 4: give it a task

Our test project had a log-triage script with a bug: it counted failed SSH logins by username instead of by source address, so both tests failed. We asked:

The test suite fails. Run the tests, find the bug in auth_triage.py and fix it. Then run the tests again.

Vibe starts in its accept-edits mode: it edits files without asking and asks before each shell command, with allow once, allow for the session, always allow and deny.

Mistral Vibe asking for permission to run pytest

It ran the tests, changed one line and ran them again: 2 passed.

Mistral Vibe on DeepSeek V4.1 Flash Abliterated fixing the bug in auth_triage.py, with 2 passed

Common problems and fixes

Before we set max_context_length, Vibe warned that the model's context window was unknown and assumed 262,144 tokens.

Mistral Vibe warning that the context window is unknown and assuming 262144 tokens

What you see Why Fix
"context window ... is unknown; assuming 262144 tokens" The model has no max_context_length Set max_context_length = 1048576
The status bar still shows /256k That figure is Vibe's auto-compact threshold, not the model's window Nothing to do. The warning is gone and long sessions are compacted at that point
Authentication error The variable named in api_key_env_var is not set Export it before vibe
A warning about mouse support in tmux A display notice from tmux It does not affect the run

Which model to use

Start with deepseek-v4.1-flash-abliterated, the model that fixed the bug here. glm-5.3-abliterated is the one to try for harder reasoning. Both take text only, so image input does not work. If the agent feels slow, switch the model ID to deepseek-v4.1-flash-abliterated-fast: it is the same model served about five times faster, at the same input and output rates and a higher cached-input rate. The pricing page lists every model and its rate.

Run it in a sandbox

Abliterated models refuse far fewer requests than standard ones, and that includes commands an agent should not run on your machine. Try it first in a throwaway project, as we did, and review what the model writes before you ship it.

Setting up a different agent? Uncensored coding AI lists every agent we tested, with a guide for each.

Questions

Can Mistral Vibe use models that are not from Mistral?

Yes. A provider with api_style set to openai and backend set to generic can be any OpenAI-compatible API. We ran Mistral Vibe 3.1.5 on DeepSeek V4.1 Flash Abliterated through CommentLLM, and it fixed a failing test.

How do I add a custom provider to Mistral Vibe?

Add a [[providers]] entry to ~/.vibe/config.toml with a name, api_base, api_key_env_var, api_style set to openai and backend set to generic. Add a [[models]] entry for each model with its name, provider and an alias, then set active_model to the alias.

Do I need a Mistral API key to use Vibe with another provider?

No. With a custom provider and active_model set to one of its models, Vibe 3.1.5 read only the key named in api_key_env_var.

How do I remove the unknown context window warning in Mistral Vibe?

Set max_context_length on the model in config.toml. For CommentLLM's models the value is 1048576.

Start building today.

Create an account, tell us what you work on, and send your first request.