hmjz100/Z.ai2api

将 Z.ai Chat 代理为 OpenAI/Anthropic Compatible 格式,支持多模型列表映射、免令牌、智能处理思考链、图片上传等功能;Z.ai ZtoApi z2api ZaitoApi zai X-Signature 签名 GLM 4.5 v 4.6

46
/ 100
Emerging

Dynamically fetches and maps Z.ai's available models via its `/api/models` endpoint to create an OpenAI-compatible interface, with support for anonymous token generation when authentication is unavailable. Includes configurable reasoning chain formatting (reasoning_content separation, XML wrapping, markdown blockquotes, or collapsible details) and vision model support with image uploads after authentication. Built with Python 3.12+ and environment-based configuration for upstream proxy routing and token management.

126 stars.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 21 / 25

How are scores calculated?

Stars

126

Forks

41

Language

Python

License

AGPL-3.0

Last pushed

Oct 25, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/hmjz100/Z.ai2api"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.