LiteLLMModels

Fw GLM 5.1 API Pricing

As of October 10, 2026, Fw GLM 5.1 costs $1.54 per 1M input tokens and $4.84 per 1M output tokens on Azure AI Foundry, with cache reads at $0.286 per 1M tokens. It has a 202,800-token context window and returns up to 131,072 tokens per response.

Model ID azure_ai/FW-GLM-5.1Prices updated Checked
Scheduled for deprecation: Azure AI Foundry lists July 1, 2027 as the deprecation date for azure_ai/FW-GLM-5.1.
Input
$1.54 / 1M tokens
Output
$4.84 / 1M tokens
Cache read
$0.286 / 1M tokens
Context window
202,800 tokens
Max output
131,072 tokens
Providers
1
Added to LiteLLM
August 14, 2026

Fw GLM 5.1 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
Azure AI Foundryazure_ai/FW-GLM-5.1$1.54$4.84$0.286203K

What Fw GLM 5.1 costs in practice

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

Azure AI Foundry$5.50

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

Azure AI Foundry$16.37

Fw GLM 5.1 features

Use Fw GLM 5.1 with LiteLLM

Call Fw GLM 5.1 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="azure_ai/FW-GLM-5.1",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: fw-glm-5.1
    litellm_params:
      model: azure_ai/FW-GLM-5.1
      # 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": "fw-glm-5.1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Fw GLM 5.1 FAQ

How much does Fw GLM 5.1 cost?

Fw GLM 5.1 costs $1.54 per 1M input tokens and $4.84 per 1M output tokens on Azure AI Foundry, with cache reads at $0.286 per 1M tokens.

What is the context window of Fw GLM 5.1?

Fw GLM 5.1 has a 202,800-token context window and returns up to 131,072 tokens per response.

Which providers offer Fw GLM 5.1?

Fw GLM 5.1 is available from Azure AI Foundry through LiteLLM, using the model name azure_ai/FW-GLM-5.1.

How do I call Fw GLM 5.1 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="azure_ai/FW-GLM-5.1", 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 Fw GLM 5.1 support?

Fw GLM 5.1 supports function calling, reasoning and prompt caching.

When did LiteLLM add Fw GLM 5.1?

Fw GLM 5.1 was added to LiteLLM's model price file on August 14, 2026.

Is Fw GLM 5.1 being deprecated?

Azure AI Foundry lists a deprecation date of July 1, 2027 for azure_ai/FW-GLM-5.1.

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:

LiteLLM docs: Azure AI Foundry.

Provider pages: Azure AI Foundry.