LiteLLMModels

GLM 4.7 H API Pricing

As of October 10, 2026, GLM 4.7 H costs $0.60 per 1M input tokens and $2.20 per 1M output tokens on Novita AI, with cache reads at $0.11 per 1M tokens. It has a 204,800-token context window and returns up to 131,072 tokens per response.

By Z.aiModel ID novita/zai-org/glm-4.7-hPrices updated Checked
Input
$0.60 / 1M tokens
Output
$2.20 / 1M tokens
Cache read
$0.11 / 1M tokens
Context window
204,800 tokens
Max output
131,072 tokens
Providers
1
Added to LiteLLM
August 27, 2026

GLM 4.7 H pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readContext
Novita AInovita/zai-org/glm-4.7-h$0.60$2.20$0.11200K

What GLM 4.7 H costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Novita AI$2.30

100 long-document requests with 100,000 input and 2,000 output tokens each

Novita AI$6.44

GLM 4.7 H features

Use GLM 4.7 H with LiteLLM

Call GLM 4.7 H through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="novita/zai-org/glm-4.7-h",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: glm-4.7-h
    litellm_params:
      model: novita/zai-org/glm-4.7-h
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "glm-4.7-h",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

GLM 4.7 H FAQ

How much does GLM 4.7 H cost?

GLM 4.7 H costs $0.60 per 1M input tokens and $2.20 per 1M output tokens on Novita AI, with cache reads at $0.11 per 1M tokens.

What is the context window of GLM 4.7 H?

GLM 4.7 H has a 204,800-token context window and returns up to 131,072 tokens per response.

Which providers offer GLM 4.7 H?

GLM 4.7 H is available from Novita AI through LiteLLM, using the model name novita/zai-org/glm-4.7-h.

How do I call GLM 4.7 H with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="novita/zai-org/glm-4.7-h", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does GLM 4.7 H support?

GLM 4.7 H supports function calling, structured output, reasoning and prompt caching. It does not support image input.

When did LiteLLM add GLM 4.7 H?

GLM 4.7 H was added to LiteLLM's model price file on August 27, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

Provider pages: Novita AI.