1. Model Introduction
Glyph is a powerful language model developed by Zhipu AI, featuring advanced capabilities in reasoning, function calling, and multi-modal understanding. Hardware Support: NVIDIA B200/H100/H200, AMD MI300X/MI325X/MI355X Key Features:- Advanced Reasoning: Built-in reasoning capabilities for complex problem-solving
- Multiple Quantizations: BF16 and FP8 variants for different performance/memory trade-offs
- High Performance: Optimized for both throughput and latency scenarios
- BF16 (Full precision): zai-org/Glyph
- FP8 (8-bit quantized): zai-org/Glyph-FP8
2. SGLang Installation
SGLang offers multiple installation methods. You can choose the most suitable installation method based on your hardware platform and requirements. Please refer to the official SGLang installation guide for installation instructions.3. Model Deployment
This section provides deployment configurations optimized for different hardware platforms and use cases.3.1 Basic Configuration
Interactive Command Generator: Use the configuration selector below to automatically generate the appropriate deployment command for your hardware platform, quantization method, and other options.3.2 Configuration Tips
- Thinking Budget: Use
--enable-custom-logit-processorflag and passGlm4MoeThinkingBudgetLogitProcessorin requests to cap the model’s thinking token count. See the GLM-4.5 cookbook page for the full Thinking Budget usage example.
4. Model Invocation
4.1 Basic Usage
For basic API usage and request examples, please refer to:4.2 Advanced Usage
4.2.1 Thinking Mode
Glyph supports thinking mode for enhanced reasoning. Enable the reasoning parser during deployment to separate the thinking and content sections:Command
Example
Example
4.2.2 Tool Calling
Glyph supports tool calling capabilities. Enable the tool call parser:Command
Example
Output
- The reasoning parser shows how the model decides to use a tool
- Tool calls are clearly marked with the function name and arguments
- You can then execute the function and send the result back to continue the conversation
Example
5. Benchmark
This section uses industry-standard configurations for comparable benchmark results.5.1 Speed Benchmark
Test Environment:- Model: Glyph
- SGLang Version: 0.5.6.post1
5.1.1 Standard Scenario Benchmark
- Model Deployment
Command
5.1.1.1 Low Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.1.1.2 Medium Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.1.1.3 High Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.1.2 Reasoning Scenario Benchmark
5.1.2.1 Low Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.1.2.2 Medium Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.1.2.3 High Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.1.3 Summarization Scenario Benchmark
5.1.3.1 Low Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.1.3.2 Medium Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.1.3.3 High Concurrency
- Benchmark Command:
Command
- Test Results:
Output
5.2 Accuracy Benchmark
Document model accuracy on standard benchmarks:5.2.1 GSM8K Benchmark
- Benchmark Command
Command
- Test Result
Output
