Note: Calculation is approximate based on public data. Prices may change, check official websites.
Z.AI: GLM 4.6 Token Cost Calculator
This calculator estimates the cost of using the Z.AI: GLM 4.6 language model based on your input and output token usage, considering its advanced capabilities.
The Z.AI: GLM 4.6 model offers significant improvements, including an expanded context window of 202,752 tokens, superior coding performance, advanced reasoning, more capable agents, and refined writing, making it highly effective for complex tasks.
Pricing for Z.AI: GLM 4.6 is as follows:
- Input tokens: $0.6 per 1,000,000 tokens (or $0.0006 per 1,000 tokens)
- Output tokens: $2.1 per 1,000,000 tokens (or $0.0021 per 1,000 tokens)
The total cost is calculated using the formula:
Total Cost = (Input Tokens / 1000) * $0.0006 + (Output Tokens / 1000) * $0.0021
Example: If you use 10,000 input tokens and 5,000 output tokens for a single request:
- Input cost: (10,000 / 1000) * $0.0006 = $0.006
- Output cost: (5,000 / 1000) * $0.0021 = $0.0105
- Total estimated cost: $0.006 + $0.0105 = $0.0165