Blog

Kling 4.0 (2026): Release Date, Pricing and API Code

Unicorn API Team · · 10 min read

Kling 4.0 video generation illustrated as a film strip of keyframes coming out of a laptop, next to a release date calendar tile

Kling 4.0 is the current generation of Kling’s AI video model, and if you came here asking when it would come out, the answer is that it has already shipped. Below you will find the release timeline, what actually changed, how the four API versions differ, what a clip costs in credits, and complete code to generate your first video.

Some quick definitions before we start. Image-to-video means the model animates a still picture you supply. A keyframe is a frame you pin at a specific point in the clip (the first frame, the last frame, or one in between) so the model has to pass through it. Reference-to-video means you give the model images or video clips to borrow a character, object or style from, without forcing them into an exact frame. Most of the confusion about Kling 4.0 comes from not knowing which of these modes a given version supports.

When did Kling 4.0 come out?

The Kling 4.0 release date is not a single day, because Kling rolled it out in stages:

  1. September 28, 2026: Flash preview. Kling released a lighter preview build called Kling 4.0 Flash to its top-tier annual subscribers first. Most people could not use it yet.
  2. October 2026: full flagship model. The full Kling 4.0 model launched publicly the following month. Reviews and comparison pieces started appearing in the third week of October.
  3. October 23, 2026: full model on Unicorn API. The two full models, Kling 4.0 Keyframe To Video and Kling 4.0 Reference To Video, went live on the API.
  4. November 5 and 6, 2026: Flash on Unicorn API. Kling 4.0 Flash Reference to Video arrived on November 5, and Kling 4.0 Flash Keyframe To Video on November 6.

So if you see older pages asking “when is Kling 4.0 coming out”, they were written before September. As of mid-November 2026, every version is available, both in Kling’s own app and through APIs.

One practical note: the staged rollout explains why early reviews disagree. Some were written about the Flash preview, some about the full model. If a review describes Kling 4.0 as fast but limited to lower resolution, it was probably testing Flash.

What is new in Kling 4.0?

Launch coverage focused on three themes: longer native clips (up to 30 seconds were reported), more keyframes per clip, and a stronger reference system for keeping a character or product consistent across a shot. The release also introduced the Flash tier as a cheaper, lighter option alongside the flagship.

The most useful change for developers is structural. Instead of one model that tries to do everything, Kling 4.0 is split by job:

  • Keyframe to video is for when you know exactly what certain frames must look like. You pass a first frame, a last frame, and on the full model extra keyframes in between, and the model fills the motion.
  • Reference to video is for when you want the model to reuse a look rather than hit exact frames. You pass reference images, reference videos, or both, and describe the scene in the prompt.

On Unicorn API, the input fields make the split concrete. The full Keyframe model accepts prompt, duration, resolution, aspect_ratio, first_frame_url, last_frame_url and keyframe_urls. The Reference model accepts prompt, duration, resolution, aspect_ratio, image_urls, video_urls, elements, voices and keep_original_sound. The exact meaning and allowed values of each field are listed in the API documentation.

Compared with Kling 3.0, which bundled everything into one “Omni” model, this means you choose your control style up front. That is a small amount of extra thinking that pays off in predictability: a keyframe request will not wander away from your end frame, and a reference request will not try to copy your reference image pixel for pixel.

Timeline showing the Kling 4.0 Flash preview in September, the full model in October and Flash API access in November 2026
Kling 4.0 shipped in stages: a Flash preview first, then the full model, then Flash versions on the API.

The four Kling 4.0 models on Unicorn API

Kling 4.0 is available as four model ids. Two control styles (keyframe and reference) times two tiers (full and Flash):

ModelModel idFrame and reference inputsResolutions priced
Kling 4.0 Keyframe To Videokling-4.0-keyframe-to-videofirst frame, last frame, extra keyframes720p, 1080p
Kling 4.0 Reference To Videokling-4.0-reference-to-videoreference images, reference videos, elements, voices720p, 1080p
Kling 4.0 Flash Keyframe To Videokling-4.0-flash-keyframe-to-videofirst frame only720p
Kling 4.0 Flash Reference to Videokling-4.0-flash-reference-to-videoreference images, reference videos, elements720p

