{"slug":"glm-4.5v","name":"GLM 4.5V","family":"zai","family_name":"Z.ai","developer":"Z.ai","color":"#12b5cb","status":"active","released":"2025-08-11","snapshot_of":null,"open":true,"context":65536,"max_output":16384,"knowledge_cutoff":"2025-04","modalities":["text","image"],"output_modalities":["text"],"reasoning":true,"tools":true,"structured_output":false,"huggingface":"zai-org/GLM-4.5V","speed":37.5,"latency":1.37,"short":"Open-weights vision-language model from Z.ai, released August 2025, with tool calling and reasoning mode. Its one benchmark result sits near the bottom of the registry.","strengths":["Accepts both text and image input","Open weights, available from three providers","Supports tool calling and reasoning mode","Blended price of $0.9 per million tokens, just below the $1.01 median"],"weaknesses":["LMArena text rating 1332.6, 110th of 114, against a median of 1437.6","Popularity rank 183rd of 194","Context window of 65k tokens and no structured output"],"best_for":"Image-plus-text tasks with tool calling where a low-cost open model is needed and benchmark standing matters less.","long":"GLM 4.5V is an open-weights model from Z.ai, released in August 2025, that accepts both text and image input. It supports tool calling and a reasoning mode, which suits agents that read screenshots, documents or charts and then call functions. Its knowledge cutoff is April 2025.\n\nIts registry standing is weaker. The only benchmark result is LMArena text, where it scores 1332.6 against a median of 1437.6 and ranks 110th of 114. There are no intelligence index results, so its capability is hard to judge beyond that single figure. Its popularity rank is 183rd of 194.\n\nThe context window is 65k tokens with a 16k response limit, and structured output is not supported. Pricing is $0.6 per million input tokens and $1.8 per million output tokens, a blended $0.9 that sits just below the median. It is available from Z.ai, Novita and OpenRouter.","described":true,"gateway":false,"byok":true,"string":"zai:GLM-4.5V","input":0.6,"output":1.8,"cache_read":0.11,"blended":0.9,"efficiency":null,"bench":{"lmarena":1332.6},"offers":[{"provider":"zai","name":"Z.ai","model_id":"GLM-4.5V","api":["openai"],"input":0.6,"output":1.8,"cache_read":0.11,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":null,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"zai:GLM-4.5V","gateway_string":null},{"provider":"novita","name":"Novita","model_id":"zai-org/glm-4.5v","api":["openai"],"input":0.6,"output":1.8,"cache_read":0.11,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":65536,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":null,"gateway_string":null},{"provider":"openrouter","name":"OpenRouter","model_id":"z-ai/glm-4.5v","api":["openai"],"input":0.6,"output":1.8,"cache_read":0.11,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":65536,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:z-ai/glm-4.5v","gateway_string":null}],"ranks":{"intelligence":null,"popularity":183,"efficiency":null,"speed":158,"price":89},"top_score":0.0167,"about":["Open-weights vision-language model from Z.ai, released August 2025, with tool calling and reasoning mode. Its one benchmark result sits near the bottom of the registry.","GLM 4.5V is an open-weights model from Z.ai, released in August 2025, that accepts both text and image input. It supports tool calling and a reasoning mode, which suits agents that read screenshots, documents or charts and then call functions. Its knowledge cutoff is April 2025.","Its registry standing is weaker. The only benchmark result is LMArena text, where it scores 1332.6 against a median of 1437.6 and ranks 110th of 114. There are no intelligence index results, so its capability is hard to judge beyond that single figure. Its popularity rank is 183rd of 194.","The context window is 65k tokens with a 16k response limit, and structured output is not supported. Pricing is $0.6 per million input tokens and $1.8 per million output tokens, a blended $0.9 that sits just below the median. It is available from Z.ai, Novita and OpenRouter."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['ZAI_API_KEY'] = '...'\n\nagent = Agent('zai:GLM-4.5V', instructions='Be concise, reply with one sentence.')\n\nresult = agent.run_sync('Where does \"hello world\" come from?')\nprint(result.output)","soon":false},{"file":"structured_output.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic import BaseModel\nfrom pydantic_ai import Agent\n\nos.environ['ZAI_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('zai:GLM-4.5V', output_type=CityLocation)\n\nresult = agent.run_sync('Where were the olympics held in 2012?')\nprint(result.output)\n#> city='London' country='United Kingdom'","soon":false},{"file":"tools.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\nimport random\n\nfrom pydantic_ai import Agent, RunContext\n\nos.environ['ZAI_API_KEY'] = '...'\n\nagent = Agent(\n    'zai:GLM-4.5V',\n    deps_type=str,\n    instructions=\"You're a dice game, roll the die and see if it matches the user's guess.\",\n)\n\n\n@agent.tool_plain\ndef roll_dice() -> str:\n    \"\"\"Roll a six-sided die and return the result.\"\"\"\n    return str(random.randint(1, 6))\n\n\n@agent.tool\ndef get_player_name(ctx: RunContext[str]) -> str:\n    \"\"\"Get the player's name.\"\"\"\n    return ctx.deps\n\n\nresult = agent.run_sync('My guess is 4', deps='Anne')\nprint(result.output)","soon":false},{"file":"streaming.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport asyncio\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['ZAI_API_KEY'] = '...'\n\nagent = Agent('zai:GLM-4.5V')\n\n\nasync def main():\n    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:\n        async for text in response.stream_text(delta=True):\n            print(text, end='', flush=True)\n\n\nasyncio.run(main())","soon":false},{"file":"pax.sh","lang":"sh","code":"export ZAI_API_KEY='...'\n\nuvx pax --model 'zai:GLM-4.5V'","soon":true},{"file":"pi.sh","lang":"sh","code":"# npm install -g @earendil-works/pi-coding-agent\nexport ZAI_API_KEY='...'\n\npi --model 'zai/GLM-4.5V'","soon":false},{"file":"ai_sdk.ts","lang":"ts","code":"// npm install ai @ai-sdk/openai-compatible\nimport { createOpenAICompatible } from '@ai-sdk/openai-compatible'\nimport { generateText } from 'ai'\n\nprocess.env.ZAI_API_KEY = '...'\n\nconst zai = createOpenAICompatible({\n  name: 'zai',\n  baseURL: 'https://api.zai.example/v1',\n  apiKey: process.env.ZAI_API_KEY,\n})\n\nconst { text } = await generateText({\n  model: zai('GLM-4.5V'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[{"id":"lmarena","name":"LMArena text","unit":"","desc":"Rating from blind human votes between pairs of chat responses","category":"preference","floor":1100,"ceiling":1600,"url":"https://lmarena.ai/leaderboard/text","credit":"LMArena (CC BY 4.0)"}],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}