THUDM: GLM Z1 32B AI Model Cost Calculator

Model: THUDM: GLM Z1 32B, Context: 32768, Cost: $0.02 per 1M input tokens, $0.08 per 1M output tokens

Note: Calculation is approximate based on public data. Prices may change, check official websites.

This calculator estimates the cost of using the THUDM: GLM Z1 32B AI Model based on the number of input and output tokens and requests. The model boasts a context window of 32768 tokens, optimized for complex reasoning and agentic workflows.

Model Pricing:

  • Input Tokens: $0.02 per 1,000,000 tokens
  • Output Tokens: $0.08 per 1,000,000 tokens

The calculation is performed using the following formula:

Total Cost = ((Number of Input Tokens / 1,000,000) × $0.02 + (Number of Output Tokens / 1,000,000) × $0.08) × Number of Requests

Example:

If you process 500,000 input tokens and 100,000 output tokens in a single request:

  • Input Cost = (500,000 / 1,000,000) × $0.02 = $0.01
  • Output Cost = (100,000 / 1,000,000) × $0.08 = $0.008
  • Total Cost = $0.01 + $0.008 = $0.018