Full vs Flash

The Flash versions trade control and resolution for price. Flash Keyframe takes only a first_frame_url, so you cannot pin an end frame or middle keyframes. Flash Reference drops the voices field. Both are priced at 720p. In return, they cost noticeably less per second, which matters a lot once you are generating dozens of drafts.

A good working pattern: draft with Flash until the prompt and composition are right, then render the final shot on the full model at 1080p.

Keyframe vs Reference

Pick keyframe when the shot has to start or end on a specific image: a product hero frame, a storyboard panel, or a transition that must match the next clip in your edit. Pick reference when you care about identity more than exact composition: keep this mascot, this outfit, this camera style, but let the model frame the scene.

Every Kling 4.0 request also works with just a prompt. The minimal request body for each model is {"model": "...", "input": {"prompt": "..."}}, so you can start with text alone and add frames once you know what you want.

How much does Kling 4.0 cost?

All four Kling 4.0 models are billed per second of output: the per-second rate is multiplied by the duration you request and rounded up to whole credits. On a monthly plan a credit costs $0.01 (Starter $25, Creator $50, Studio $100, Pro $200 per month). Top-up credits cost $0.015 each and never expire. Full plan details are on the pricing page.

ModelConditionCredits per second
Kling 4.0 Keyframe To Video720p28.5
1080p42.5
Kling 4.0 Reference To Video720p, no reference videos28.5
1080p, no reference videos42.5
720p, with video_urls17
1080p, with video_urls25.5
Kling 4.0 Flash Keyframe To Video720p17
Kling 4.0 Flash Reference to Video720p, no reference videos17
720p, with video_urls11.3

Notice the quirk in the Reference models: passing reference videos makes the request cheaper per second, not more expensive. If you have a usable reference clip, include it.

Worked examples

  • 5-second 720p keyframe clip: 28.5 x 5 = 142.5, rounded up to 143 credits. That is $1.43 on a plan or about $2.15 with top-up credits.
  • 10-second 1080p keyframe clip: 42.5 x 10 = 425 credits, or $4.25 on a plan.
  • 10-second 1080p reference clip with a reference video: 25.5 x 10 = 255 credits, or $2.55.
  • 10-second Flash keyframe draft: 17 x 10 = 170 credits, or $1.70.
  • 10-second Flash reference draft with a reference video: 11.3 x 10 = 113 credits, or $1.13.

Put another way, the 2,500 credits in the Starter plan cover about 5 ten-second 1080p keyframe clips, or 14 ten-second Flash keyframe drafts. That gap is why drafting on Flash first is worth the habit.

Because rounding happens per request, very short clips can carry a fraction of a credit in rounding. It is never more than one credit per request, so it only matters at large volume. You can always get the exact price of a request before you run it with POST /v1/models/price; the request format is in the docs.

Grid comparing the four Kling 4.0 models: Keyframe and Reference, each in full and Flash versions, with per-second credit prices
The four Kling 4.0 models on Unicorn API and their starting per-second prices.

How to call Kling 4.0 from code

Video generation takes longer than a normal HTTP request, so the API works as a job queue. You create a job with POST /v1/jobs, then poll GET /v1/jobs/{id} until its status is succeeded, then download the file from outputs[0].url. You need an API key first: create one here and export it as UNICORN_API_KEY.

Quick test with curl

curl -X POST https://api.unicornapi.net/v1/jobs \
  -H "Authorization: Bearer $UNICORN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling-4.0-flash-keyframe-to-video",
    "input": {
      "prompt": "A slow drone shot over a rocky coastline at sunset, waves breaking"
    }
  }'

# Then check the job using the id returned above
curl https://api.unicornapi.net/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $UNICORN_API_KEY"

