Sulat.com / Writing on AIThursday, November 26, 2026
Agent Engineering/26 November 2026

OpenCode’s agent can now generate video, and its Console lists three models to do it

OpenCode 2.4.0 added a generate_video tool that renders in the background and wakes the agent with the files. Its Console lists three video models, from US$0.02 a second, but its docs list none.

The OpenCode logo as a glossy 3D object between a curved film strip and a clapperboard

At a glance

  • OpenCode 2.4.0, released on 23 November 2026, added a generate_video tool that runs as a background job, saves the finished files into the workspace and wakes the agent with their paths.
  • The tool is on by default since pull request 65664, asks for permission before every generation, and can be hidden from the agent by setting experimental.video_generate to false.
  • OpenCode's Console model list shows three video models: Gemini Omni 1.2 Flash and two Grok Imagine Video 1.5 variants, with the cheapest listed at US$0.02 a second at its base rate.
  • By my arithmetic a 10-second clip costs US$0.20 to US$2.50 on the two Grok models, depending on the model and resolution, and the Gemini Omni price is listed without a unit.
  • The Console's public docs list image models but no video models, so the model list endpoint is currently the only place that shows them.

OpenCode’s coding agent can now make video. Version 2.4.0, released on 23 November 2026, added a generate_video tool that starts a render as a background job, saves the finished files into your workspace and wakes the agent with their paths. OpenCode’s account followed up on X on 25 November US time (26 November in New Zealand) to say video generation is available through its Console, and the Console’s model list does show video models with prices. Its documentation doesn’t mention them yet.

OpenCode’s post on video generation, made on 25 November 2026 US time.

What shipped

The tool is a background job. The agent asks for a clip, carries on with other work, and is woken when the render finishes. The v2.4.0 changelog says the job survives a server restart and that the files are written into the workspace. The default model comes from the experimental.video_generate.model setting.

Hand-drawn four-step flow: ask for a clip, render runs in the background, files land in your project, the agent wakes with the paths
The agent doesn’t wait on the render. It is woken with the file paths when the clip is done.

Two details from the pull request history matter for anyone upgrading. Video generation has been on by default since pull request 65664, and it asks for permission before every generation. Setting experimental.video_generate to false hides the tool from the agent. It doesn’t remove the capability from the SDK. This is the switch:

Code
{ "experimental": { "video_generate": false } }

Finished files don’t last forever on the provider side. Blobs expire after a week, and jobs started through the SDK stay readable for 24 hours. Copy a clip you want to keep out of the job store.

Which models, and what a clip costs

OpenCode’s Console serves a public model list at /inference/v1/models. On 26 November it carried three models of type video. Prices below are the Console’s own listed figures. The 10-second columns are my arithmetic, which is price per second multiplied by ten.

ModelBase rate720p1080p
Grok Imagine Video 1.5 LiteUS$0.02 a second (US$0.20 for 10 seconds)US$0.03 a second (US$0.30)US$0.14 a second (US$1.40)
Grok Imagine Video 1.5US$0.08 a second (US$0.80)US$0.14 a second (US$1.40)US$0.25 a second (US$2.50)
Gemini Omni 1.2 FlashListed at 12 for video output, with no unit given, so I haven’t turned it into a clip price
Console list prices for video models on 26 November 2026. The 10-second figures are Sulat’s arithmetic.
Hand-drawn bar chart: a 10-second clip costs $0.20 to $2.50 depending on model and resolution
A 10-second clip runs from US$0.20 to US$2.50 on the two Grok models, and resolution moves the price most.
Hand-drawn key figure of US$0.02 a second at the base rate, with a film strip and stopwatch
The cheapest listed rate is US$0.02 a second, and the price climbs with resolution.

Three things to note in that table. The Console list doesn’t say which resolution the base rate covers. Both Grok models also charge US$0.01 for each input image, which matters for image-to-video work. And I haven’t checked xAI’s own price list against OpenCode’s figures, so treat them as what OpenCode charges through the Console, not as a comparison with going direct.

The Gemini model’s description in the list says it makes clips of up to 15 seconds with native audio, and supports extension, frame interpolation and reference-guided control. OpenCode reaches it through Google’s Interactions API.

Other ways to reach a video model

The Console isn’t the only route. The changelog and repository show provider paths for xAI’s Grok Imagine, Gemini Omni, OpenRouter, Seedance and MiniMax, with a Kling path in an open pull request. OpenRouter is the widest, because its catalogue includes 32 video models. If you already route OpenCode through OpenRouter, you can pick from that list without opening a Console account. The price cut piece covers what the Console charges for text models.

How peers reach video

OpenCode is unusual in shipping video as a built-in agent tool. Among the coding tools I looked at, the others either stop at images or leave video to an add-on.

Hand-drawn table: OpenCode has a built-in tool, Amp is images only, Gemini API CLI has a command, others use MCP add-ons
OpenCode builds video into the agent. Most peers need a separate command or an MCP server.
  • Amp has a Painter tool, and it generates images only.
  • Google’s Gemini API CLI has a video command that you run yourself, rather than a tool the agent calls.
  • MCP servers from fal, Runway, HeyGen and Higgsfield add video to any agent that can use MCP, including OpenCode. You connect and permission each server yourself.

I haven’t run any of these side by side, so this compares where video sits in each tool, not the quality of the clips.

What came before

Requests for video sat in OpenCode’s repository for a long time as issue 34463, and community plugins filled the gap. The built-in tool arrived in v2.4.0, the same release that added automations. That release followed the shared background service from the OpenCode 2.0 explainer, which is what lets a render keep going between sessions.

Before you use it

Every clip costs money. The tool asks for permission each time, which is your cost control. Approving a loop of 1080p clips on the larger Grok model is US$2.50 for each 10 seconds, on the Console’s listed prices.

The routes are experimental. The setting names carry the word experimental, so expect them to move.

Copy what you want to keep. Blobs expire after a week, and SDK jobs are readable for only 24 hours.

Hand-drawn comparison: the model list shows 3 video models, the docs page shows 0
The Console’s model list shows three video models. Its docs page shows none.

The docs lag the product. There’s no documentation page for the video tool that I could find, and the Console’s docs list image models but no video models. I haven’t run the tool myself, so everything here comes from the changelog, the repository and the Console’s public model list. Until the docs catch up, the model list endpoint is the place to check what you can call and what it costs.


Discover more from Sulat AI & Tech News

Subscribe to get the latest posts sent to your email.