Kling 4.0
kling/kling-4.0Original model Kling 4.0 and Kling 4.0 Flash video generation and editing variants across documented serving routes.
Kling 4.0 API pricing summary
As of 2026-11-27, Kling 4.0 API pricing starts at $0.094 / sec ($94.00 per 1,000 sec, Kling 4.0 Flash at 720p) via Kling AI, fal, and Runway, across 5 serving providers and 8 regional routes (2 exact variants). Listed serving providers include Kling AI, fal, Runway, Pika, and Replicate; each exact variant and regional deployment keeps its own published rate and billing source below. Disclosed endpoint regions include SG (other listed routes have undisclosed endpoints); endpoint location does not establish data residency, and unknown tariffs remain omitted rather than zero.
| Provider | Unit Price | Cost per 1,000 sec | Region |
|---|---|---|---|
Kling AIOfficialKling 4.0 Flash · 720p | $0.094 / sec | $94.00 | SG |
falKling 4.0 Flash · 720p | $0.094 / sec | $94.00 | Undisclosed |
RunwayKling 4.0 Flash · 720p | $0.094 / sec | $94.00 | Undisclosed |
PikaKling 4.0 · 720p | $0.157 / sec | $157.00 | Undisclosed |
ReplicateKling 4.0 · 720p | $0.157 / sec | $157.00 | Undisclosed |
Providers & variants
Every variant, regional deployment and feature-specific route is listed separately. Choose an exact variant when generating; provider routing never substitutes another variant.
Kling 4.0
kling/kling-4.0Video generation and editing with separately qualified serving routes.
API inputs & limitstext-to-video, image-to-video, reference-to-video, video-edit · 720p / 1080p / 4K · 3–30s
- Operations
- text-to-video, image-to-video, reference-to-video, video-edit
- Resolutions
- 720p, 1080p, 4K
- Aspect ratios (8)
- auto, source, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
- Duration
- 3–30s
- Audio
- Always on
- Prompt limit
- Up to 26,000 characters
- Arguments
prompt, duration, resolution, aspectRatio, audio, count, shots, firstFrame, lastFrame, references, keyframes, elements, sourceVideo- JSON Schema
- Inspect model schema ↗
Every regional deployment is its own route.
| Provider / feature route | Published price | Try route |
|---|---|---|
Endpoint: SG Verified on 2026-11-27 for text to video at 720p and 3s. Inference scope (where processing may occur) is not disclosed.Text to videoImage to videoReference to videoVideo editing kling-ap-southeast-1/kling-kling-4.0 | 720p$0.157/ secBalance USD without video input: $0.157 / second at 720p; $0.235 at 1080p; $0.549 at 4K (1.0 / 1.5 / 3.5 Units/s).
Checked 2026-11-26 Price source ↗1080p$0.235/ secBalance USD without video input: $0.157 / second at 720p; $0.235 at 1080p; $0.549 at 4K (1.0 / 1.5 / 3.5 Units/s).
Checked 2026-11-26 Price source ↗4K$0.549/ secBalance USD without video input: $0.157 / second at 720p; $0.235 at 1080p; $0.549 at 4K (1.0 / 1.5 / 3.5 Units/s).
Checked 2026-11-26 Price source ↗ | |
RunwayVerified Verified on 2026-11-19 for text to video at 720p and 3s. API endpoint region and inference scope are not disclosed.Text to videoImage to videoVideo editing runway-undisclosed/kling-kling-4.0 | 720p$0.157/ secStandard: $0.157 / second at 720p; $0.235 at 1080p (promo through Nov 30, 2026 UTC: $0.1256 / $0.188).
Checked 2026-11-02 Price source ↗1080p$0.235/ secStandard: $0.157 / second at 720p; $0.235 at 1080p (promo through Nov 30, 2026 UTC: $0.1256 / $0.188).
Checked 2026-11-02 Price source ↗ | |
Documented by the provider. API endpoint region and inference scope are not disclosed. Text to videoImage to videoReference to videoVideo editing fal-undisclosed/kling-kling-4.0 | 720p$0.157/ secOutput video without video input: $0.157 / second at 720p; $0.235 at 1080p. With video input: $0.094 / second at 720p; $0.141 at 1080p across active input and output seconds.
Checked 2026-11-14 Price source ↗1080p$0.235/ secOutput video without video input: $0.157 / second at 720p; $0.235 at 1080p. With video input: $0.094 / second at 720p; $0.141 at 1080p across active input and output seconds.
Checked 2026-11-14 Price source ↗ | |
Documented by the provider. API endpoint region and inference scope are not disclosed. Text to videoImage to videoReference to video pika-undisclosed/kling-kling-4.0 | 720p$0.157/ secWithout video input: $0.157 / second at 720p; $0.235 at 1080p (omni video input: $0.094 / $0.141). Published tariff · exact request cost unqualified
Checked 2026-11-14 Price source ↗1080p$0.235/ secWithout video input: $0.157 / second at 720p; $0.235 at 1080p (omni video input: $0.094 / $0.141). Published tariff · exact request cost unqualified
Checked 2026-11-14 Price source ↗ | |
Documented by the provider. API endpoint region and inference scope are not disclosed. Text to videoImage to videoReference to video replicate-undisclosed/kling-kling-4.0 | 720p$0.157/ secWithout video input: $0.157 / second at 720p; $0.235 at 1080p (with video input: $0.094 / $0.141). Published tariff · exact request cost unqualified
Checked 2026-11-14 Price source ↗1080p$0.235/ secWithout video input: $0.157 / second at 720p; $0.235 at 1080p (with video input: $0.094 / $0.141). Published tariff · exact request cost unqualified
Checked 2026-11-14 Price source ↗ |
An endpoint region is not a residency guarantee. Global inference may process requests elsewhere. Success rate measures generation outcomes, not provider uptime.
Kling 4.0 Flash
kling/kling-4.0-flash720p fast sibling in the Kling 4.0 family with native synchronized audio.
API inputs & limitstext-to-video, image-to-video, reference-to-video, video-edit · 720p · 3–20s
- Operations
- text-to-video, image-to-video, reference-to-video, video-edit
- Resolutions
- 720p
- Aspect ratios (6)
- auto, source, 21:9, 16:9, 1:1, 9:16
- Duration
- 3–20s
- Audio
- Always on
- Prompt limit
- Up to 26,000 characters
- Arguments
prompt, duration, resolution, aspectRatio, audio, count, firstFrame, lastFrame, references, elements, sourceVideo- JSON Schema
- Inspect model schema ↗
Every regional deployment is its own route.
| Provider / feature route | Published price | Try route |
|---|---|---|
Endpoint: SG Verified on 2026-11-27 for text to video at 720p and 3s. Inference scope (where processing may occur) is not disclosed.Text to videoImage to videoReference to videoVideo editing kling-ap-southeast-1/kling-kling-4.0-flash | 720p$0.094/ secBalance USD without video input: $0.094 / second at 720p (0.6 Units/s).
Checked 2026-11-26 Price source ↗ | |
Documented by the provider. API endpoint region and inference scope are not disclosed. Text to videoImage to videoVideo editing runway-undisclosed/kling-kling-4.0-flash | 720p$0.094/ secWithout input video: 9.4 credits ($0.094) / second at 720p, rounded up to the next whole credit with a 29-credit ($0.29) minimum. Published tariff · exact request cost unqualified
Checked 2026-11-14 Price source ↗ | |
Documented by the provider. API endpoint region and inference scope are not disclosed. Text to videoImage to videoReference to videoVideo editing fal-undisclosed/kling-kling-4.0-flash | 720p$0.094/ secOutput video without video input: $0.094 / second at 720p. With video input: $0.063 / second billed on output duration plus max(input video duration, output duration).
Checked 2026-11-14 Price source ↗ |
An endpoint region is not a residency guarantee. Global inference may process requests elsewhere. Success rate measures generation outcomes, not provider uptime.
Endpoint region does not establish inference residency. Success rate describes generation outcomes, not uptime. Measurements reflect this installation’s observed jobs across settings. A dash beside a supported resolution indicates unavailable unit pricing.
Connect to Kling 4.0
Paste the agent prompt below into your coding agent or follow the canonical OpenGen HTTP, MCP, and CLI workflow for kling/kling-4.0. Every endpoint, tool call, and safety rule matches the Text to video guide, Quickstart, and MCP & CLI reference.
Connect to OpenGen (https://opengen.dev/llms.txt) to inspect exact variant "kling/kling-4.0" (text-to-video) (series kling/kling-4.0; model docs: https://opengen.dev/kling/kling-4.0.md, guide: https://opengen.dev/docs/guides/text-to-video.md):
1. Inspect schema, regional routes, privacy disclosures, and single-source published pricing with zero auth via GET https://opengen.dev/v1/models/kling/kling-4.0?operation=text-to-video or MCP get_model({ id: "kling/kling-4.0", operation: "text-to-video" }) on https://opengen.dev/mcp/readonly.
2. Treat series-page Pricing at a Glance starting rates as catalog list rates (not an executable quote for specific resolutions, durations, audio tiers, or regions); run a stateless dry-run estimate via POST https://opengen.dev/v1/pricing/estimate or MCP estimate_cost using the exact canonical payload, and never assume unknown prices are $0.
3. Present the exact modelId ("kling/kling-4.0"), selected regional routeId, published unit pricing, and maxCostMicros budget ceiling and wait for explicit user approval before spending.
4. Persist a unique Idempotency-Key before submitting POST https://opengen.dev/v1/generations (or MCP generate on https://opengen.dev/mcp). Never blind-retry on timeout—recover via GET https://opengen.dev/v1/generations/lookup?idempotencyKey=... or MCP job_get({ idempotencyKey }), poll until terminal, and return the job ID, private output links, and expiresAt. Client setup: https://opengen.dev/docs/mcp.md and https://opengen.dev/docs/clients.md.- 01
Inspect exact model schema, routes & pricing
Fetch effective text-to-video arguments, 5 regional routes, supplier privacy disclosures, and single-source pricing in one unauthenticated call.
Models & Catalog →GET /v1/models/kling/kling-4.0?operation=text-to-videoMCP: get_model - 02
Estimate cost without spending
Series-page Pricing at a Glance starting rates are catalog list rates only; validate your exact canonical payload and review selectedRouteId, published unit pricing, and recommendedMaxCostMicros before asking for approval.
Pricing & Analytics →POST /v1/pricing/estimateMCP: estimate_cost - 03
Submit once with a persisted Idempotency-Key
Authenticate with an OpenGen workspace key (read + generate scopes) or OAuth MCP token and persist your Idempotency-Key before calling /v1/generations.
Text to video guide →POST /v1/generationsMCP: generate - 04
Poll, stream, or receive webhook & download privately
Long-poll /status until terminal and private deliveryStatus is no longer pending, recover read-only via /v1/generations/lookup on timeout, and download outputs via short-lived first-party signed URLs.
Generations Lifecycle →GET /v1/generations/{id}/statusMCP: job_get
Copy-paste examples (kling/kling-4.0 · text-to-video)
Inspect live JSON Schema ↗Template only: check POST /v1/pricing/estimate to set an explicit maxCostMicros cap, and persist a unique Idempotency-Key before submitting.
export OPENGEN_API_URL="${OPENGEN_API_URL:-https://opengen.dev}"
# 1. Inspect exact schema, regional routes, privacy disclosures, and published pricing (zero auth)
curl --fail-with-body "${OPENGEN_API_URL}/v1/models/kling/kling-4.0?operation=text-to-video"
# 2. Save the canonical text-to-video payload and run a dry-run cost estimate
cat <<'JSON' > request.json
{
"modelId": "kling/kling-4.0",
"operation": "text-to-video",
"input": {
"resolution": "720p",
"duration": 5,
"aspectRatio": "16:9",
"prompt": "Describe the desired result."
},
"billing": "managed"
}
JSON
curl --fail-with-body -X POST "${OPENGEN_API_URL}/v1/pricing/estimate" \
-H "Content-Type: application/json" \
--data-binary @request.json
# 3. After reviewing route & budget, generate and persist a fresh unique Idempotency-Key for this request and submit once
export OPENGEN_IDEMPOTENCY_KEY="req-$(uuidgen | tr '[:upper:]' '[:lower:]')"
curl --fail-with-body -X POST "${OPENGEN_API_URL}/v1/generations" \
-H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}" \
-H "Idempotency-Key: ${OPENGEN_IDEMPOTENCY_KEY}" \
-H "Content-Type: application/json" \
--data-binary @request.json > submission.json
# 4. Long-poll /status with afterRevision until terminal and private delivery is ready, then fetch signed outputs
OPENGEN_JOB_ID="$(jq -r '.id' submission.json)"
STATUS="$(jq -r '.status' submission.json)"
DELIVERY="$(jq -r '.deliveryStatus // ""' submission.json)"
REVISION="$(jq -r '.revision // ""' submission.json)"
while [ "$STATUS" = "queued" ] || [ "$STATUS" = "submitting" ] || [ "$STATUS" = "running" ] || { [ "$STATUS" = "succeeded" ] && [ "$DELIVERY" = "pending" ]; }; do
QS="waitMs=25000"
[ -n "$REVISION" ] && QS="${QS}&afterRevision=${REVISION}"
curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/${OPENGEN_JOB_ID}/status?${QS}" \
-H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}" > status.json
STATUS="$(jq -r '.job.status' status.json)"
DELIVERY="$(jq -r '.job.deliveryStatus // ""' status.json)"
REVISION="$(jq -r '.job.revision // ""' status.json)"
done
curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/${OPENGEN_JOB_ID}" \
-H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}"
# On network timeout, recover read-only instead of generating a second Idempotency-Key:
# curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/lookup?idempotencyKey=${OPENGEN_IDEMPOTENCY_KEY}" \
# -H "Authorization: Bearer ${OPENGEN_API_KEY}"Read the full OpenGen docs for this model
About Kling 4.0 API access
This series belongs to Kling AI. Each variant keeps its own API model ID, author, license and provider routes. A provider switch preserves the selected variant.
Which variants are included?
Kling 4.0, Kling 4.0 Flash. Their exact model IDs, authors and licenses are listed separately above.
Which providers are listed?
Kling AI, Runway, fal, Pika, Replicate. Every documented regional deployment has its own provider row; a listed offering is not a claim that credentials are configured or that a live generation was tested.
How are prices and performance compared?
The table lists supported resolutions and shows available prices per video second or image. The price details include the provider's billing terms and source. Latency percentiles and technical success rates use this installation's observations. Missing measurements remain unknown, and generation success is not provider uptime.
Working with a reference image? Follow the image-to-video walkthrough for private uploads, model inspection, generation and retrieval.
Latest catalog source check: 2026-11-27. Documented offerings are not live-verification claims. Published prices retain their own units; missing prices and measurements remain unknown.