Gapnil inference engine · Cheaper · Faster · TruerGapnil 推理引擎 · 更省 · 更快 · 更真

The inference engine
that speeds itself up
会自己变快的
推理引擎

Gapnil runs a 33-billion-parameter video model on 8 consumer GPUs and delivers a clip in about 5 seconds, faster than it plays back, for ¥0.02–0.03 a clip. AgentV uses it to shoot films inside real 3D spaces.Gapnil 让 330 亿参数的视频模型在 8 张消费级显卡上约 5 秒出片,生成比播放还快,一条只要两三分钱。AgentV 用它在真实的 3D 空间里拍电影。

Why it is this fast它为什么这么快 Try Gapnil体验 Gapnil Try AgentV体验 AgentV
切换到中文版 →Switch to English →
Clip playback成片播放0.00
Gapnil generationGapnil 生成0.00
Generated 0.34 s before playback ends生成比播放快 0.34 秒
The timer runs at real speed. 720p generation takes 4.83 s in production; the clip lasts 5.17 s. Production uses a 3-step setup, which is not equal in quality to full mode. The background is a real screen recording of the product.计时按真实速度播放。720p 线上生成 4.83 秒,成片时长 5.17 秒;线上 3 步配置,画质与完整模式不等价。背景为产品真实录屏。
Price · Affordable价格 · 拍得起¥0.02/clip起

Compute for a 5-second clip costs about ¥0.02–0.03 (estimate), one to two orders of magnitude below the entry price of hosted APIs.一条 5 秒视频的算力成本约两三分钱(估算),比托管 API 起步价低一到两个数量级。

Speed · No waiting速度 · 等得起5sec秒出片

A 33-billion-parameter video model that generates 720p faster than it plays. Change one line of dialogue and see the result right away.330 亿参数的视频模型,720p 下生成比播放还快。改一句台词,马上看到结果。

Spatial realism · Real cameras空间真实感 · 镜头是真的3D

A scene is a space you can walk into, not a single image. Camera position, focal length and path are real numbers, and the set stays put when you move the camera.场景不是一张图,是能走进去的空间。机位、焦距、路径都是真实的数值,换机位陈设不变。

01 Gapnil engine · Speed01 Gapnil 引擎 · 速度

A 33B-parameter video model,
a clip in about 5 seconds
330 亿参数的视频模型,
约 5 秒出片

Gapnil is an inference engine built from scratch by the Gapnil team, with no off-the-shelf inference framework underneath. The same open-source model needs almost 4 minutes in full mode on a single GPU. On Gapnil, median production generation takes 5.23 s, and 4.83 s at 720p, which is shorter than the clip itself.Gapnil 是零隙智能从零自研的推理引擎,不依赖现成的推理框架。同一个开源模型,单张显卡跑完整模式要将近 4 分钟;在 Gapnil 上,线上生成中位数 5.23 秒,720p 下 4.83 秒,比成片播放还快。

8GPUs张卡Consumer RTX 5090 cards with no high-end interconnect between them, and one request is still split across cards消费级 RTX 5090,显卡之间没有高端互连,单个请求照样拆到多卡上加速
3×倍Same prompts, same 3 steps: about 3× faster than an SGLang deployment同一组提示词、同为 3 步,比 SGLang 部署快约 3 倍
10×+倍以上Against a standard 20-step SGLang deployment (about 115 s)相比 20 步的标准 SGLang 部署(约 115 秒)
How long you wait for a 5.17-second clip · plays by itself交付一条 5.17 秒成片要等多久 · 自动播放
226.2s秒

Start: almost 4 minutes起点:将近 4 分钟

One RTX 5090, full 49-step mode. A 33-billion-parameter audio-video model: change one line and you wait in a queue.单张 RTX 5090、49 步完整模式。330 亿参数的音视频模型,改一句台词,创作只能排队。

Go parallel并行

4 consumer GPUs share the denoising work. With no high-end interconnect, one request is still split and sped up.4 张消费级显卡分工去噪,显卡之间没有高端互连,照样把一个请求拆开加速。

Take fewer steps少走几步

Teach the model to take bigger strides: 49 steps down to 4, using an open-source acceleration LoRA.让模型学会跨更大的步子:49 步降到 4 步,用的是开源加速 LoRA。

