Other tools
Zed, Open WebUI, and anything that accepts an OpenAI-compatible provider.
Zed
{
"language_models": {
"openai_compatible": {
"MafiaLLM": {
"api_url": "https://api.mafiallm.com/v1",
"available_models": [
{ "name": "glm-5.3", "max_tokens": 1000000 }
]
}
}
}
}
Zed then asks for the API key in the Agent panel settings.
Open WebUI
- Go to Admin settings → Connections.
- Add an OpenAI API connection with the URL
https://api.mafiallm.com/v1and your key. - The models appear in the model picker.
Anything else
- An “OpenAI-compatible” provider: base URL
https://api.mafiallm.com/v1, your key, a model ID. - A tool built for Anthropic or Claude: base URL
https://api.mafiallm.com/anthropic(the tool adds/v1). - If the tool asks which OpenAI API to use, Chat Completions and Responses both work; the Assistants API doesn’t.
- If the tool picks its behaviour from the model name, use the
mafiallm/prefix (see Cursor).
Note: Menus change between versions; these steps may differ slightly in yours.