The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Catalog: current prices for H3 Lite, H3 HighSpeed and H3 Max camera controls
Adarsh418451586ef1
diff --git a/scripts/gen-cloud-models.py b/scripts/gen-cloud-models.pyindex ad3ea3ce..00fc26e5 100644--- a/scripts/gen-cloud-models.py+++ b/scripts/gen-cloud-models.py@@ -434,9 +434,11 @@ model("seedance-2-5", "Seedance 2.5", "ByteDance", "seedance", "video",("extend", "bytedance/seedance-2.5/reference-to-video", "fal", {"fixed": {"task": "extension"}, "videoArray": True}),("finalize", "bytedance/seedance-2.5/draft/complete")],# fal bills tokens: height × width × (seconds of input video + seconds out) × 24 / 1024, at $0.0214 per 1K tokens- # (480p, 720p) or $0.0234 (1080p), times 0.6 when reference clips go in (fal's reference-to-video page, re-read- # 2026-11-01; its sidebar's $0.473/s divides by 1000 where the formula says 1024). Per second of 16:9: 480p- # 864×496, 720p 1280×720, 1080p 1920×1080; with clips, on the seconds in plus out (Pricing.clipInput, no floor).+ # (480p, 720p) or $0.0234 (1080p), times 0.6 when reference clips go in (fal's text, image and reference to video+ # pages, re-read 2026-11-06). Their per-second figures ($0.2205, $0.4730, $1.164) run about 2% above the formula;+ # the pages call them approximations and the token formula authoritative, and their worked examples follow the+ # formula (5 s at 720p $2.31, 10 s at 480p $2.15). Per second of 16:9: 480p 864×496, 720p 1280×720, 1080p 1920×1080; with clips,+ # on the seconds in plus out (Pricing.clipInput, no floor).badges=["top", "audio", "new"],pricing=("second", 0.46224, "720p; 480p $0.21494, 1080p $1.13724. Reference clips bill their own seconds with the output, at 0.6 times the rate",{"byResolution": {"480p": 0.21494, "720p": 0.46224, "1080p": 1.13724},@@ -578,15 +580,16 @@ model("minimax-h3-max", "MiniMax H3 Max", "MiniMax", "hailuo", "video", "Top-tiepricing=("second", 0.08, "768P; 480P $0.05, 1080P $0.16, 2K $0.32 (extend) — image and text to video at the launch price $0.052 (480P $0.0325, 1080P $0.104) until 2026-10-31; reference to video: 4 square references included, about $0.02 for each one after",{"byResolution": {"480P": 0.05, "768P": 0.08, "1080P": 0.16, "2K": 0.32}}))# Build plan N7-5 (Fly path in Cinema's 3D scene): H3 Max following a keyframed camera path from one still. A hidden-# helper (Cinema's "Film this path" picks it), priced per second by resolution: fal's launch rates until 2026-10-31, then-# the list rates (Pricing.promo). Prompt expansion stays off so the user's motion words reach the model as written.+# helper (Cinema's "Film this path" picks it), priced per second by resolution. fal's page (re-read 2026-11-06): 30% off+# the list rates from 2026-11-01 through 2026-11-15, then the list rates (Pricing.promo). Prompt expansion stays off so+# the user's motion words reach the model as written.model("minimax-h3-max-camera", "MiniMax H3 Max camera controls", "MiniMax", "hailuo", "video","A still filmed along a camera path you keyframe: orbits, arcs, dollies and slides that follow the path exactly",[("camera-path", "minimax/h3-max/camera-controls")], hidden=True, ranged_durations=True,defaults={"duration": 5, "resolution": "768P"}, fixed={"prompt_expansion_mode": "disabled"},- pricing=("second", 0.08, "768P; 480P $0.05, 1080P $0.16 — launch price $0.052 (480P $0.0325, 1080P $0.104) until 2026-10-31",+ pricing=("second", 0.08, "768P; 480P $0.05, 1080P $0.16 — 30% off, $0.056 (480P $0.035, 1080P $0.112), until 2026-11-15",{"byResolution": {"480P": 0.05, "768P": 0.08, "1080P": 0.16},- "promo": {"until": "2026-10-31", "usd": 0.052, "byResolution": {"480P": 0.0325, "768P": 0.052, "1080P": 0.104}}}))+ "promo": {"until": "2026-11-15", "usd": 0.056, "byResolution": {"480P": 0.035, "768P": 0.056, "1080P": 0.112}}}))# Blockout to film (package blockout-film; new-models-10.md §5): H3 Max renders a grey-box / previs animation (≤ 15 s,# ≤ 32 shots) with up to 8 reference stills; camera, blocking and timing come from the video. A hidden helper Cinema's# Blockout offers under its own name beside Seedance 2.5. Billed per second by resolution, at least 5 s a shot, plus a@@ -664,15 +667,17 @@ def H3_REPLICATE_ROUTES(ep, adaptive=False):# Replicate's H3 Lite (480P / 768P) and HighSpeed (one rate): words, a first frame, first and last frames, or references, 4-15 s.+# Prices per second of output from Replicate's model pages (re-read 2026-11-06): Lite $0.0125 at 480P, $0.02 at 768P;+# HighSpeed $0.03.model("minimax-h3-lite", "MiniMax H3 Lite", "MiniMax", "hailuo", "video","The lightest H3 with sound: words, frames or references, 4–15 s at 480P or 768P",H3_REPLICATE_ROUTES("minimax/h3-lite"),badges=["new", "audio"], defaults={"aspectRatio": "16:9", "duration": 5, "resolution": "768P"}, fit_values=True, options={"maxImages": 9},- pricing=("second", 0.04, "768P; 480P $0.025", {"byResolution": {"480P": 0.025, "768P": 0.04}}))+ pricing=("second", 0.02, "768P; 480P $0.0125", {"byResolution": {"480P": 0.0125, "768P": 0.02}}))model("minimax-h3-highspeed", "MiniMax H3 HighSpeed", "MiniMax", "hailuo", "video","H3 tuned for speed, with sound: words, frames or references, 4–15 s",H3_REPLICATE_ROUTES("minimax/h3-highspeed", adaptive=True),- badges=["new", "audio", "fast"], defaults={"aspectRatio": "16:9", "duration": 5}, fit_values=True, options={"maxImages": 9}, pricing=("second", 0.06))+ badges=["new", "audio", "fast"], defaults={"aspectRatio": "16:9", "duration": 5}, fit_values=True, options={"maxImages": 9}, pricing=("second", 0.03))model("hailuo-2-3", "MiniMax Hailuo 2.3", "MiniMax", "hailuo", "video", "Expressive characters and dynamic action",[("t2v", "fal-ai/minimax/hailuo-2.3/pro/text-to-video"), ("i2v", "fal-ai/minimax/hailuo-2.3/pro/image-to-video")],pricing=("video", 0.49), defaults={"duration": 6}, fixed={"prompt_optimizer": True})diff --git a/src/lib/catalog/cloud-models.generated.ts b/src/lib/catalog/cloud-models.generated.tsindex 21ea79a6..c1b9a617 100644--- a/src/lib/catalog/cloud-models.generated.ts+++ b/src/lib/catalog/cloud-models.generated.ts@@ -7202,19 +7202,19 @@ export const CLOUD_MODELS: ModelDef[] = ["pricing": {"unit": "second","usd": 0.08,- "note": "768P; 480P $0.05, 1080P $0.16 \u2014 launch price $0.052 (480P $0.0325, 1080P $0.104) until 2026-10-31",+ "note": "768P; 480P $0.05, 1080P $0.16 \u2014 30% off, $0.056 (480P $0.035, 1080P $0.112), until 2026-11-15","byResolution": {"480P": 0.05,"768P": 0.08,"1080P": 0.16},"promo": {- "until": "2026-10-31",- "usd": 0.052,+ "until": "2026-11-15",+ "usd": 0.056,"byResolution": {- "480P": 0.0325,- "768P": 0.052,- "1080P": 0.104+ "480P": 0.035,+ "768P": 0.056,+ "1080P": 0.112}}},@@ -8276,11 +8276,11 @@ export const CLOUD_MODELS: ModelDef[] = [},"pricing": {"unit": "second",- "usd": 0.04,- "note": "768P; 480P $0.025",+ "usd": 0.02,+ "note": "768P; 480P $0.0125","byResolution": {- "480P": 0.025,- "768P": 0.04+ "480P": 0.0125,+ "768P": 0.02}}},@@ -8406,7 +8406,7 @@ export const CLOUD_MODELS: ModelDef[] = [},"pricing": {"unit": "second",- "usd": 0.06+ "usd": 0.03}},{diff --git a/tests/cinema-path.test.ts b/tests/cinema-path.test.tsindex ff6e8eaf..3c47d664 100644--- a/tests/cinema-path.test.ts+++ b/tests/cinema-path.test.ts@@ -62,7 +62,7 @@ const RECORD = (JSON.parse(fs.readFileSync(path.join(process.cwd(), "docs/researdescribe("planning a fly path", () => {it("cloud: H3 Max camera-controls films the still for 5 s at 768P, with motion words that let the subject move", () => {- vi.useFakeTimers({ now: Date.parse("2026-10-29T12:00:00Z"), toFake: ["Date"] });+ vi.useFakeTimers({ now: Date.parse("2026-11-06T12:00:00Z"), toFake: ["Date"] });const plan = planCinema(film("cloud"), ctx);expect(plan.blocker).toBeUndefined();expect(plan.model.id).toBe(PATH_MODELS.cloud);@@ -72,17 +72,17 @@ describe("planning a fly path", () => {expect(req).toMatchObject({ feature: "cinema-path", op: "camera-path", inputs: { images: [STILL] }, params: { duration: 5, resolution: "768P", cameraPath: orbit } });expect(req.prompt).toBe(DEFAULT_MOTION);expect(plan.notes[0]).toMatch(/H3 Max follows your 5 keyframes from the still, with prompt expansion off/);- // fal's launch price until 2026-10-31: $0.052 a second at 768P.- expect(plan.costUsd).toBe(0.26);+ // fal's 30% off until 2026-11-15: $0.056 a second at 768P.+ expect(plan.costUsd).toBe(0.28);});- it("cloud: the price is the one of the run's date — $0.08 a second at 768P from November", () => {- vi.useFakeTimers({ now: Date.parse("2026-11-01T09:00:00Z"), toFake: ["Date"] });+ it("cloud: the price is the one of the run's date — $0.08 a second at 768P from 2026-11-16", () => {+ vi.useFakeTimers({ now: Date.parse("2026-11-16T09:00:00Z"), toFake: ["Date"] });expect(planCinema(film("cloud"), ctx).costUsd).toBe(0.4);expect(planCinema(film("cloud", { resolution: "1080p", path: { keys: orbit, duration: 10 } }), ctx).costUsd).toBe(1.6);expect(planCinema(film("cloud", { resolution: "480P", path: { keys: orbit, duration: 3 } }), ctx).costUsd).toBe(0.15);- vi.useFakeTimers({ now: Date.parse("2026-10-31T23:00:00Z"), toFake: ["Date"] });- expect(planCinema(film("cloud", { resolution: "1080P" }), ctx).costUsd).toBe(0.52);+ vi.useFakeTimers({ now: Date.parse("2026-11-15T23:00:00Z"), toFake: ["Date"] });+ expect(planCinema(film("cloud", { resolution: "1080P" }), ctx).costUsd).toBe(0.56);});it("cloud: the user's motion words are sent as written, and the length stays inside 1–15 s", () => {@@ -115,12 +115,12 @@ describe("planning a fly path", () => {});it("shows the price that applies before the path is ready: Film never reads 'Free' for a paid run", () => {- vi.useFakeTimers({ now: Date.parse("2026-10-29T12:00:00Z"), toFake: ["Date"] });+ vi.useFakeTimers({ now: Date.parse("2026-11-06T12:00:00Z"), toFake: ["Date"] });const start = planCinema(film("cloud", { path: { keys: [PHOTO_KEY], duration: 5 } }), ctx);expect(start.blocker).toBe("Add a keyframe or pick a move first");- expect(start.costUsd).toBe(0.26);- expect(planCinema(film("cloud", { resolution: "1080P", path: { keys: [PHOTO_KEY], duration: 10 } }), ctx).costUsd).toBe(1.04);- expect(planCinema(film("cloud", { source: undefined }), ctx)).toMatchObject({ blocker: "Pick the scene's still", costUsd: 0.26 });+ expect(start.costUsd).toBe(0.28);+ expect(planCinema(film("cloud", { resolution: "1080P", path: { keys: [PHOTO_KEY], duration: 10 } }), ctx).costUsd).toBe(1.12);+ expect(planCinema(film("cloud", { source: undefined }), ctx)).toMatchObject({ blocker: "Pick the scene's still", costUsd: 0.28 });// The blocked step keeps what was really asked (no stand-ins), and the open engine stays free.expect(start.steps[0].request.inputs).toEqual({ images: [STILL] });expect(planCinema(film("open", { path: { keys: [PHOTO_KEY] } }), ctx)).toMatchObject({ blocker: "Add a keyframe or pick a move first", costUsd: 0 });@@ -165,8 +165,8 @@ describe("cloud: MiniMax H3 Max camera controls (minimax/h3-max/camera-controls)expect(m.routes.some((r) => r.endpoint.includes("multi-angle"))).toBe(false);expect(m.options.resolutions).toEqual(["480P", "768P", "1080P"]);expect(m.defaults).toMatchObject({ duration: 5, resolution: "768P" });- vi.useFakeTimers({ now: Date.parse("2026-10-30T00:00:00Z"), toFake: ["Date"] });- expect(estimateCost(m, { duration: 5, resolution: "480P" }, 1, "camera-path")).toBe(0.163);+ vi.useFakeTimers({ now: Date.parse("2026-11-06T00:00:00Z"), toFake: ["Date"] });+ expect(estimateCost(m, { duration: 5, resolution: "480P" }, 1, "camera-path")).toBe(0.175);vi.useFakeTimers({ now: Date.parse("2026-12-01T00:00:00Z"), toFake: ["Date"] });expect(estimateCost(m, { duration: 5, resolution: "480P" }, 1, "camera-path")).toBe(0.25);});diff --git a/tests/fly-around.test.ts b/tests/fly-around.test.tsindex c37b7d5f..0cf52141 100644--- a/tests/fly-around.test.ts+++ b/tests/fly-around.test.ts@@ -1,5 +1,5 @@import { spawnSync } from "node:child_process";-import { beforeAll, describe, expect, it } from "vitest";+import { beforeAll, describe, expect, it, vi } from "vitest";import { tempDir } from "./helpers/temp-dir";/**@@ -108,11 +108,18 @@ describe("the fly-around plan", () => {expect(p.steps[0].request.inputs).toEqual({ images: [image], video: "/api/files/uploads/r.webm" });});- it("in the cloud: H3 Max camera-controls with the keys, 5 s at 768P = $0.40 at list", () => {- const p = fly.planFlyAround({ engine: "cloud", image, orbit, duration: 5 });- expect(p.steps).toHaveLength(1);- expect(p.steps[0].request).toMatchObject({ modelId: "minimax-h3-max-camera", op: "camera-path", params: { duration: 5, resolution: "768P" } });- expect(p.costUsd).toBeCloseTo(0.4, 3);+ it("in the cloud: H3 Max camera-controls with the keys, 5 s at 768P = $0.28 until 2026-11-15, $0.40 at list after", () => {+ vi.useFakeTimers({ now: Date.parse("2026-11-15T12:00:00Z"), toFake: ["Date"] });+ try {+ const p = fly.planFlyAround({ engine: "cloud", image, orbit, duration: 5 });+ expect(p.steps).toHaveLength(1);+ expect(p.steps[0].request).toMatchObject({ modelId: "minimax-h3-max-camera", op: "camera-path", params: { duration: 5, resolution: "768P" } });+ expect(p.costUsd).toBeCloseTo(0.28, 3);+ vi.setSystemTime(Date.parse("2026-11-16T00:00:00Z"));+ expect(fly.planFlyAround({ engine: "cloud", image, orbit, duration: 5 }).costUsd).toBeCloseTo(0.4, 3);+ } finally {+ vi.useRealTimers();+ }});it("in the cloud with views: H3 Max reference-to-video with the still first and the path in words", () => {diff --git a/tests/hosted-catchup.test.ts b/tests/hosted-catchup.test.tsindex 93c14ef4..363a9725 100644--- a/tests/hosted-catchup.test.ts+++ b/tests/hosted-catchup.test.ts@@ -236,8 +236,10 @@ describe("prices follow fal's and Replicate's pages", () => {it("H3 looks, Lite, HighSpeed and Vidu Q4 per second", () => {expect(cost("minimax-h3-max-look-vhs", { duration: 15 }, "t2v")).toBe(1.2);- expect(cost("minimax-h3-lite", { duration: 5, resolution: "480P" }, "t2v")).toBe(0.125);- expect(cost("minimax-h3-highspeed", { duration: 10 }, "t2v")).toBe(0.6);+ // Replicate's pages (2026-11-06): Lite $0.0125/s at 480P and $0.02/s at 768P, HighSpeed $0.03/s.+ expect(cost("minimax-h3-lite", { duration: 4, resolution: "480P" }, "t2v")).toBe(0.05);+ expect(cost("minimax-h3-lite", { duration: 5, resolution: "768P" }, "t2v")).toBe(0.1);+ expect(cost("minimax-h3-highspeed", { duration: 10 }, "t2v")).toBe(0.3);expect(cost("vidu-q4", { duration: 5 }, "i2v")).toBe(0.333);expect(cost("vidu-q4", { duration: 5, resolution: "540p" }, "i2v")).toBe(0.158);});diff --git a/tests/launch-prices.test.ts b/tests/launch-prices.test.tsindex 31656ea8..c606a655 100644--- a/tests/launch-prices.test.ts+++ b/tests/launch-prices.test.ts@@ -6,13 +6,13 @@ import type { StudioConfig } from "@/components/studio/studio-context";import { tempDir } from "./helpers/temp-dir";/**- * Launch prices (Pricing.promo): H3 Max camera controls at $0.052/s (768P) through 2026-10-31, then $0.08/s; FLUX 3 Max- * at $0.0425/s (720p) through 2026-11-07, then $0.17/s. The catalog keeps both prices. The server prices a run on the+ * Launch prices (Pricing.promo): H3 Max camera controls at $0.056/s (768P, 30% off) through 2026-11-15, then $0.08/s;+ * FLUX 3 Max at $0.0425/s (720p) through 2026-11-07, then $0.17/s. The catalog keeps both prices. The server prices a run on the* day it runs, even when it started before a launch price ended; the browser shows the price of the day it is looked at;* nothing a page prerenders at build time reads the clock (Next.js stops the build on Date.now() while prerendering).*/-// The server starts on 2026-10-30, the day before H3 Max's launch price ends, and loads the catalog then.+// The server starts on 2026-10-30, before both launch prices end, and loads the catalog then.vi.useFakeTimers({ now: Date.parse("2026-10-30T10:00:00Z"), toFake: ["Date"] });const dir = tempDir("fuobe-launch-prices-");@@ -65,23 +65,23 @@ afterAll(() => {describe("the catalog keeps both prices", () => {it("H3 Max camera controls and FLUX 3 Max carry the list price and the launch price, as plain data", () => {const h3 = getModel(H3)!.pricing!;- expect(h3).toMatchObject({ unit: "second", usd: 0.08, byResolution: { "768P": 0.08 }, promo: { until: "2026-10-31", usd: 0.052, byResolution: { "768P": 0.052 } } });+ expect(h3).toMatchObject({ unit: "second", usd: 0.08, byResolution: { "768P": 0.08 }, promo: { until: "2026-11-15", usd: 0.056, byResolution: { "768P": 0.056 } } });expect(Object.getOwnPropertyDescriptor(getModel(H3)!, "pricing")).toMatchObject({ writable: true });expect(getModel(FLUX)!.pricing).toMatchObject({ usd: 0.17, promo: { until: "2026-11-07", usd: 0.0425 } });- expect(launchHolds("2026-10-31", Date.parse("2026-10-31T23:59:59.999Z"))).toBe(true);- expect(launchHolds("2026-10-31", Date.parse("2026-11-01T00:00:00Z"))).toBe(false);+ expect(launchHolds("2026-11-15", Date.parse("2026-11-15T23:59:59.999Z"))).toBe(true);+ expect(launchHolds("2026-11-15", Date.parse("2026-11-16T00:00:00Z"))).toBe(false);});});describe("the server prices a run on the day it runs", () => {- it("H3 Max camera controls (Cinema's fly path): the launch rate today and through 2026-10-31 (UTC), the list rate from November", () => {+ it("H3 Max camera controls (Cinema's fly path): the launch rate today and through 2026-11-15 (UTC), the list rate from 2026-11-16", () => {const m = getModel(H3)!;const cost = () => estimateCost(m, { duration: 5, resolution: "768P" }, 1, "camera-path");- expect(cost()).toBe(0.26);- at("2026-10-31T23:59:59Z");- expect(cost()).toBe(0.26);+ expect(cost()).toBe(0.28);+ at("2026-11-15T23:59:59Z");+ expect(cost()).toBe(0.28);// Same process, same catalog: the run after midnight is priced at the list rate.- at("2026-11-01T00:00:00Z");+ at("2026-11-16T00:00:00Z");expect(cost()).toBe(0.4);});@@ -126,10 +126,10 @@ describe("the browser shows the price of the day it is", () => {expect(usd).toBeGreaterThan(0);});- it("the fly path's price in the browser: H3 Max at $0.052/s on 2026-10-31, $0.08/s on 2026-11-01", () => {+ it("the fly path's price in the browser: H3 Max at $0.112/s (1080P) on 2026-11-15, $0.16/s on 2026-11-16", () => {const h3 = slimModel(getModel(H3)!);- expect(estimateCost(h3, { duration: 5, resolution: "1080P" }, 1, "camera-path", false, day("2026-10-31T12:00:00Z"))).toBe(0.52);- expect(estimateCost(h3, { duration: 5, resolution: "1080P" }, 1, "camera-path", false, day("2026-11-01T12:00:00Z"))).toBe(0.8);+ expect(estimateCost(h3, { duration: 5, resolution: "1080P" }, 1, "camera-path", false, day("2026-11-15T12:00:00Z"))).toBe(0.56);+ expect(estimateCost(h3, { duration: 5, resolution: "1080P" }, 1, "camera-path", false, day("2026-11-16T12:00:00Z"))).toBe(0.8);});it("the model picker's price", () => {@@ -137,8 +137,8 @@ describe("the browser shows the price of the day it is", () => {expect(pickerPrice(flux, day("2026-11-07T08:00:00Z"))).toBe("$0.043/sec");expect(pickerPrice(flux, day("2026-11-08T08:00:00Z"))).toBe("$0.17/sec");expect(pickerPrice(flux, null)).toBe("");- expect(pickerPrice(slimModel(getModel(H3)!), day("2026-10-30T08:00:00Z"))).toBe("$0.052/sec");- expect(pickerPrice(slimModel(getModel(H3)!), day("2026-11-01T08:00:00Z"))).toBe("$0.08/sec");+ expect(pickerPrice(slimModel(getModel(H3)!), day("2026-10-30T08:00:00Z"))).toBe("$0.056/sec");+ expect(pickerPrice(slimModel(getModel(H3)!), day("2026-11-16T08:00:00Z"))).toBe("$0.08/sec");});it("the Models page: each row carries the launch price, and the browser picks it or the list price by the day", () => {@@ -152,8 +152,8 @@ describe("the browser shows the price of the day it is", () => {expect(rowPrice(plain, null)).toBe(plain.price);// GET /api/models (a request, so it may read the clock) says the price of the day asked.const info = toModelInfo(getModel(H3)!);- expect(rowPrice(info, Date.parse("2026-10-30T10:00:00Z"))).toBe("$0.052 / second");- expect(rowPrice(info, Date.parse("2026-11-01T00:00:00Z"))).toBe("$0.08 / second");+ expect(rowPrice(info, Date.parse("2026-10-30T10:00:00Z"))).toBe("$0.056 / second");+ expect(rowPrice(info, Date.parse("2026-11-16T00:00:00Z"))).toBe("$0.08 / second");});it("useToday: no clock and no day while a page renders on the server (prerender, SSR); the day once the browser hydrates", () => {@@ -161,10 +161,10 @@ describe("the browser shows the price of the day it is", () => {let html = "";expect(clockReads(() => (html = renderToString(createElement(Probe))))).toBe(0);expect(html).toBe("null");- expect(startOfDayUtc(Date.parse("2026-10-31T23:59:59.999Z"))).toBe(Date.parse("2026-10-31T00:00:00Z"));+ expect(startOfDayUtc(Date.parse("2026-11-15T23:59:59.999Z"))).toBe(Date.parse("2026-11-15T00:00:00Z"));// The day's midnight is inside the launch's last day: the launch price holds all of it.- expect(pricingOn(getModel(H3)!.pricing!, day("2026-10-31T23:59:59Z"))!.usd).toBe(0.052);- expect(pricingOn(getModel(H3)!.pricing!, day("2026-11-01T00:00:00Z"))!.usd).toBe(0.08);+ expect(pricingOn(getModel(H3)!.pricing!, day("2026-11-15T23:59:59Z"))!.usd).toBe(0.056);+ expect(pricingOn(getModel(H3)!.pricing!, day("2026-11-16T00:00:00Z"))!.usd).toBe(0.08);});});diff --git a/tests/turnaround.test.ts b/tests/turnaround.test.tsindex 972b8a78..991eb429 100644--- a/tests/turnaround.test.ts+++ b/tests/turnaround.test.ts@@ -25,10 +25,10 @@ import {} from "@/lib/catalog/turnaround";import type { Generation, GenInput } from "@/lib/catalog/types";-// Prices at list rates: after FLUX 3 Max's launch price (2026-11-07) and H3 Max camera controls' (2026-10-31).+// Prices at list rates: after FLUX 3 Max's launch price (2026-11-07) and H3 Max camera controls' 30% off (2026-11-15).beforeAll(() => {vi.useFakeTimers({ toFake: ["Date"] });- vi.setSystemTime(new Date("2026-11-15T12:00:00Z"));+ vi.setSystemTime(new Date("2026-11-16T12:00:00Z"));});afterAll(() => vi.useRealTimers());