Full example in Python

This script renders a 5-second 720p clip with the full Kling 4.0 Keyframe model, pinning both the first and last frame, then waits for the result and saves the MP4.

import os
import time
import requests

API = "https://api.unicornapi.net"
HEADERS = {
    "Authorization": f"Bearer {os.environ['UNICORN_API_KEY']}",
    "Content-Type": "application/json",
}

body = {
    "model": "kling-4.0-keyframe-to-video",
    "input": {
        "prompt": (
            "The camera pushes in slowly as the coffee cup rotates on the table, "
            "steam rising, warm morning light"
        ),
        "first_frame_url": "https://example.com/cup-start.png",
        "last_frame_url": "https://example.com/cup-end.png",
        "duration": 5,
        "resolution": "720p",
        "aspect_ratio": "16:9",
    },
}

# 1. Create the job
resp = requests.post(f"{API}/v1/jobs", headers=HEADERS, json=body, timeout=30)
resp.raise_for_status()
job = resp.json()
job_id = job["id"]
print("Job created:", job_id)

# 2. Poll until it finishes
deadline = time.time() + 15 * 60  # give up after 15 minutes
while True:
    job = requests.get(f"{API}/v1/jobs/{job_id}", headers=HEADERS, timeout=30).json()
    status = job["status"]
    if status == "succeeded":
        break
    if status == "failed":
        raise RuntimeError(f"Job failed: {job}")
    if time.time() > deadline:
        raise TimeoutError(f"Job {job_id} still {status} after 15 minutes")
    time.sleep(5)

# 3. Download the video
video_url = job["outputs"][0]["url"]
with open("kling4-clip.mp4", "wb") as f:
    f.write(requests.get(video_url, timeout=120).content)
print("Saved kling4-clip.mp4 from", video_url)

That clip costs 143 credits. To switch to a Flash draft, change the model to kling-4.0-flash-keyframe-to-video and remove last_frame_url, since Flash Keyframe takes only a first frame. Check each model’s page for the allowed duration and aspect_ratio values before you hard-code them.

A reference-to-video request

For a character or product that must stay consistent, swap in the Reference model and pass your references:

body = {
    "model": "kling-4.0-reference-to-video",
    "input": {
        "prompt": "The mascot waves at the camera, then walks out of frame to the left",
        "image_urls": ["https://example.com/mascot-front.png"],
        "video_urls": ["https://example.com/mascot-walk-cycle.mp4"],
        "duration": 5,
        "resolution": "1080p",
    },
}

Because video_urls is present, this 1080p request is billed at 25.5 credits per second instead of 42.5, so the 5-second clip comes to 128 credits. If you prefer to test prompts by hand before writing code, every Kling 4.0 model is also in the browser playground, and you can call the API from Cursor or Claude Code through the MCP integration.

Kling 4.0 vs Kling 3.0 Omni and other video models

Kling 4.0 is not automatically the right choice for every shot. Here is how it compares with other video models on the same API key, using only Unicorn API pricing:

ModelBilling10-second 720p clipNotable features
Kling 4.0 Keyframe28.5 or 42.5 credits/s285 creditsFirst, last and extra keyframes; 1080p
Kling 4.0 Flash Keyframe17 credits/s170 creditsFirst frame only; 720p
Kling 3.0 Omni70 credits per clip70 creditsStart and end frames, characters, native audio, storyboards, up to 4K, 3 to 15 seconds
Wan 3.0Per clip, by length and resolution160 creditsText or image to video, up to 30 seconds, native synced audio included
Grok Imagine Video 1.5Per clip, by length and resolution45 creditsImage to video only, 1 to 15 seconds; can be busy at peak times

The surprising row is Kling 3.0 Omni. It is priced at a flat 70 credits per clip on Unicorn API, so for anything longer than about two seconds it costs less than any Kling 4.0 version, and it includes native audio and 4K output. Kling 4.0 earns its higher price when you need its newer keyframe and reference control, or when Kling 3.0 Omni’s results drift from your frames.

