glm-5

GLM · Per Token

glm-5AvailableCache 80% off
Tool UsePrompt Cache
Context Window: 200KMax Output Tokens: 128K

Pricing

Official PriceLemonData PriceDiscount
Input$1.00$0.7030%
Output$3.20$2.2430%
Cache Read$0.20$0.1430%
Cache WriteFreeFree-

Parameters

Context Window
200K tokens
Max Output Tokens
128K tokens

Cost Calculator

1M
0.5M
Estimated Monthly Cost$1.82

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-5",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

FAQ

How much does glm-5 cost?

On LemonData, glm-5 costs $0.7000 per 1M input tokens and $2.2400 per 1M output tokens, with model-specific platform pricing.

What is glm-5 best for?

glm-5 excels at Tool Use, Prompt Cache. Access it through LemonData's unified API with a single API key.

How to use glm-5 API?

Get your API key from LemonData, then call https://api.lemondata.cc/v1/chat/completions using any compatible SDK. See the code examples above for detailed integration.

Related Models