GLM-5.3-Flash Pricing: Agent Cost Guide
Estimate GLM-5.3-Flash API costs from token rates and compare coding agents by the cost per accepted task, accounting for retries and fallbacks.
Key takeaway: At the November 14 SandBase list rates, 20,000 input and 5,000 output tokens cost $0.0055. Compare agent configurations by cost per accepted task.
Calculate one call
The model page lists $0.15 per million input tokens and $0.50 per million output tokens before discounts. The example adds $0.003 for input and $0.0025 for output. Use your billing records for actual rates and separate cached input, tools and sandbox charges when billed separately.
Measure the cost of success
Give each setup the same issues and acceptance tests. Divide the whole batch’s spend by the number of accepted results, counting retries and fallback calls in the numerator. Record total spend and zero passes if none succeed.
Suppose ten tasks each take an initial $0.0055 call and four need one retry at the same cost. Fourteen calls cost $0.077. With eight accepted tasks, model cost per accepted task is about $0.0096. This is a hypothetical calculation excluding tools and compute.
Compare routing choices
Run the same batch with Flash alone and with one fallback after a failed test. Record model IDs, billed usage, latency and acceptance. Keep effort settings explicit using the model card. For trial design, see the coding benchmark guide.
Reference screenshots
![]()
Archived model card.
![]()
Archived repository view.
![]()
SandBase API overview.
Found this useful? Share it