Add four more cards再加四张卡

8 cards across two memory domains. While one group computes, the next group's data is already on its way.8 张卡分布在两个内存域,一组在算,下一组的数据已经在路上。

In production: about 5 seconds上线:约 5 秒出片

7 cards denoise and 1 card publishes, with decoding and packaging connected end to end. Generation takes 5.23 s; the full request including packaging takes 6.96 s.7 张卡去噪、1 张卡发布,解码和封装全链路打通。生成 5.23 秒,含封装的完整请求 6.96 秒。

Text encoding文本编码Iterative denoising重复去噪Frame decoding画面解码Packaging封装成片

The four stages of one generation. Each step lights up the stages it changed.一次生成的四段路。每一步点亮它动过的环节。

Four keys四把钥匙

Compute less · Rebuilt model math少算 · 模型计算重构Compressed weights take part in the computation directly, and only the regions that matter are computed precisely. Every change records its numerical deviation from the reference.压缩权重直接参与计算,只在重要区域精算。每一项都记录了与参考实现的数值偏差。Low precision 1.37× · Sparse attention 2.62× · Operator fusion 1.19× / 1.14×低精度 1.37× · 稀疏注意力 2.62× · 算子融合 1.19× / 1.14×
Go parallel · Mixed hardware并行 · 异构资源协同8 cards in two memory domains with no high-end interconnect still accelerate one request. Text encoding runs as a separate service.8 张卡分在两个内存域、没有高端互连,照样多卡加速;文本编码拆成独立服务。Text encoding 31.38 → 1.08 s · 8 cards 1.67× faster than 4 per forward pass文本编码 31.38 → 1.08 秒 · 单次前向 8 卡比 4 卡再快 1.67×
Wait less · Scheduling in space and time少等 · 时空调度7 cards denoise in parallel while 1 publishes. Compute and transfer overlap, and the output is bit-identical.7 张卡并行去噪、1 张卡负责发布;计算和传输同时进行,输出逐位一致。−7.0% per forward pass每次前向 −7.0%
Move less · Whole-pipeline tuning少搬 · 全链路优化Time outside denoising is cut too: a resident decoder, tiled parallel decoding and hardware-encoded packaging.去噪之外的时间同样压缩:解码器常驻、分块并行,硬件编码封装。Tiled decoding 1.78× · Packaging 9.46 → 2.01 s分块解码 1.78× · 封装 9.46 → 2.01 秒

Same prompts, about 3× faster同一组提示词,快约 3 倍

Gapnil · 3 stepsGapnil · 3 步
9.19–11.73
SGLang · 3 stepsSGLang · 3 步
29.65–31.74
SGLang · 20 stepsSGLang · 20 步
114.9–116.9

Client-side end-to-end time in seconds. 1280×720, 124 frames, 6 prompts, 14 October 2026. Gapnil runs NVFP4 precision; SGLang runs BF16.客户端端到端耗时(秒),1280×720、124 帧,6 条提示词,2026 年 10 月 14 日。Gapnil 用 NVFP4 精度,SGLang 用 BF16 精度。

Consumer GPUs, a machine that fits in your server room消费级显卡,整机搬得进机房

Data stays inside数据不出内网The whole machine goes into the customer's server room. Source material and finished clips stay on the internal network, which suits advertising, film, government, healthcare and other compliance-sensitive fields.整机直接进入客户机房,素材与成片都留在内网,适合广告、影视、政务、医疗等合规敏感行业。On-premises deployment私有化部署
Easy to buy, clear pricing买得到,价格透明Consumer GPUs are in stock and do not depend on export-controlled data-center GPUs.消费级显卡现货充足,不依赖受出口管制的数据中心 GPU。About ¥150–200K of hardware硬件投入约 15–20 万元
What one machine produces一台机器的产能Estimated from the 6.96 s median full request, processed one at a time. Splitting the 8 cards into several parallel groups comes next.按线上完整请求中位数 6.96 秒串行处理估算。把 8 张卡拆成多组并行服务,是下一步。About 12,000 clips a day per machine单机日产约 1.2 万条
02 Self-improving · Gapnil × Singularity Escape (奇点逃逸)02 自演进 · 零隙智能 × 奇点逃逸

