Z

# Z.AI Chat

GLM Coding Plan · Powered by GLM-5.1

Coding Plan Token Get your key at z.ai/apikeys · Subscribe
Endpoint

### Modes Available

💬 Chat General conversation
💻 Coding Code assistant
💡 Brainstorm Ideation partner
🤖 Agentic Autonomous coding

## New Chat

Chat
■ Terminal

## Settings

### API Configuration

API Token
Base URL

### Model Settings

Model
Temperature: 0.7
Max Tokens: 4096
Web Search
Streaming

### Appearance

Dark Mode

### Data

### About

Z.AI Chat v1.2.1

Built with Z.AI SDK & GLM-5.1

Compatible with Android 15/16

### Changelog

- v1.2.1 2026-05-19
  - Fixed: messages lost when switching conversations during streaming
  - Streaming responses now auto-save every 20 tokens to prevent data loss
  - Partial responses preserved when switching sessions mid-generation
  - Added in-app terminal panel for Coding and Agentic modes
  - Terminal parses code blocks, file ops, and tool calls from AI responses
  - Terminal toggle button with collapsible panel
  - Terminal state persists across sessions
  - Conversation list now shows message count
  - Improved conversation switch safety with flush-before-switch
- v1.2.0 2026-05-19
  - Added light mode / dark mode toggle
  - Theme persists across sessions
  - Theme toggle button in chat header
  - Theme setting in Settings screen
  - Added changelog section to Settings
  - Optimized light theme color palette
- v1.1.0 2026-05-19
  - Z.AI Coding Plan endpoint support
  - Fixed API base URL to use coding plan endpoint
  - Updated model list (GLM-5.1, GLM-5 Turbo, GLM-4.7, GLM-4.5 Air)
- v1.0.0 2026-05-19
  - Initial release
  - Chat, Coding, Brainstorm, Agentic modes
  - Streaming SSE responses
  - Markdown rendering with syntax highlighting
  - Conversation management with sidebar
  - Settings with model, temperature, tokens controls
  - Web search integration
  - Export conversations to JSON
  - Android 15/16 support (targetSdk 36)