Try Bifrost Enterprise free for 14 days.
Request access

glm-5.2 Cost Calculator - Perplexity

Calculate the cost of using glm-5.2 from Perplexity for your AI applications

Pricing data last updated:

glm-5.2 Cost Calculator

Mode: Responses

Cost Breakdown

Input Cost$0.001400
Output Cost$0.004400
Total Cost$0.005800

Pricing Details

Input: $0.00000140 per token
Output: $0.00000440 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

About glm-5.2

glm-5.2 is a responses model from Perplexity, one of 4 responses models they offer. It is priced at $1.40 per 1M input tokens and $4.40 per 1M output tokens, ranking 23 out of 64 responses models by cost and cheaper than 64% of models in this category. glm-5.2 supports function calling, reasoning, web search — one of only 4 responses models with this combination.

Pricing Information

Input Cost$1.40 per 1M tokens
Output Cost$4.40 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Model Capabilities

Function Calling - Execute custom functions and tools
Advanced Reasoning - Complex problem-solving capabilities
Web Search - Access real-time web information

How glm-5.2 Pricing Compares

At $1.40 per 1M input tokens and $4.40 per 1M output tokens, glm-5.2 ranks 23 out of 64 responses models by input cost. It is more affordable compared to the median of $2.20 for responses models, and is cheaper than 64% of models in this category.

glm-5.2 is one of 4 Perplexity responses models, one of only 4 responses models combining function calling, reasoning, web search.

ModelProviderInput / 1M tokensOutput / 1M tokensvs glm-5.2
gpt-5-codexOpenAI$1.25$10.00-11%
gpt-5.1-codexOpenAI$1.25$10.00-11%
gpt-5.1-codex-maxOpenAI$1.25$10.00-11%

Alternatives to glm-5.2

Similar responses models from other providers

OpenAI
gpt-5-codex
$1.25/1M input
-11% vs glm-5.2
OpenAI
gpt-5.1-codex
$1.25/1M input
-11% vs glm-5.2
OpenAI
gpt-5.2-codex
$1.75/1M input
+25% vs glm-5.2
OpenAI
gpt-5.3-codex
$1.75/1M input
+25% vs glm-5.2

Frequently Asked Questions

Is glm-5.2 cheaper than gpt-5-codex?

No. glm-5.2 costs $1.40 per 1M input tokens while gpt-5-codex costs $1.25 per 1M input tokens, making gpt-5-codex 11% more affordable for input. However, glm-5.2 may offer different capabilities or performance characteristics that justify the price difference.

How does glm-5.2 pricing compare to the average responses model?

glm-5.2 input pricing is $1.40 per 1M tokens, which is 36% below the median of $2.20 for responses models. It ranks 23 out of 64 responses models by input cost, making it cheaper than 64% of models in this category. For output, it costs $4.40 per 1M tokens compared to the median of $14.00.

What makes glm-5.2 different from other Perplexity models?

Among Perplexity's 4 responses models, glm-5.2 ranks 3 by input cost. Its combination of function calling, reasoning, web search is shared by only 3 other responses models.

What are the best alternatives to glm-5.2?

The most comparable responses models to glm-5.2 are: gpt-5-codex from OpenAI ($1.25/1M input tokens); gpt-5.1-codex from OpenAI ($1.25/1M input tokens); gpt-5.1-codex-max from OpenAI ($1.25/1M input tokens); gpt-5.2-codex from OpenAI ($1.75/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

How do I check if Perplexity is down?

You can monitor Perplexity service health in real time on the Bifrost Perplexity Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.

How do I calculate glm-5.2 costs?

glm-5.2 is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $1.40 and generating 1M output tokens costs $4.40.