Use Qwen4 35B A3B in a coding agent
Qwen4 35B A3B (qwen/qwen4-35b-a3b) is the open-weight Qwen4, released December 4, 2026. OpenRouter's card describes the same architecture as Qwen4-Max, with 35 billion total parameters and 3 billion active. It takes text, images and video, returns text, and supports tools plus JSON-schema output. The context window is 1,048,576 tokens. The completion cap is 65,536 tokens.
Thinking and tools
Reasoning is on by default. The card says effort can be low, high or xhigh, or off. An agent loop that already plans in the prompt often wants thinking off, so the reply is the tool call and not a long trace billed as output. Leave it on for a step that has to hold a large diff in mind. The completion cap covers thinking and the answer together.
Tool calling and structured output are listed. That is provider documentation, not a live run against Claude Code. If edits start arriving as plain text, the model-choice note is the first place to look. Catalog entries also carry a tool_call_reliability tag. high means the provider documented tool calls. It is not a guarantee.
Price on December 4
OpenRouter's headline that day was $0.04 per million input tokens and $0.30 per million output tokens. Venice matched it. Alibaba Cloud International and several other hosts listed $0.06 and $0.36, with cache reads at $0.003 where offered. A Prime Intellect flex tier was $0.03 and $0.18. Those are host prices. ChromaLab bills the rate on the models page for whatever id is actually listed.
Point Claude Code at it
Confirm the id on the models page before you export it. A missing name 404s.
export ANTHROPIC_BASE_URL="https://chromalab.ink"
export ANTHROPIC_AUTH_TOKEN="chroma-xxxxxxxxxxx-xxxxxxxxxxx"
export ANTHROPIC_MODEL="qwen/qwen4-35b-a3b"
The rest of the setup, including the small fast model and the Cursor, OpenCode and aider equivalents, is in the Claude Code docs. Roleplay-specific limits for the same model are on Composite.