These speedups were not
tuned by hand, one by one
这些提速,
不是人一项项调出来的

Gapnil and Singularity Escape built a recursive self-improvement (RSI) system together. Agents propose optimizations round after round, an independent reviewer checks each condition, and only code and lessons that pass are handed to the next round. The engine speeds itself up.零隙智能与奇点逃逸共建了一套递归自我改进(RSI)系统。智能体一轮轮提出优化,独立评审逐条把关,只有通过检验的代码和经验才传给下一轮。这是一台会自己变快的引擎。

01Fix the acceptance tree审定验收命题树Singularity Escape奇点逃逸
02Propose and implement提出并实现Built jointly双方共建
03Independent review独立评审Singularity Escape奇点逃逸
04Archive and inherit存档与继承Singularity Escape奇点逃逸
05Human gate人工关卡Before release发布之前

Before any optimization starts, “what counts as better” is broken into conditions that can be judged one by one. Once approved, they stay fixed for the round.优化开始前,先把“什么算改好了”拆成可以逐条判定的条件,审定后本轮不变。

Agents may change the code,
but not “what counts as better”.
智能体可以改代码,
但不能改“什么算改好了”。

8.8×10⁻⁷Maximum numerical deviation from the official implementation, first 4 Transformer blocks与官方实现的最大数值偏差,前 4 个 Transformer 块
0.95Motion retention after fixing quantization scaling and adding correction (was 0.55)运动保留,修复量化缩放并加入校正后(原为 0.55)
3bugs个Defects that made the model “ignore the prompt”, found and fixed让模型“无视提示词”的缺陷被定位并修复

The 3-step production mode uses an open-source 3-step LoRA, which changes how clips are generated. We do not claim it matches 20-step quality. For the highest quality, switch to the full 49-step mode, which runs on a single card.线上 3 步模式使用开源 3 步 LoRA,改变了生成方式,不声称与 20 步画质等价。需要最高画质时可切换 49 步完整模式,单卡即可运行。

Remember every dead end记住所有走不通的路

Every round ends with a report: what was tried, which conditions held, and where the evidence is. The next round starts from the latest passing version and these reports, so it does not start from zero and the gains add up.每一轮结束都留下一份经验报告:试了什么,哪些条件成立,证据在哪里。下一轮从最新的通过版本和这些报告出发,不用从零摸索,改进因此逐轮叠加。

A different quantization scheme另一种量化方案SVDQuant only reduced the error from 17.6% to 16.8%.SVDQuant 只把误差从 17.6% 降到 16.8%。Archived, not retried留档,不再重试
Higher-precision weights更高精度的权重W8A8 cost 1.7× the GPU memory.W8A8 方案带来 1.7 倍的显存开销。Archived, not retried留档,不再重试
A different communication grouping换一种通信分组A 3/4 communication grouping brought no gain.通信分组 3/4 没有带来收益。Archived, not retried留档,不再重试

The loop is still running闭环还在跑

More accurate更准Keep shrinking the error introduced by low-precision computation.继续缩小低精度计算带来的误差。
More output更多产能Split the 8 cards into several parallel groups to raise throughput per machine.8 张卡拆成多组并行服务,提升整机吞吐。
More control更可控Connect the model's built-in first/last-frame control and reference-image guidance.接通模型自带的首尾帧控制与参考图驱动。
More goals更多目标Extend the same loop to throughput and cost, and automate more of how acceptance conditions are written and approved.同一套闭环扩展到吞吐、成本,验收条件的生成与审定更自动。
From technology to product · AgentV技术落到产品 · AgentV

With a fast engine,
filmmaking works differently
引擎快了,
拍片的方式就变了

AgentV is the director's desk that runs on Gapnil. Because every change shows up right away, it can let you build a 3D world first, place the cameras, and then shoot one shot at a time. Behind each product promise is a piece of technology.AgentV 是跑在 Gapnil 上的导演台。改完马上能看到,所以它敢让你先搭出一个 3D 世界、摆好机位,再一个镜头一个镜头地拍。每个产品承诺,背后都有一项技术撑着。

