Skip to main content
Pass optional features beyond the OpenAI core schema on chat requests:
{
  "model": "zai-org-glm-5-2",
  "messages": [{ "role": "user", "content": "..." }],
  "icelake_parameters": {
    "enable_web_search": "auto",
    "enable_web_scraping": false,
    "enable_web_citations": false,
    "include_default_system_prompt": false,
    "strip_thinking_response": false,
    "disable_thinking": false,
    "character_slug": "optional-character-id"
  }
}

Parameters

ParameterTypeDescription
enable_web_search"off" | "on" | "auto"Real-time web search
enable_web_scrapingbooleanScrape URLs found in the user message
enable_web_citationsbooleanRequest citations when search is on
include_default_system_promptbooleanInclude Icelake default system behavior (default false on the public API)
strip_thinking_responsebooleanStrip thinking blocks from reasoning models
disable_thinkingbooleanDisable thinking when supported
character_slugstringOptional character persona id

SDK notes

  • TypeScript OpenAI SDK: pass icelake_parameters on the request object (may need a type cast).
  • Python OpenAI SDK: pass via extra_body={ "icelake_parameters": { ... } }.