GLM 4.7 FlashX vs GLM 4.6V FlashX

GLM 4.7 FlashX and GLM 4.6V FlashX side by side: specs, capabilities, parameters, and live pricing from the EmpirioLabs catalog.

Z.ai Text Generation

GLM 4.7 FlashX vs GLM 4.6V FlashX at a glance

GLM 4.7 FlashX and GLM 4.6V FlashX are both Z.ai models in the Text Generation category, available through the EmpirioLabs API.

Key differences

  • GLM 4.7 FlashX has the larger context window: 202.8K tokens, against 128K for GLM 4.6V FlashX.
  • GLM 4.7 FlashX returns up to 131,072 output tokens per response, GLM 4.6V FlashX up to 32,768.
  • Input types only GLM 4.6V FlashX accepts: File, Image, Video.
  • Capabilities listed only for GLM 4.6V FlashX: vision, video understanding, document understanding.
  • GLM 4.6V FlashX lists the lower rate for Input (per 1M prompt tokens).
  • Both models list the same rate for Output (per 1M generated tokens).

GLM 4.7 FlashX vs GLM 4.6V FlashX: specs

SpecGLM 4.7 FlashXGLM 4.6V FlashX
Model IDglm-4-7-flashxglm-4-6v-flashx
AuthorZ.aiZ.ai
ReleasedJan 19, 2026-
Context window202.8K tokens128K tokens
Max output131,072 tokens32,768 tokens
Input
Text
Text Image Video File
Output
Text
Text
Structured outputJSON ModeJSON Mode
RegionSingaporeSingapore
Endpoints
POST /v1/chat/completions POST /v1/responses POST /v1/messages POST /v1beta/models/glm-4-7-flashx:generateContent
POST /v1/chat/completions POST /v1/responses POST /v1/messages POST /v1beta/models/glm-4-6v-flashx:generateContent
Capabilities
reasoning function calling web search cache
vision video understanding document understanding function calling web search reasoning cache

GLM 4.7 FlashX vs GLM 4.6V FlashX: API pricing

Live rates from the EmpirioLabs catalog for both models. Each rate card always matches what the API charges.

GLM 4.7 FlashX vs GLM 4.6V FlashX: API parameters

Request parameters each model lists on EmpirioLabs, with the allowed values or range where one applies. A dash marks a parameter the model does not list.

ParameterGLM 4.7 FlashXGLM 4.6V FlashX
temperature0 to 1 Default: 10 to 1 Default: 1
top_p0.01 to 1 Default: 0.950.01 to 1 Default: 0.95
max_tokens1 to 131072 Default: 40961 to 32768 Default: 4096
stoparrayarray
do_sampleboolean Default: trueboolean Default: true
enable_thinkingboolean Default: trueboolean Default: true
thinkingobjectobject
preserve_thinkingboolean Default: false-
toolsarrayarray
tool_choiceauto Default: autoauto Default: auto
tool_streamboolean Default: falseboolean Default: false
tool_web_searchboolean Default: falseboolean Default: false
search_resultboolean Default: trueboolean Default: true
search_promptstringstring
count1 to 50 Default: 101 to 50 Default: 10
search_domain_filterstringstring

GLM 4.7 FlashX vs GLM 4.6V FlashX: limits and notes

GLM 4.7 FlashX

Built-in web search is optional through tool_web_search and adds $0.033 per request when enabled.

GLM 4.6V FlashX

Built-in web search is optional through tool_web_search and adds $0.033 per request when enabled.

How to call GLM 4.7 FlashX and GLM 4.6V FlashX

GLM 4.7 FlashX serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id glm-4-7-flashx. Both models are called through the same endpoint. Set model to glm-4-7-flashx or glm-4-6v-flashx. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-4-7-flashx",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'

GLM 4.7 FlashX vs GLM 4.6V FlashX: common questions

What is the difference between GLM 4.7 FlashX and GLM 4.6V FlashX?

GLM 4.7 FlashX has the larger context window: 202.8K tokens, against 128K for GLM 4.6V FlashX. GLM 4.7 FlashX returns up to 131,072 output tokens per response, GLM 4.6V FlashX up to 32,768. Input types only GLM 4.6V FlashX accepts: File, Image, Video. The specs, rate cards, and parameters on this page come from the live EmpirioLabs catalog.

Which has the lower rate, GLM 4.7 FlashX or GLM 4.6V FlashX?

GLM 4.6V FlashX lists the lower rate for Input (per 1M prompt tokens). Both models list the same rate for Output (per 1M generated tokens). Both live rate cards are on this page and always match what the API charges.

Can I switch between GLM 4.7 FlashX and GLM 4.6V FlashX without rebuilding my integration?

Yes. Both models use POST /v1/chat/completions with the same EmpirioLabs API key, so most integrations switch by changing the model value. Check the parameters table on this page first if you rely on a model-specific parameter.

Can I try GLM 4.7 FlashX and GLM 4.6V FlashX in the browser before integrating?

Yes. Open each model in the EmpirioLabs playground and run the same prompt on both, with the parameters the API exposes.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.