For bulk animation of still images where control matters less, Grok Imagine Video 1.5 is far cheaper per clip, and the older Grok Imagine Video 1.0 handles text-to-video up to 30 seconds at the same per-second rate. Wan 3.0 is the pick when you want synced audio without a separate step. Since they all share one key and one bill, the sensible approach is to route each shot to the model that suits it rather than standardizing on one. The full list is in the model catalog.

Common mistakes with Kling 4.0

Using the full model for every draft

At 28.5 to 42.5 credits per second, iterating on prompts with the full model burns credits fast. Draft on Flash, lock the prompt, then render the final with the full model.

Sending a last frame to Flash Keyframe

Flash Keyframe accepts only first_frame_url. If your shot depends on landing on a specific end frame, use the full Keyframe model.

Skipping reference videos to “save money”

On both Reference models, including video_urls lowers the per-second price. At 1080p it drops from 42.5 to 25.5 credits per second. If you have a decent reference clip, add it.

Mismatched aspect ratios

If your first frame is portrait and you request a 16:9 clip, the model has to crop or invent content at the edges. Match aspect_ratio to your keyframes, and keep first and last frames the same size.

Prompts that fight the keyframes

With keyframe models, the frames define where the shot starts and ends. The prompt should describe the motion between them (camera move, action, pacing), not restate what is already in the images or contradict them. “The camera pushes in as the cup rotates” works better than a full description of the cup.

Polling without a timeout

Video jobs take a while, and a loop that polls forever will hang your worker if something goes wrong. Poll every few seconds, stop on failed, and set an overall deadline, as in the Python example above.

Guessing the price

Per-second billing plus rounding plus conditional rates makes mental math error-prone. Call the price endpoint before large batches so your budget matches what you will actually be charged.

Kling 4.0 is out, it is split into clear keyframe and reference modes, and the Flash tier makes iteration affordable. If you want to try it now, grab a key, run the curl example above, and you will have your first clip in a few minutes.

Frequently asked questions

When was Kling 4.0 released?

Kling 4.0 arrived in two stages. A lighter preview, Kling 4.0 Flash, went to Kling's top-tier annual subscribers on September 28, 2026. The full flagship model launched in October 2026. On Unicorn API, the full Keyframe and Reference models have been available since October 23, 2026, and the Flash versions were added on November 5 and 6, 2026.

What is the difference between Kling 4.0 and Kling 4.0 Flash?

Flash is the lighter, cheaper version of the model. On Unicorn API, Flash Keyframe To Video costs 17 credits per second at 720p, against 28.5 for the full Keyframe model, and it accepts only a first frame rather than first, last and extra keyframes. Use Flash for drafts and high-volume work, and the full model for final shots, 1080p output or tighter frame control.

How much does Kling 4.0 cost per video?

Kling 4.0 is billed per second of output. On Unicorn API, a 5-second 720p clip from Kling 4.0 Keyframe To Video costs 143 credits (28.5 x 5, rounded up), about $1.43 on a monthly plan. A 10-second 1080p clip costs 425 credits. Flash versions start at 11.3 credits per second when you pass reference videos. You can check the exact price before running any request.

Is Kling 4.0 better than Kling 3.0?

Kling 4.0 gives you finer control: dedicated keyframe and reference models, a Flash tier, and per-second billing. Kling 3.0 Omni is still a strong choice and bundles native audio, start and end frames, storyboards and up to 4K for a flat 70 credits per clip on Unicorn API. For clips longer than a few seconds, Kling 3.0 Omni is often cheaper, so the right pick depends on the shot.

Can I use Kling 4.0 through an API?

Yes. On Unicorn API you send a POST request to /v1/jobs with a model id such as kling-4.0-keyframe-to-video and an input object containing your prompt and frames. Then you poll GET /v1/jobs/{id} until the status is succeeded and download the video from outputs[0].url. One API key covers all four Kling 4.0 models plus every other video model in the catalog.