Wild West

Hy4 API: uncensored, with images and tool calling

Hy4 Outlaw is Tencent's Hy4 with its refusals removed, behind an OpenAI-compatible and an Anthropic-compatible endpoint. It reads 1,048,576 tokens of context, calls tools, reasons before it answers and reads images.

What you get

Hy4 Outlaw
Model idhy4-outlaw
Context1,048,576 tokens
Tool callingYes
ReasoningAlways on
ImagesYes, one a request
Price per 1M tokens$3.20 in, $0.60 cached, $6.40 out

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="hy4-outlaw",
    messages=[{"role": "user", "content": "Summarise the argument, then find its weakest step."}],
)
print(resp.choices[0].message.content)

Sending an image

Send the image as an OpenAI image_url content part. Hy4 Outlaw reads one image in a request, so send the one that matters; for a set of pictures, ask about them in turn.

resp = client.chat.completions.create(
    model="hy4-outlaw",
    messages=[{"role": "user", "content": [
        {"type": "text", "text": "Read the figures off this chart."},
        {"type": "image_url", "image_url": {"url": "https://example.com/chart.png"}},
    ]}],
)

It reasons at length

Hy4 thinks before every answer, and it thinks for longer than most models on the line, whatever effort the request asks for. Two things follow. Give max_tokens room, because reasoning comes out of the same output budget as the answer. And in a stream, read delta.reasoning as well as delta.content, or the client shows nothing while the model works.

Reasoning is billed as output A short answer to a hard question still carries the thinking behind it. A hard spend cap on the key bounds what any one run can cost.

Anthropic clients and Claude Code

Anthropic clients use https://wildwestapi.com with the same key and the same model id. Hy4 Outlaw calls tools, so it can drive Claude Code, Cline and opencode; the Claude Code guide has the setup. Set the context length to 1,048,576.

FAQ

Is there an uncensored Hy4 API?

Yes. Hy4 Outlaw on Wild West, model id hy4-outlaw, through OpenAI- and Anthropic-compatible endpoints.

Can Hy4 read images?

Yes. Hy4 Outlaw reads one image in a request, sent as an OpenAI image_url content part.

Does Hy4 support tool calling?

Yes, so it can drive coding agents such as Claude Code, Cline and opencode.

What is the Hy4 context window?

1,048,576 tokens.

Related

Uncensored AI models on one key

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