What you get
Hy4 Flash is free in OpenCode for a limited time. No top-up, no API key of your own: you pick Hy4 flash Free in the model list and start. OpenCode is an open-source AI coding assistant, and your AI agent can handle both the install and the model choice for you.
This guide has two copy-ready prompts and a chart of the jobs this model suits. Your part comes down to three things: approve the install, answer the agent's multiple-choice questions, and say whether the test result is good enough.

First: what Hy4 Flash is and why it's free
Hy4 Flash is a model that Tencent's Hunyuan team open-sourced on November 17. Its weights are on Hugging Face, so anyone can download them. It has 220 billion parameters in total, but for each word it generates, it uses only about 12 billion of them. That makes it cheap to run and quick to produce output. It can read text and images, and it can take up to 1 million tokens at once, roughly the length of several long novels.
OpenCode added it to its list of free models for a limited time. The official docs say only two things: it is free for a limited time, and the provider does not keep your data or use it to train models. The docs don't say when the free period ends, or how many times you can use it each day.
Tencent ran a blind test with its own employees. The results are below. These are numbers Tencent published. We did not repeat the test ourselves:

The image comes from the official Hy4 Flash repository. You only need three columns:
- Satisfaction: 2.79 out of 4, close to Claude Haiku 5.5's 2.81.
- Speed: from start to finish, the median task took 6.7 minutes, the fastest of the four models.
- Cost: about RMB 0.26 per task. Claude Haiku 5.5 costs RMB 4.73.
Step 1: Pick a task for it
Tencent's official advice is to use Hy4 Flash for everyday office work, and to switch to the stronger Hy4 model for long, complex coding tasks.

Pick one small, real task from your own work to try later. For example: "Turn this meeting transcript into key points," "Look up recent price changes for a product," or "Turn this article into a 5-slide deck." Don't test it with private material yet. A free model is best for practice.
Step 2: Have your AI agent install OpenCode and select the free version
Give the prompt below to your AI agent. It will ask first whether you agree to the install, explain each step in plain words, and give you choices whenever you need to decide something.
Sign in to unlock this key section
New accounts get 10 free credits, plus 1 more each day you sign in (none on days you don't). Spend 1 credit to unlock and it stays open for you.
Point 3 is there because some agents quietly switch to another model once a free one goes offline, and you end up paying without noticing.
Step 3: Test it on a real task
Once it is installed, test it with the task you picked in Step 1. This prompt is public, so you can use it as is:
Use the Hy4 flash Free model in OpenCode to do this task for me: [describe the task, and attach any files or URLs]
Before you start, tell me in one or two sentences how you plan to do it. When you are done, give me the result, and tell me which parts you are not sure about so I can check them.
When you check the result, ask yourself two things: Is the content right? Is the format what you wanted? If you are not happy, say exactly what to change, and it will keep working on it. Check important facts, such as numbers and dates, yourself. Any model can get them wrong.
FAQ
Does Hy4 Flash need an API key?
In OpenCode, the free version doesn't need an API key of your own. Pick it in the model list and it works. The OpenCode docs state that free models can only be used inside OpenCode. To call them from other software, you need the paid version.
Can I use the free version in Cursor or Claude Code?
No. The free version is only offered in OpenCode. To use Hy4 Flash in other tools, you can go through a paid platform such as OpenRouter. The price is about $0.035 per 1 million input tokens and about $0.14 per 1 million output tokens, so everyday use is very cheap.
What is the context length? Can it read images?
The official limit is 1 million tokens. It reads text and images, and its output is text. You can give it very long material in one go, but the longer the input, the slower it gets.
Can I run Hy4 Flash on my own computer?
For most normal computers, no. The smallest compressed version the official project offers needs over 130 GB of disk space and about the same amount of memory. The official deployment example uses 8 graphics cards. If you want to run it offline, ask your AI agent whether your machine is powerful enough.
What happens when the free period ends?
OpenCode will remove it from the free list. The docs already record other free models that were taken down. When that happens, you can switch to another free model in OpenCode, or keep using Hy4 Flash on OpenRouter on a pay-as-you-go basis.
Watch out for
- The free offer is for a limited time, and no end date has been announced. For any workflow you plan to run long term, don't rely on this one model alone.
- The blind test and cost numbers come from Tencent's own tests. Try the model on your own tasks before you decide.
- For complex coding tasks that run for a long time, the official advice is to switch to Hy4. Don't expect Flash to finish a big project in one go.
- If you want to learn more about OpenCode, read OpenCode's /goal keeps your AI agent working toward a target.


Comments (0)
No comments yet. Start the conversation.