Add 10% OFF discount link for z.ai coding plan

Added discount offer link in multiple locations:
- README.md: In "What is Z.AI API?" section
- install-claude-code.sh: In hero banner, API key prompt, and manual instructions

Discount link: https://z.ai/subscribe?ic=R0K78RJKNW
This commit is contained in:
uroma
2026-01-22 15:49:32 +00:00
Unverified
parent 1caa7002ed
commit b98d3716af
2 changed files with 10 additions and 0 deletions

View File

@@ -88,6 +88,9 @@ Z.AI provides GLM (General Language Model) models that can be used with Claude C
- **glm-4.5-air** - Fast, efficient model (Haiku class) - **glm-4.5-air** - Fast, efficient model (Haiku class)
- **glm-4.7** - Powerful model (Sonnet/Opus class) - **glm-4.7** - Powerful model (Sonnet/Opus class)
> [!TIP]
> **Grab 10% OFF Token for z.ai coding plan**: [https://z.ai/subscribe?ic=R0K78RJKNW](https://z.ai/subscribe?ic=R0K78RJKNW)
### Automated Installation ### Automated Installation
```bash ```bash

View File

@@ -80,6 +80,8 @@ print_banner() {
EOF EOF
echo -e "${NC}" echo -e "${NC}"
echo "" echo ""
echo -e "${MAGENTA}${BOLD}🎁 Grab 10% OFF Token for z.ai coding plan:${NC} ${YELLOW}https://z.ai/subscribe?ic=R0K78RJKNW${NC}"
echo ""
echo -e "${CYAN}Official Documentation:${NC} https://docs.z.ai/devpack/tool/claude" echo -e "${CYAN}Official Documentation:${NC} https://docs.z.ai/devpack/tool/claude"
echo "" echo ""
} }
@@ -147,6 +149,8 @@ get_zai_api_key() {
echo "" echo ""
echo -e "${YELLOW}Get your API key from:${NC} https://docs.z.ai/devpack/tool/claude" echo -e "${YELLOW}Get your API key from:${NC} https://docs.z.ai/devpack/tool/claude"
echo "" echo ""
echo -e "${MAGENTA}${BOLD}🎁 Grab 10% OFF Token for z.ai coding plan:${NC} ${YELLOW}https://z.ai/subscribe?ic=R0K78RJKNW${NC}"
echo ""
echo -e "${MAGENTA}Your API key format is: ${BOLD}your-api-key-here${NC}" echo -e "${MAGENTA}Your API key format is: ${BOLD}your-api-key-here${NC}"
echo "" echo ""
@@ -252,6 +256,9 @@ show_manual_instructions() {
echo " Visit: https://docs.z.ai/devpack/tool/claude" echo " Visit: https://docs.z.ai/devpack/tool/claude"
echo " Sign up and get your API key" echo " Sign up and get your API key"
echo "" echo ""
echo -e "${MAGENTA}${BOLD}🎁 Grab 10% OFF Token for z.ai coding plan:${NC}"
echo " ${YELLOW}https://z.ai/subscribe?ic=R0K78RJKNW${NC}"
echo ""
echo -e "${GREEN}Step 3: Configure Z.AI API${NC}" echo -e "${GREEN}Step 3: Configure Z.AI API${NC}"
echo "─────────────────────────────────────────────────────────────────" echo "─────────────────────────────────────────────────────────────────"
echo "" echo ""