# Which uncensored models support tool calling (function calling)?

25 uncensored models on Unlid accept tools right now: glm-5.3-flash-uncensored, glm-5.3-flash-abliterated, deepseek-v4.1-flash-uncensored, deepseek-v4.1-flash-abliterated, deepseek-v4.1-flash-abliterated-fast, glm-5.3-uncensored, qwen3.8-27b-uncensored, glm-5.3-abliterated, mimo-v2.6-flash-uncensored, mimo-v2.6-flash-abliterated, qwen3.8-27b-uncensored:thinking, supergemma4-26b-uncensored, glm-4.7-flash-heretic, abliterated-model-large-v2, abliterated-model, abliterated-model-large-flash, qwen3.8-27b-abliterated, gemma-4-31b-uncensored, mimo-v2.6-flash-uncensored:thinking, deepseek-v4.1-flash-heretic, deepseek-v4.1-flash-heretic:thinking, qwen3.8-27b-uncensored-fast, qwen3.8-27b-uncensored-fast:thinking, kimi-k3.1-pro-abliterated, deepseek-v4.1-flash-1017-abliterated-lossless-csf. Send tools and tool_choice exactly as you would to the OpenAI API and read tool_calls from the response, streaming or not.

Standard models with tool calling: [Gemma 4 26B `gemma-4-26b-storyteller`](https://unlid.ai/models/gemma-4-26b-storyteller.md?lang=fr), [DeepSeek V4.1 Flash 1017 `deepseek-v4.1-flash-fast`](https://unlid.ai/models/deepseek-v4.1-flash-fast.md?lang=fr), [MiniMax M3.1 Flash `minimax-m3.1-flash`](https://unlid.ai/models/minimax-m3.1-flash.md?lang=fr), [Kimi K3.1 Pro `kimi-k3.1-pro`](https://unlid.ai/models/kimi-k3.1-pro.md?lang=fr).

The list is live: `GET https://api.unlid.ai/v1/models` returns `supports_tools` for every model, and each model page shows it. A model without tool support answers a request that carries `tools` with `400 tools_not_supported`, which names a model that takes them; nothing is charged.

## Example (OpenAI Python SDK)

```
from openai import OpenAI
client = OpenAI(base_url="https://api.unlid.ai/v1", api_key="ul-…")
r = client.chat.completions.create(
    model="glm-5.3-flash-uncensored",
    messages=[{"role": "user", "content": "What is the weather in Paris?"}],
    tools=[{"type": "function", "function": {
        "name": "get_weather",
        "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}],
)
print(r.choices[0].message.tool_calls)
```

## Agents and coding tools

Coding agents need a model with tool calling. Setup pages: [OpenCode](https://unlid.ai/docs/clients/opencode.md?lang=fr), [Kilo Code](https://unlid.ai/docs/clients/kilo-code.md?lang=fr), [Cline](https://unlid.ai/docs/clients/cline.md?lang=fr), [Hermes Agent](https://unlid.ai/docs/clients/hermes-agent.md?lang=fr), [Claude Code](https://unlid.ai/docs/clients/claude-code.md?lang=fr) and more under [Apps & clients](https://unlid.ai/docs/clients.md?lang=fr). There is no limit on the number of tools in a request beyond the model's context window.

## Related questions

- [Does Unlid support prompt caching, and how are cached tokens billed?](https://unlid.ai/answers/prompt-caching.md?lang=fr)
- [Why do I get ECONNRESET or "Connection reset by server" with the Unlid API?](https://unlid.ai/answers/econnreset-connection-reset.md?lang=fr)
- [Uncensored vs abliterated vs heretic models: what is the difference?](https://unlid.ai/answers/uncensored-vs-abliterated-vs-heretic.md?lang=fr)

Something not covered? Ask in the support chat at the bottom right, or see the [FAQ](https://unlid.ai/faq.md?lang=fr) and the [API docs](https://unlid.ai/docs.md?lang=fr).
