GLM-OCR vs LFM2 24B A2B
Side-by-side API pricing comparison · Z.AI vs Together
🏆
GLM-OCR is 150% cheaper on blended cost ($0.030 vs $0.075/Mtok)
GLM-OCR
by Z.AI
Current budget Open weightsInput
$0.030/Mtok
Output
$0.030/Mtok
✓ Cheaper
| Blended avg | $0.030/Mtok |
|---|---|
| Context | 128K tokens |
| Modality | text, image |
| Parameters | Proprietary |
| Released | Jun 1, 2025 |
LFM2 24B A2B
by Together
Current budget Open weightsInput
$0.030/Mtok
Output
$0.120/Mtok
| Blended avg | $0.075/Mtok |
|---|---|
| Context | 128K tokens |
| Modality | text |
| Parameters | 24B (A2B) |
| Released | Jan 1, 2026 |
Cost at scale — 1M tokens (50/50 input/output)
| Volume | GLM-OCR | LFM2 24B A2B | Savings |
|---|---|---|---|
| 1M tokens | $0.03 | $0.08 | $0.05 (66.7%) |
| 10M tokens | $0.3 | $0.75 | $0.45 (60%) |
| 100M tokens | $3 | $7.5 | $4.5 (60%) |
| 1000M tokens | $30 | $75 | $45 (60%) |
Sponsored
Get API key →
Try GLM-OCR on Z.AI
Get started with Z.AI's API — GLM-OCR costs $0.030/Mtok blended.
Summary
GLM-OCR by Z.AI costs $0.030/Mtok input and $0.030/Mtok output, with a 128K-token context window. It supports text, image input.
LFM2 24B A2B by Together costs $0.030/Mtok input and $0.120/Mtok output, with a 128K-token context window. It supports text input.
On a blended cost basis, GLM-OCR is 150% cheaper than LFM2 24B A2B.
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.