GLM-4.7-FlashX:
Everything you need to know about the model

GLM-4.7-FlashX is a Z.AI model available through Merge Gateway via Z.AI. Use it with Gateway routing policies, spend controls, request logs, and a 131,072 token context window. It supports streaming, tool calling through at least one Gateway vendor route.

GLM-4.7-FlashX pricing

| Vendor | Input / 1M tokens | Output / 1M tokens | Zero data retention | | --- | ---: | ---: | --- | | Z.AI | $0.0700 | $0.4000 | No |

Test GLM-4.7-FlashX with Merge Gateway’s Simulator

GLM-4.7-FlashX
Synced
Synced
Run simulation to see response

Ready to try it out?

Start routing requests to hundreds of large language models in your product within minutes.

Route requests to GLM-4.7-FlashX with Merge Gateway

Merge Gateway is a unified LLM API that lets your product route requests to GLM-4.7-FlashX and every other major model through a single endpoint. You get built-in fallback routing, per-request cost tracking, zero data retention support, and observability without changing your application architecture.
To get started in seconds, add our Gateway Implementation skill to your project, or pick your preferred SDK below. Check out our other quick start skills here.
Install the Merge Gateway SDK
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Make your first API call
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Try a diffrent model
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Install the Merge Gateway SDK
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Make your first API call
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Try a diffrent model
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Install the Merge Gateway SDK
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Make your first API call
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Try a diffrent model
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Install the Merge Gateway SDK
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Make your first API call
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Try a diffrent model
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11

Explore other models available in Merge Gateway

model logo
Gpt 4 Turbo 2024 04 09
model logo
Gpt 5
model logo
Gpt 5.1
model logo
Gpt 5.1 2025 11 13
model logo
Gpt 5.1 Chat Latest
model logo
Gpt 5.2
model logo
Gpt 5 2025 08 07
model logo
Gpt 5.2 2025 12 11
model logo
Gpt 5.2 Chat Latest
model logo
Gpt 5.3 Chat Latest
model logo
Gpt 5.4
model logo
Gpt 5.4 2026 03 05
model logo
Gpt 5.4 Mini
model logo
Gpt 5.4 Mini 2026 03 17
model logo
Gpt 5.4 Nano
model logo
Gpt 5.4 Nano 2026 03 17
model logo
GPT-5.5
model logo
Gpt 5.5 2026 04 23
model logo
Gpt 5 Chat Latest
model logo
Gpt 5 Mini
model logo
Gpt 5 Mini 2025 08 07
model logo
Gpt 5 Nano
model logo
Gpt 5 Nano 2025 08 07
model logo
Gpt 5 Search Api

GLM-4.7-FlashX FAQ

In case you have any more questions on using GLM-4.7-FlashX, we’ve addressed several below.

Heading

What provider owns GLM-4.7-FlashX?

GLM-4.7-FlashX is a Z.AI model.

Which vendors can run GLM-4.7-FlashX?

Z.AI is the default listed vendor, and other active vendors may also be available.

What context window does GLM-4.7-FlashX support?

GLM-4.7-FlashX supports 131,072 tokens on the primary listed vendor route.

What capabilities does GLM-4.7-FlashX support?

Gateway currently lists streaming, tool calling support for GLM-4.7-FlashX across its available vendor routes.

Try GLM-4.7-FlashX through Merge Gateway

Route, observe, and control AI requests across providers from one API.