The camera obeys the director镜头听导演的
Video models do not understand space视频模型不理解空间
World model build a 3D space by chatting世界模型 对话搭建 3D 空间
See changes right away改完马上看到
A 33B-parameter model takes minutes on one card330 亿参数模型,单卡要分钟级
Gapnil inference optimization a clip in about 5 sGapnil 推理优化 约 5 秒出片
A whole season in one click一键出整季
Multi-agent work uses about 15× the tokens多智能体 Token 消耗约 15×
Telos runtime session cost −92.3%Telos 运行时 会话成本 −92.3%
Affordable to shoot拍得起
Hosted APIs charge $0.05–0.52 a clip托管 API 一条 $0.05–0.52
EryFlow full stack ¥0.02–0.03 (estimate)EryFlow 全栈 ¥0.02–0.03(估算)

Horizon《视界》

Short film · 1 min 50 s · Made with AgentV短片 · 1 分 50 秒 · AgentV 制作
03 Build the world · Spatial realism03 造世界 · 空间真实感

Shots come from a camera in space,
not from a description
镜头不靠描述,
靠空间里的摄影机

Other tools write camera moves into the prompt and roll the dice. AgentV turns the scene into a 3D space first, where camera position, focal length and path are numbers you set.别的工具把运镜写进提示词,然后抽卡。AgentV 先把场景变成 3D 空间,机位、焦距、路径都是你定的数值。

Illustration: switching camera positions in a scene CAM · Front wideCAM · 正面全景 FOV 64°
Tele长焦Wide广角

This is an illustration on the web page that uses one still image to mimic changing the camera. The product has a real 3D space; see the recording below.这是网页上的示意交互,用一张静态画面模拟换机位。产品里是真正的 3D 空间,见下方录屏。

  • Build scenes by chatting对话搭场景Describe the space you want in plain language and adjust it as you talk.用自然语言描述想要的空间,边聊边改。
  • The set stays put陈设不会变When the camera moves, shelves, posters and furniture stay where they are.换机位时,货架、海报、家具都留在原位。
  • Block it out first白模先定Strip the color and look at shapes only. Settle the direction before rendering and rework less later.去掉颜色只看形体,方向定了再出图,后面少返工。
Real screen recording真实录屏

A scene is a space you can walk into,
not a single image
场景不是一张图,
是能走进去的空间

Place a camera in the space and see the viewfinder directly. When it looks right, the model renders from that camera position.在空间里放下摄影机,直接看到取景框;满意了,再让模型按这个机位出画面。

04 Stay on model · Spatial realism04 不跑偏 · 空间真实感

Set it once,
the same person all season
一次设定,
全剧是同一个人

Characters and scenes are set up once. Click to change the emotion: the face stays the same.角色和场景只设定一次。点一下换情绪:脸没有变。

The full asset pack of one character

One character, one full asset pack. Costume changes, close-ups and prop shots reuse it without redrawing.一个角色,一整套资产包。换装、特写、道具镜头直接调用,不用重新画。

Prompt to video提示词直出
AgentV
Camera运镜
Written into the prompt, left to luck写进提示词,靠运气
Place cameras and set focal length in the space在空间里摆机位、调焦距
Consistency一致性
Regenerated every time, drifts easily每次重新生成,容易跑偏
Scene and character assets shared across the series场景与角色资产全剧共用
Edits修改
Change one thing, re-roll the whole clip改一处,整条重新抽
Change one line, redo only the affected shots改一句台词,只重做受影响的镜头
Delivery交付
Separate clips you stitch yourself一段段素材,自己拼接
Automatic timeline, voice and music, a finished film自动排时间线,配音配乐,直接成片
05 Token platform · Price05 Token 平台 · 价格

The same engine,
open to your code
同一台引擎,
也开放给你的代码

You can use it without making films. Gapnil is a token platform built up from the operator level: one API for text, image, speech and video models. The self-improving operator optimization that makes AgentV fast turns into lower token prices here.不拍片也能用上它。Gapnil 是从算子做起的 Token 平台:一个接口调用文本、图像、语音和视频模型。让 AgentV 快起来的那套自演进算子优化,在这里变成更低的 Token 价格。

