GLM 4.7
zai/glm-4.7A chat model with a 200K-token context window, at $0.63 per million input tokens and $2.31 per million output tokens.
Details
- Maker
- zai
- Kind
- Chat
- Context window
- 200,000 tokens
- Max output
- 120,000 tokens
- Input
- $0.63 per million tokens
- Output
- $2.31 per million tokens
- Capabilities
- Reasoning, tool use
- Takes
- Text
- Returns
- Text
- Zero data retention
- Not on every provider
- No training on requests
- Not on every provider
- Released
- 2025-12-22
- Newer model
- zai/glm-5.3-flashxReleased later by the same maker, costs no more, and lists the same capabilities. Compare the two
Description
GLM-4.7 is a powerful next-generation coding model that delivers major gains in multilingual agentic coding, terminal-based workflows, and tool use, with strong improvements across benchmarks like SWE-bench, Terminal Bench, and τ²-Bench. It also features enhanced reasoning and math performance, plus significantly upgraded UI generation—producing cleaner, more modern web pages and better-designed slides.
Call it
curl
curl https://phantom.codes/v1/chat/completions \
-H "Authorization: Bearer $PHANTOM_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "zai/glm-4.7",
"messages": [
{"role": "user", "content": "Hello"}
]
}'Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.