xaoLiu1222

chat.z.ai reverse-engineered OpenAI-compatible API proxy — supports streaming, thinking/reasoning, web search, and tool calling

20
7
69% credibility
Found Mar 09, 2026 at 13 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

This project runs a local service mimicking familiar AI chat formats to access Zhipu AI models for free using guest access.

How It Works

1
📰 Discover Free AI Chat

You find a handy tool that lets you chat with powerful AI from Zhipu without accounts or fees.

2
💻 Set Up on Your Computer

You grab the files and prepare a simple background helper using everyday computer tools.

3
🚀 Launch the Chat Doorway

You start the program, and it quietly opens a private chat line on your machine.

4
🗣️ Send Your First Message

You ask a question through a simple request, and smart replies stream back instantly.

5
🔍 Unlock Extra Powers

You add web search or helper tools to get richer, more informed answers.

6
🧠 Experience Deep Thinking

The AI shows its reasoning steps, making responses feel smarter and more trustworthy.

🎉 Chat Freely Forever

Now you enjoy unlimited conversations with advanced AI, all free and local to you.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 13 to 20 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is zai-openai-proxy?

This JavaScript proxy on GitHub reverse-engineers chat.z.ai into an OpenAI-compatible API, letting you hit endpoints like /v1/chat/completions and /v1/models without an API key— it handles guest sessions automatically. Developers get streaming responses, thinking/reasoning content, web search via a simple flag, and tool calling with standard OpenAI tools arrays. Run it locally with Node.js for drop-in use with OpenAI SDKs in Python or JS.

Why is it gaining traction?

It stands out by unlocking Zhipu AI's GLM models (glm-5, glm-4-flash) for free through familiar OpenAI APIs, supporting web search and tool calling that rivals paid services. No auth hassle means quick prototyping, and extras like enable_thinking deliver reasoning traces users notice in responses. The proxy's auto-session refresh keeps it reliable despite guest limits.

Who should use this?

AI engineers testing Chinese LLMs in OpenAI-based apps, like chatbots needing web search or function calling without setup friction. Backend devs building prototypes with Node.js who want GLM-5's deep reasoning before committing to paid APIs. Experimenters swapping models in existing OpenAI SDK pipelines for cost-free trials.

Verdict

Grab it for quick hacks on chat.z.ai's capabilities via OpenAI APIs, but its 10 stars and 0.7% credibility score signal early-stage risks like rate limits or frontend breaks. Solid docs and MIT license make it worth a spin for low-stakes projects—monitor for updates.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.