Head to head

GLM 5.1 vs GPT-5.4 mini

On a blended workload of one million input tokens and three million output tokens, GPT-5.4 mini is 1.0× cheaper than GLM 5.1.

GLM 5.1GPT-5.4 mini
Provider Fireworks AI OpenAI
Input / MTok $1.4 $0.75
Output / MTok $4.4 $4.5
Cache read / MTok $0.26 $0.075
Context window
Blended 1M in + 3M out $14.60 $14.25
Status ga ga

GLM 5.1 detail   GPT-5.4 mini detail