153Models available可调用模型
23Model vendors模型厂商
2.6% off折At most, against vendor list prices低至,对比厂商官方价
Popular models · output price / million tokens热门模型 · 输出价 / 百万 tokensLoading live prices…读取实时价格…
Gapnil priceGapnil 价Vendor list price厂商官方价All model prices →全部模型价格 →
Claude Code · switch to Gapnil with one commandClaude Code · 一行命令,切换到 Gapnil
$ eval "$(curl -fsSL 'https://zerogap.cn/switch/claude?model=glm-5.3')"

Paste into a terminal and press Enter, type your API key, then run claude. Works on macOS and Linux. The Codex command and the model list are on the website.粘贴到终端回车,输入 API Key 后运行 claude。适用于 macOS / Linux。Codex 的切换命令和可选模型见官网。

Token platformToken 平台Pay for what you use and top up any time. Tool calls, streaming and JSON mode work as usual. For developers and technical teams.按用量计费,随充随用。工具调用、流式和 JSON 模式照常使用。适合开发者和技术团队。
Enterprise contracts企业合同Commit to a volume for dedicated prices and quotas, and import the API into your own platform in one click. For high-volume companies and platforms.用承诺量换专属价格和额度,把 API 一键导入自己的平台。适合用量大的企业和平台。
On-premises and inference optimization私有化与推理优化Deploy in your environment, or have operators optimized for your model and hardware. For data-sensitive companies, compute centers and server vendors.部署到你的环境,或为你的模型和硬件做算子优化。适合数据敏感企业、算力中心、服务器厂商。

See model prices查看模型价格 Get an API key获取 API Key

Prices and model counts are read live from gapnil.com: domestic models visible to anonymous visitors, OpenAI-format API, converted to CNY at the site's rate. If loading fails, a snapshot from 22 November 2026 is shown. The website is authoritative.价格与模型数量从 gapnil.com 实时读取,匿名访客可见的国内模型、OpenAI 格式接口、按官网汇率折算人民币;读取失败时显示 2026 年 11 月 22 日的快照。以官网为准。

06 The math · Price06 算账 · 价格

A whole series:
what does the compute cost
拍一部剧,
算力要花多少

Drag the sliders to match your own series.拖一拖,换成你自己的剧。

AgentV compute cost (estimate)AgentV 算力成本(估算)
¥128–192
Same clip count at hosted-API entry prices同样条数,托管 API 起步价
¥2,304–23,962

Estimated at ¥0.02–0.03 per 5-second clip (8×RTX 5090, hardware amortized over 3 years, electricity at about ¥1/kWh, excluding staff and operations). Hosted APIs are counted at public entry prices of $0.05–0.52 a clip, at 7.2 CNY per USD. One such server costs about ¥150–200K in hardware and produces about 12,000 clips a day; it can go into the customer's server room, so source material and clips stay on the internal network. This covers compute only and is not a quote.按单条 5 秒视频 ¥0.02–0.03 估算(8×RTX 5090,硬件 3 年摊销,电价约 1 元/度,不含人力与运营)。托管 API 按公开起步价 $0.05–0.52 一条、汇率 7.2 折算。一台这样的服务器硬件投入约 15–20 万元,单机日产约 1.2 万条;整机可以搬进客户机房,素材与成片不出内网。只算算力,不是报价。

Affordable · No waiting · Real cameras拍得起 · 等得起 · 镜头是真的

You describe the world,
AgentV turns it into film
你描述世界,
AgentV 拍成电影

¥0.02–0.03 a clip, about 5 seconds to render, every shot taken inside a real 3D space. Make films with AgentV, write code with Gapnil.两三分钱一条,约 5 秒出片,每个镜头都拍在真实的 3D 空间里。拍片走 AgentV,写代码走 Gapnil。

Make films with AgentV用 AgentV 拍片 Use the Gapnil API用 Gapnil API

Get in touch联系我们

To try AgentV, reach us on WeChat, Feishu or email and we will set you up.想体验 AgentV,通过微信、飞书或邮件联系我们,我们来帮你开通。

WeChat微信WeChat contact QR codeScan with WeChat, or long-press the image inside WeChat微信扫一扫,或在微信里长按识别
Feishu飞书Feishu contact QR codeOpen in Feishu →在飞书中添加 →
Email邮箱georgewang2011@163.com