Vision for coding models
Some Token Plan models (qwen3.7-plus, qwen3.6-plus, qwen3.5-plus) natively support visual understanding and can process image inputs directly. For text-only models such as glm-5 and MiniMax-M2.5, you can add visual capabilities by configuring a local Skill.
qwen3.7-plus, qwen3.6-plus, and qwen3.5-plus have visual understanding capabilities. If you frequently need to process images, switching to one of these models is the simplest and recommended approach.
For more information about switching models in other coding tools, see Clients and Developer Tools. After switching, you can reference image paths directly in your conversation, or drag-and-drop/paste images.
If you need to use text-only models such as glm-5 or MiniMax-M2.5 for image processing, you can configure a Skill or Agent to enable visual capabilities.
Running the image understanding Skill consumes Token Plan Credits. No additional charges apply.
Prerequisites
- You have subscribed to Token Plan. See Getting started.
- You have completed the integration configuration in a Token Plan tool and can chat normally. See Clients and Developer Tools for your tool's setup guide.
Vision support
| Model | Vision support | Description |
|---|---|---|
| qwen3.7-plus, qwen3.6-plus, qwen3.5-plus | Yes | No additional configuration required. You can pass images directly. |
| qwen3-max-2026-01-23, qwen3-coder-next, qwen3-coder-plus, glm-5, glm-4.7, MiniMax-M2.5 | No | Requires a Skill or Agent to enable visual capabilities |
Method 1: Use a vision model directly (recommended)
qwen3.7-plus, qwen3.6-plus, and qwen3.5-plus have visual understanding capabilities. If you frequently need to process images, switching to one of these models is the simplest and recommended approach.
| Tool | How to switch |
|---|---|
| Claude Code | /model qwen3.7-plus or /model qwen3.6-plus or /model qwen3.5-plus |
| OpenCode | /models then search and select qwen3.7-plus or qwen3.6-plus or qwen3.5-plus |
| Qwen Code | /model then select qwen3.7-plus or qwen3.6-plus or qwen3.5-plus |
Method 2: Add visual capabilities via Skill or Agent
If you need to use text-only models such as glm-5 or MiniMax-M2.5 for image processing, you can configure a Skill or Agent to enable visual capabilities.
- Claude Code
- OpenCode
Add the Skill
- Create an
.claudefolder in your project directory, then create askills/image-analyzerdirectory inside it:
- Create a
SKILL.mdfile in that directory with the following content:
- The resulting directory structure is as follows:
Getting started
- Run
claudein your project directory to start Claude Code, then run/model glm-5to switch to theglm-5model. - Reference an image path in the conversation and ask a question, for example:
Load image-analyzer skill and describe the content in screenshot.png.
FAQ
Why can't OpenCode + a vision model understand images?
Why can't OpenCode + a vision model understand images?
Cause: OpenCode does not enable a model's vision capabilities by default. You must explicitly declare the
modalities parameter in the configuration file.Solution: Add a modalities field to the model definition in your OpenCode configuration file, and set input to ["text", "image"], as shown below:Replace sk-sp-xxx with your Token Plan API Key.
Why can't OpenClaw + a vision model understand images?
Why can't OpenClaw + a vision model understand images?
Cause: OpenClaw requires the input field in the configuration file to determine whether a model supports vision capabilities.Solution:
- In the
~/.openclaw/openclaw.jsonconfiguration file, ensure the model definition includes the"input": ["text", "image"]field.
- After modifying the configuration, you must clear the OpenClaw model cache and restart. Otherwise, the old configuration will remain in effect.