Devix API
Models

glm-4.7-flash

Text Generation · Zhipu AI · Hosted
glm-4.7-flash

GLM-4.7-Flash is a fast and efficient multilingual text generation model with a 131,072 token context window. Optimized for dialogue, instruction-following, and multi-turn tool calling across 100+ languages.

Function callingReasoningDeprecated

Model Info

Task Type
Text Generation
Author
Zhipu AI
Endpoint
/api/v1/chat/completions
Terms and License
Not listed
Function calling
Yes
Reasoning
Yes
Vision
No
Unit Pricing
$0.06 per M input tokens, $0.40 per M output tokens
Playground
Try this model
Use the marketplace playground with this public slug.
Open Playground
Usage
curl
curl https://devix.one/api/v1/chat/completions \
  -H "Authorization: Bearer mak_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "glm-4.7-flash",
  "messages": [
    {
      "role": "user",
      "content": "Explain this model in one sentence."
    }
  ],
  "max_tokens": 256
}'
Parameters
Request Body
{
  "model": "glm-4.7-flash",
  "messages": [
    {
      "role": "user",
      "content": "Explain this model in one sentence."
    }
  ],
  "max_tokens": 256
}
Response

Text models return OpenAI-compatible chat completions. Image models return data[0].url. Other model types return a normalized result object.

Internal credentials and routing fields are never exposed here.

API Schemas (Raw)
json
{
  "model": "string",
  "messages": [
    {
      "role": "system | user | assistant",
      "content": "string"
    }
  ],
  "max_tokens": "number | optional",
  "stream": "boolean | optional"
}