Repository navigation
langchain-zerogpu 1.2.0
Model catalog sync. The ZeroGPU API no longer serves deepseek-v4-flash-0731,
so ZeroGPUReasonCodeTool — which failed on every call — is gone, and the four
text-generation models the API has added since the last sync now have tools:
glm-5.3-flash picks up the coding and agentic work at a 1M-token context,
alongside three OpenAI models. Tool names and outputs are unchanged apart from
the notes below.
Added
ZeroGPUReasonGLMTool(zerogpu_reason_glm) callsglm-5.3-flash, Z.ai's
efficient open-weight model for coding and long-horizon agent tasks, whose
hybrid sparse and linear attention keeps long-context behaviour accurate
across a 1M-token window, with function calling and adjustable reasoning
effort. It is the cheapest tool with a 1M-token context.ZeroGPUReasonGPTLunaTool(zerogpu_reason_gpt_luna) callsgpt-5.6-luna,
the cost-optimized model of OpenAI's GPT-5.6 family, with adjustable
reasoning effort, function calling, and structured outputs over a 272K-token
context.ZeroGPUReasonGPTMiniTool(zerogpu_reason_gpt_mini) callsgpt-4.1-mini,
OpenAI's fast, cost-efficient GPT-4.1 model for instruction following and
tool calling across a 1M-token context.ZeroGPUReasonGPTNanoTool(zerogpu_reason_gpt_nano) callsgpt-5.4-nano,
the most cost-efficient model of OpenAI's GPT-5.4 family, built for
high-volume, latency-sensitive classification, extraction, routing, and
sub-agent work over a 400K-token context.
Changed
ZeroGPUReasonDeepseekTool: the cost comparison in the tool description
agents route on pointed at the removedZeroGPUReasonCodeTool. It now points
atZeroGPUReasonGLMTool, the tool that keeps the same 1M-token context —
deepseek-v4.1-flashcosts about 40% more per input token and 60% more per
output token thanglm-5.3-flash.
Removed
ZeroGPUReasonCodeTool(zerogpu_reason_code). The ZeroGPU API no longer
servesdeepseek-v4-flash-0731, so the tool failed on every call. Remove it
from your imports;ZeroGPUReasonGLMToolcovers the same coding and agentic
work at the same 1M-token context. The toolkit now returns twenty-two tools
instead of nineteen.
Install
pip install -U langchain-zerogpu==1.2.0