impulse

GLM 5.2 Variant2

API id glm-5-2:variant2
Input / 1M
$1.40
at EmpirioLabs AI
Output / 1M
$4.40
at EmpirioLabs AI
Context window
1M
tokens
Max output
131K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at EmpirioLabs AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$1.40$4.40
Web search
$13.00 per 1,000 searches

What it costs a month

At EmpirioLabs AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$750
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$830
  • Coding agent1,000 requests a day, 40K in / 2K out$1,944
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$4,416
Use your own numbers

Where to run it

1 host serve GLM 5.2 Variant2. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
glm-5-2:variant2
$1.40 / $4.40

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Features
Built-in web search

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than EmpirioLabs AI.

Smaller Zhipu AI models

  • GLM 5v Turbo
    Zhipu AI · on Z.ai
    $1.20 / $4.00
    Lacks structured
    12% less

Other frontier labs

  • GPT-6.1 Terra
    OpenAI · on OpenAI
    $1.00 / $5.00
    Has every key capability
    7% less
  • Gemini 3.8 Flash
    Google · on Google AI Studio
    $0.75 / $3.75
    Has every key capability
    30% less
  • Grok Build 0.1
    xAI · on xAI
    $1.00 / $2.00
    Has every key capability
    42% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    91% less

Open-weight picks

  • Qwen4 Max
    Alibaba Qwen · on Together AI
    $1.43 / $4.28
    Has every key capability
    1% less
  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    20% less
  • GLM 5.3
    Zhipu AI · on CLF AI Gateway
    $0.56 / $1.76
    Has every key capability
    60% less
  • DeepSeek V4 Pro
    DeepSeek · on CLF AI Gateway
    $0.528 / $1.58
    Has every key capability
    63% less

Call it

Using EmpirioLabs AI's API.

Python
from litellm import completion

response = completion(
    model="empiriolabs/glm-5-2:variant2",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does GLM 5.2 Variant2 cost?

On EmpirioLabs AI, GLM 5.2 Variant2 costs $1.40 per million input tokens and $4.40 per million output tokens.

Which APIs offer GLM 5.2 Variant2?

GLM 5.2 Variant2 runs on 1 API: EmpirioLabs AI.

What is GLM 5.2 Variant2's context window?

1M tokens, with up to 131K tokens in one reply.

Is GLM 5.2 Variant2 being retired?

No retirement date is scheduled for it on any API we track.

What are cheaper alternatives to GLM 5.2 Variant2?

Models that cost less and keep most of what it can do: GLM 5v Turbo on Z.ai (12% less), GPT-6.1 Terra on OpenAI (7% less), Gemini 3.8 Flash on Google AI Studio (30% less) and Qwen4 Max on Together AI (1% less). Savings are on a mix of 3 input tokens to 1 output token.

What is GLM 5.2 Variant2's API model id?

Use glm-5-2:variant2 with EmpirioLabs AI.

Sources

Raw catalog entry for glm-5-2:variant2 on EmpirioLabs AI
{
  "litellm_provider": "empiriolabs",
  "mode": "chat",
  "max_input_tokens": 1048576,
  "max_output_tokens": 131072,
  "input_cost_per_token": 0.0000014,
  "output_cost_per_token": 0.0000044,
  "supports_system_messages": true,
  "supports_reasoning": true,
  "supports_web_search": true,
  "search_context_cost_per_query": {
    "search_context_size_low": 0.013,
    "search_context_size_medium": 0.013,
    "search_context_size_high": 0.013
  },
  "supports_response_schema": true,
  "source": "https://empiriolabs.ai/models/glm-5-2",
  "supports_function_calling": true
}