Which uncensored LLMs support tool calling through an API? Measured on five multi-step agent tasks
Most of them do, through the standard OpenAI tools field. On OpenUncensored you send tools the same way to all 61 uncensored and abliterated text models at https://api.openuncensored.com/v1, and the Anthropic tool format
Most of them do, through the standard OpenAI tools field. On OpenUncensored you send tools the same way to all 61 uncensored and abliterated text models at https://api.openuncensored.com/v1, and the Anthropic tool format works too, at /v1/messages. What differs between models is whether they keep using tools correctly over many turns, so that is what we measure.
The short list, from our tests:
| Model id | Rank | Agent tasks finished | Loops | Speed | Context | $ / 1M in Β¬β out |
|---|---|---|---|---|---|---|
glm-5.3-flash-uncensored |
#2 | 3 of 5 | 0% | 125 tok/s | 1M | $0.11 Β¬β $0.45 |
kimi-k3.1-pro-uncensored |
#4 | 3 of 5 | 0% | 94 tok/s | 1M | $1.50 Β¬β $3.00 |
deepseek-v4.1-flash-1017-uncensored |
#1 | 2 of 5 | 0% | 174 tok/s | 1M | $0.28 Β¬β $1.12 |
inkling-2-small-uncensored |
#3 | 2 of 5 | 0% | 155 tok/s | 256K | $0.60 Β¬β $2.40 |
inkling-2-mini-uncensored |
#6 | 2 of 5 | 0% | 137 tok/s | 256K | $0.15 Β¬β $0.60 |
qwen3.8-27b-uncensored-fast |
#12 | 2 of 5 | 0% | 252 tok/s | 1M | $0.25 Β¬β $1.20 |
Rank is the model's place among 34 ranked models on the uncensored LLM leaderboard. Speed is measured tokens per second. One model that is not ranked yet did better still: aion-labs-aion-3-5-mini finished 4 of 5 with no loops.
Kimi K3.1 Pro Uncensored is an abliteration, so yes, abliterated models can do real tool work: this one ties for the best result among ranked models.
What "agent tasks finished" means
Every model runs the same five deterministic scenarios against simulated tools, so each one sees the same world:
- Find a config value across a fake repo and patch it (3 tools).
- Search, open pages and reconcile two conflicting sources (2 tools).
- Chain eight calculator calls without losing state (1 tool).
- Run tests, read a traceback, fix and rerun until green (3 tools).
- Load, filter, join and export a CSV through five tools.
Each scenario allows 24 to 30 turns, and a task counts only if the model reaches the goal inside that limit. We also flag loops: the same call with the same arguments three turns running, near duplicate replies, or flip-flopping between two actions.
None of the models in the table looped. That is the failure to watch for: a damaged abliteration rarely refuses inside an agent, it repeats the same tool call until it runs out of turns. The Llama 3 era abliterations on our leaderboard, meta-llama-3-70b-instruct-abliterated-v3.5 and neuraldaredevil-8b-abliterated, answered all 36 of our edgy test requests and finished 0 of 5 tasks.
A complete tool loop in Python
Get a key on the credits page (card or crypto, no account), then:
import json, os
from openai import OpenAI
client = OpenAI(base_url="https://api.openuncensored.com/v1", api_key=os.environ["OU_API_KEY"])
MODEL = "glm-5.3-flash-uncensored"
def lookup_cve(cve_id: str) -> dict:
# Replace with a real lookup against your vulnerability database
return {"id": cve_id, "cvss": 10.0, "summary": "Log4j JNDI lookup remote code execution"}
tools = [{
"type": "function",
"function": {
"name": "lookup_cve",
"description": "Look up a CVE by id",
"parameters": {
"type": "object",
"properties": {"cve_id": {"type": "string"}},
"required": ["cve_id"],
},
},
}]
messages = [{"role": "user", "content": "What is CVE-2021-44228 and how is it exploited?"}]
while True:
r = client.chat.completions.create(model=MODEL, messages=messages, tools=tools)
msg = r.choices[0].message
if not msg.tool_calls:
print(msg.content)
break
messages.append(msg)
for call in msg.tool_calls:
result = lookup_cve(**json.loads(call.function.arguments))
messages.append({"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)})
Swap MODEL for any id in the table. tool_choice (auto, none, required or a named function) is passed through, and several tool calls in one turn work on the models that emit them.
What happens to a tool call on the way
-
Native first. A request with
toolsgoes to the hosts that support tool calls natively. If only a host without them is left, the router describes the tools in the prompt and turns the reply back into a standardtool_callsmessage, so your code does not change. - Streaming. Tool call arguments stream in the OpenAI delta format. If a host stalls in the middle of a tool call, the router holds the partial call and finishes the turn on another host, so your agent never receives half a JSON argument.
-
Valid calls under load. When we replayed 396 real multi-turn agent requests against
deepseek-v4.1-flash-1017-uncensoredat 1 to 24 concurrent sessions, every tool call it returned was valid, with zero errors. -
Parallel calls.
parallel_tool_callsis dropped for hosts that reject it, instead of failing your request.
Use it in an agent
The same key speaks the Anthropic Messages API and the OpenAI Responses API, so Claude Code, Codex and OpenCode run their tools and MCP servers on these models directly. Cline, Kilo Code, Roo Code, Cursor and Hermes Agent take it as an OpenAI compatible provider with base URL https://api.openuncensored.com/v1. Exact settings are in the Claude Code and Codex guide.
For long unattended runs, pick from the top of the agent tasks column and favour cheap cached input, since coding agents resend the whole conversation every step. On deepseek-v4.1-flash-1017-uncensored, cached input is $0.007 per million tokens.
FAQ
Do abliterated models support tool calling? Yes. kimi-k3.1-pro-uncensored, an abliteration, finished 3 of 5 of our agent tasks with no loops, tied for the best result among ranked models.
Does the Anthropic tool format work? Yes, through https://api.openuncensored.com/v1/messages, the API Claude Code uses.
Do streamed tool calls work? Yes, in the OpenAI delta format.
Do I need an account? No. Buy a prepaid key on the credits page by card or crypto. The key is the account.
More: uncensored LLMs with tool calling, how uncensored models fail in agent loops, how we test.
Originally published at openuncensored.com.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.