glm-4.6
GLM · Per Token
glm-4.6AvailableChatTool UseJSON ModeContext Window: 205KMax Output Tokens: 131K
Pricing
| Official Price | LemonData Price | |
|---|---|---|
| Input | $0.55 | $0.385 |
| Output | $2.20 | $1.54 |
Parameters
Context Window
205K tokens
Max Output Tokens
131K tokens
Best For
Chat
Conversational AI, customer support, and Q&A
Cost Calculator
1M
0.5M
Estimated Monthly Cost$1.16
API Code Example
POST/v1/chat/completions
curl https://api.lemondata.cc/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-xxx" \
-d '{
"model": "glm-4.6",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'FAQ
How much does glm-4.6 cost?
On LemonData, glm-4.6 costs $0.3850 per 1M input tokens and $1.5400 per 1M output tokens, which is up to 30% off the official pricing.
What is glm-4.6 best for?
glm-4.6 excels at Chat, Tool Use, JSON Mode. Access it through LemonData's unified API with a single API key.
How to use glm-4.6 API?
Get your API key from LemonData, set the base URL to api.lemondata.cc/v1, and use any OpenAI-compatible SDK. See the code examples above.