What you need
- Kilo Code installed (VS Code or JetBrains extension, or the CLI).
- An XField API key in the environment variable
XFIELD_API_KEY. No key yet? Sign up. - The base URL
https://xfield.cloud.brutal.ai/api/v1. It already ends in/v1.
Setup
In the Kilo Code settings, add a provider with:
| Field | Value |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://xfield.cloud.brutal.ai/api/v1 |
| API Key | your XField key |
| Model | deepseek-v4.1-flash-1017-uncensored |
Once the base URL and key are in, Kilo Code fetches the model list from XField, so you can pick the model instead of typing it. If the list stays empty, click to fetch the models again, or type the id exactly as shown below.
Set the context window to the model's limit (1,000,000 for DeepSeek, Kimi and GLM, 131,072 for Qwen). If you work with several modes, keep one profile for planning on Kimi K3.1 Pro and one for coding on DeepSeek V4.1 Flash.
Which model to pick
| Job | Model id | Why |
|---|---|---|
| Most coding and agent work | deepseek-v4.1-flash-1017-uncensored | The most used model on XField: fast, 1M context, cheap once the prompt is cached |
| Hard agentic coding, very long outputs | kimi-k3.1-pro-uncensored | Moonshot AI's flagship, up to 922K output tokens; costs more, so use it where it matters |
| Long reports, a second opinion | glm-5.3-uncensored | 128K output, a different model family |
| Cheap background work, summaries | glm-5.3-flash-uncensored | The lighter GLM, built for volume |
| Quick chat and drafts | qwen-3.8-27b-uncensored | Smallest and fastest to answer |
Context and output limits
Tell Roo Code the limits, otherwise it guesses low and condenses too early. Turn image input on only for models that read images.
| Model id | Context | Max output | Reads images |
|---|---|---|---|
deepseek-v4.1-flash-1017-uncensored | 1M | 64K | Yes |
kimi-k3.1-pro-uncensored | 1M | 922K | Yes (and video) |
glm-5.3-uncensored | 1M | 128K | No |
glm-5.3-flash-uncensored | 1M | 32K | Yes |
qwen-3.8-27b-uncensored | 128K | 32K | Yes |
Context, output and images
Coding agents resend large prompts on every turn, often several hundred thousand tokens. Tell Kilo Code the real limits so it does not condense too early, and turn image input off for GLM 5.3: it does not read images, and agents like to attach screenshots.
| Model id | Context | Max output | Reads images |
|---|---|---|---|
deepseek-v4.1-flash-1017-uncensored | 1M | 64K | Yes |
kimi-k3.1-pro-uncensored | 1M | 922K | Yes (and video) |
glm-5.3-uncensored | 1M | 128K | No |
glm-5.3-flash-uncensored | 1M | 32K | Yes |
qwen-3.8-27b-uncensored | 128K | 32K | Yes |
Check the key and URL first
If this returns a JSON list of models, the base URL and key are right and any remaining problem is in the tool's settings:
curl -sS "https://xfield.cloud.brutal.ai/api/v1/models" -H "Authorization: Bearer $XFIELD_API_KEY"Troubleshooting
- 401 Unauthorized. The key in the provider settings is empty or wrong.
- Model not found. The id must match exactly, including
-uncensored. List the models with the call above. - The model list does not load. Check that the base URL ends in
/api/v1and has no trailing path. - Kilo Code condenses too early or cuts answers off. Set context and output from the limits table.
Why an uncensored model in a coding tool
Stock models stop mid-task on legitimate work: an exploit proof of concept for your own bug bounty, a fuzzing harness, malware triage, a detection rule that has to describe the attack it detects. In an agent loop one refusal breaks the whole run. Our models are abliterated: the direction in the weights that leads to refusals is removed, the rest of the model stays the same. How abliteration works.
More setups
- Cline and Roo Code, which Kilo Code builds on
- OpenCode
- Claude Code with an uncensored model
- Prompt caching for agents
- The best abliterated models, by job
- Other OpenAI-compatible tools
Get a key
XField is the model API of Brutal AI in Vienna. It is hosted in the EU, does not store prompts or completions (data handling), and use is bound by our acceptable use policy. Sign up.