Wild West

GLM 5.3 API: uncensored, OpenAI and Anthropic compatible

The uncensored GLM 5.3 builds sit behind an OpenAI-compatible and an Anthropic-compatible endpoint, so code written for either SDK calls them by changing the base URL and the model id.

The model ids

ModelModel idContextImages
Slingshooterglm-5.3-outlaw1,048,576 tokensNo
GLM 5.3 Lite Outlawglm-5.3-lite-outlaw262,144 tokensNo
Hipshooterglm-5.3-flash-outlaw1,048,576 tokensYes

The OpenAI SDK

Point the client at Wild West and name the model:

from openai import OpenAI

client = OpenAI(base_url="https://wildwestapi.com/v1", api_key="sk-ww-...")

resp = client.chat.completions.create(
    model="glm-5.3-outlaw",
    messages=[{"role": "user", "content": "Plan the change before writing code."}],
)
print(resp.choices[0].message.content)

A tool call

Tools use the OpenAI shape: a tools array of functions with JSON Schema parameters. The model replies with finish_reason: "tool_calls" and the arguments as JSON.

resp = client.chat.completions.create(
    model="glm-5.3-flash-outlaw",
    messages=[{"role": "user", "content": "What is the weather in São Paulo?"}],
    tools=[{
        "type": "function",
        "function": {
            "name": "get_weather",
            "parameters": {
                "type": "object",
                "properties": {"city": {"type": "string"}},
                "required": ["city"],
            },
        },
    }],
)
print(resp.choices[0].message.tool_calls[0].function.arguments)

Sending an image

Hipshooter is the build that reads images. Send them as OpenAI image_url content parts:

resp = client.chat.completions.create(
    model="glm-5.3-flash-outlaw",
    messages=[{"role": "user", "content": [
        {"type": "text", "text": "What does this screenshot show?"},
        {"type": "image_url", "image_url": {"url": "https://example.com/screen.png"}},
    ]}],
)

Slingshooter and GLM 5.3 Lite Outlaw are text only, so route anything with a picture in it to the Flash build.

Anthropic clients and Claude Code

Anthropic clients, Claude Code among them, use https://wildwestapi.com with the same key and the same model ids. The Claude Code guide has the full setup. Prompts that repeat, as an agent's do, are billed at the cached price.

FAQ

Is there a GLM 5.3 API without refusals?

Yes. Wild West serves three uncensored builds through OpenAI- and Anthropic-compatible endpoints: glm-5.3-outlaw, glm-5.3-lite-outlaw and glm-5.3-flash-outlaw.

Can I use GLM 5.3 in Claude Code?

Yes. Point Claude Code at the Anthropic-compatible endpoint and set the model to glm-5.3-outlaw or glm-5.3-flash-outlaw. Both call tools, so they can edit files and run commands.

Which GLM 5.3 build takes images?

Hipshooter. The full and Lite builds are text only.

Do I need a separate key for each build?

No. One key works for every model on the line and for both API formats.

Related

Uncensored AI models on one key

OpenAI and Anthropic compatible, pay as you go. New to it? Start with uncensored AI, explained.