Skip to content

Feature Request: Native Support for Z.AI (Zhipu AI) API & Latest GLM Models #2

@SalimBinYousuf1

Description

@SalimBinYousuf1

Please add native support for Z.AI (Zhipu AI) API keys in Nanobot, enabling direct access to the latest GLM-4.x and GLM-4.7 series models.

Z.AI is the official platform for Zhipu AI and provides high-performance large language models such as GLM-4.7, GLM-4.6, GLM-4.5, including Flash, Air, and Vision (V) variants. These models offer strong reasoning, coding, agentic workflows, multimodal capabilities, and very long context windows (up to ~200K tokens).

Adding Z.AI support would significantly expand Nanobot’s provider ecosystem and give users access to fast, cost-effective, and widely adopted models.

Why this is valuable

Access to latest flagship models like GLM-4.7 (reasoning, coding, agents)

Support for vision-language models (GLM-4.5V / 4.6V)

Long-context capabilities suitable for large documents and agents

Competitive pricing and strong availability in regions with limited access to other providers

Aligns with Nanobot’s goal of being provider-agnostic

Suggested implementation

Configure via ZAI_API_KEY (env or config file)

Add Z.AI as a selectable provider

Support chat/completions initially (streaming optional)

Model selection examples:

zai/glm-4.7

zai/glm-4.6

zai/glm-4.5-air

zai/glm-4.6v

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions