Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(model-bank): price Chinese vendors in international USD (#21808)

YuTengjing06ecde566b9d
diff --git a/packages/model-bank/src/aiModels/anthropic.ts b/packages/model-bank/src/aiModels/anthropic.ts
index 650bd555680..2b61f9e454e 100644
--- a/packages/model-bank/src/aiModels/anthropic.ts
+++ b/packages/model-bank/src/aiModels/anthropic.ts
@@ -73,6 +73,49 @@ const anthropicChatModels: AIChatModelCard[] = [
},
type: 'chat',
},
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_000_000,
+ description:
+ 'Claude Sonnet 5.5 is a smarter, more efficient Sonnet that improves on Sonnet 5 in coding and knowledge work at the same base price, with cache reads at half the cost.',
+ displayName: 'Claude Sonnet 5.5',
+ enabled: true,
+ family: 'claude-sonnet',
+ generation: 'claude-5.5',
+ id: 'claude-sonnet-5-5',
+ knowledgeCutoff: '2026-06',
+ maxOutput: 128_000,
+ // https://platform.claude.com/docs/en/about-claude/pricing
+ pricing: {
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },
+ {
+ lookup: { prices: { '1h': 4, '5m': 2.5 }, pricingParams: ['ttl'] },
+ name: 'textInput_cacheWrite',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-09-28',
+ // Like Opus 5.5, thinking is always on (`thinking.type: disabled` is rejected), so the
+ // `enableAdaptiveThinking` toggle is intentionally omitted.
+ // https://platform.claude.com/docs/en/models/sonnet-5-5/migration-guide#thinking-runs-by-default
+ settings: {
+ disabledParams: ['temperature', 'top_p'],
+ extendParams: ['disableContextCaching', 'opus47Effort'],
+ searchImpl: 'params',
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
diff --git a/packages/model-bank/src/aiModels/deepseek.ts b/packages/model-bank/src/aiModels/deepseek.ts
index 52b7ae64c60..b83554c91d5 100644
--- a/packages/model-bank/src/aiModels/deepseek.ts
+++ b/packages/model-bank/src/aiModels/deepseek.ts
@@ -1,7 +1,37 @@
import type { AIChatModelCard } from '../types/aiModel';
-// https://api-docs.deepseek.com/zh-cn/quick_start/pricing
+// https://api-docs.deepseek.com/quick_start/pricing (peak-hour rates)
const deepseekChatModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_000_000,
+ description:
+ 'DeepSeek V4.1 Flash is the latest fast, cost-efficient member of the V4 family with a 1M context window, hybrid thinking, and native image understanding. It also serves the legacy deepseek-v4-flash names.',
+ displayName: 'DeepSeek V4.1 Flash',
+ enabled: true,
+ family: 'deepseek',
+ generation: 'deepseek-v4',
+ id: 'deepseek-flash',
+ maxOutput: 393_216,
+ pricing: {
+ currency: 'USD',
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.006, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-09-10',
+ settings: {
+ extendParams: ['deepseekV4GAReasoningEffort'],
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
@@ -18,11 +48,11 @@ const deepseekChatModels: AIChatModelCard[] = [
id: 'deepseek-v4-flash',
maxOutput: 393_216,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 4.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.006, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-07-31',
@@ -47,11 +77,11 @@ const deepseekChatModels: AIChatModelCard[] = [
id: 'deepseek-v4-pro',
maxOutput: 393_216,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 4.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 13.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.044, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.32, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 3.96, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-08-13',
@@ -77,11 +107,11 @@ const deepseekChatModels: AIChatModelCard[] = [
id: 'deepseek-v4-flash-vision-exp',
maxOutput: 393_216,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 4.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.006, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-08-21',
diff --git a/packages/model-bank/src/aiModels/google/index.ts b/packages/model-bank/src/aiModels/google/index.ts
index 9c0ca649203..b54de552465 100644
--- a/packages/model-bank/src/aiModels/google/index.ts
+++ b/packages/model-bank/src/aiModels/google/index.ts
@@ -154,6 +154,54 @@ const googleChatModels: AIChatModelCard[] = [
},
type: 'chat',
},
+ {
+ abilities: {
+ audio: true,
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ video: true,
+ vision: true,
+ },
+ // Unified 1M window shared by input, thinking and output; a response defaults to 64K output
+ // and can go up to 1M with long decode.
+ // https://ai.google.dev/gemini-api/docs/models/gemini-4-argon
+ contextWindowTokens: 1_048_576,
+ description:
+ "Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep math and science, autonomous multi-step agents, and long decode up to 1M tokens.",
+ displayName: 'Gemini 4 Argon',
+ enabled: true,
+ family: 'gemini',
+ generation: 'gemini-4',
+ id: 'gemini-4-argon',
+ knowledgeCutoff: '2026-03',
+ maxOutput: 65_536,
+ /** Introductory rates through 2026-11-30; they double afterward ($4 input, $0.20 cached input,
+ * $20 output). Explicit caching is not supported, so there is no cache-write price.
+ * @see https://ai.google.dev/gemini-api/docs/pricing
+ */
+ pricing: {
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'videoInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-10-13',
+ // Sampling parameters are ignored by the API.
+ // https://ai.google.dev/gemini-api/docs/latest-model
+ settings: {
+ disabledParams: ['temperature', 'top_p'],
+ extendParams: ['thinkingLevel3', 'urlContext'],
+ searchImpl: 'params',
+ searchProvider: 'google',
+ },
+ type: 'chat',
+ },
{
abilities: {
audio: true,
@@ -384,6 +432,42 @@ const googleChatModels: AIChatModelCard[] = [
},
type: 'chat',
},
+ {
+ abilities: {
+ // no functionCall: the model does not support function calling
+ imageOutput: true,
+ reasoning: true,
+ search: true,
+ vision: true,
+ },
+ contextWindowTokens: 131_072 + 32_768,
+ description:
+ 'Nano Banana 2.1 is an update to Nano Banana 2 with better visual quality, prompt adherence, multi-turn character consistency and text rendering across 1K, 2K and 4K output.',
+ displayName: 'Nano Banana 2.1',
+ enabled: true,
+ family: 'gemini',
+ generation: 'gemini-3.1',
+ id: 'gemini-nano-banana-2.1',
+ maxOutput: 32_768,
+ // https://ai.google.dev/gemini-api/docs/pricing ($0.0336 per 1K image)
+ pricing: {
+ approximatePricePerImage: 0.0336,
+ units: [
+ { name: 'imageOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 7.5, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-10-06',
+ // Thinking levels are minimal / medium (default) / high, which no `thinkingLevel*` param covers.
+ settings: {
+ extendParams: ['imageAspectRatio2', 'imageResolution2'],
+ searchImpl: 'params',
+ searchProvider: 'google',
+ },
+ type: 'chat',
+ },
{
abilities: {
imageOutput: true,
@@ -798,6 +882,29 @@ export const imagenGenParameters: ModelParamsSchema = {
};
const googleImageModels: AIImageModelCard[] = [
+ {
+ displayName: 'Nano Banana 2.1',
+ id: 'gemini-nano-banana-2.1:image',
+ type: 'image',
+ enabled: true,
+ description:
+ 'Nano Banana 2.1 is an update to Nano Banana 2 with better visual quality, prompt adherence, multi-turn character consistency and text rendering across 1K, 2K and 4K output.',
+ releasedAt: '2026-10-06',
+ // Output resolutions are 1K / 2K / 4K only (no 512).
+ parameters: {
+ ...nanoBanana2Parameters,
+ resolution: { default: '1K', enum: ['1K', '2K', '4K'] },
+ },
+ pricing: {
+ approximatePricePerImage: 0.0336,
+ units: [
+ { name: 'imageOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 7.5, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ },
{
displayName: 'Nano Banana 2',
id: 'gemini-3.1-flash-image:image',
@@ -955,6 +1062,46 @@ const googleVideoModels: AIVideoModelCard[] = [
releasedAt: '2026-01-13',
type: 'video',
},
+ {
+ description:
+ "Google's video generation and editing model with native audio: text, image and reference-guided video, first/last frame interpolation, and conversational editing.",
+ displayName: 'Gemini Omni 1.1 Flash',
+ enabled: true,
+ id: 'gemini-omni-1.1-flash',
+ parameters: {
+ aspectRatio: {
+ default: '16:9',
+ enum: ['16:9', '9:16'],
+ },
+ duration: { default: 8, max: 10, min: 3, step: 1 },
+ endImageUrl: {
+ default: null,
+ },
+ imageUrls: {
+ default: [],
+ maxCount: 7,
+ },
+ prompt: { default: '' },
+ resolution: {
+ default: '720p',
+ enum: ['360p', '720p', '1080p', '4k'],
+ },
+ },
+ pricing: {
+ // Billed per token: video output is about 5,792 tokens per second of 720p video (~$0.10/s).
+ // https://ai.google.dev/gemini-api/docs/pricing
+ units: [
+ { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'videoInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 9, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'videoGeneration', rate: 17.5, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-08-27',
+ type: 'video',
+ },
];
export const allModels = [...googleChatModels, ...googleImageModels, ...googleVideoModels];
diff --git a/packages/model-bank/src/aiModels/meta.ts b/packages/model-bank/src/aiModels/meta.ts
index b19ade3eed6..2142111d4eb 100644
--- a/packages/model-bank/src/aiModels/meta.ts
+++ b/packages/model-bank/src/aiModels/meta.ts
@@ -2,6 +2,36 @@ import type { AIChatModelCard } from '../types/aiModel';
// https://dev.meta.ai/docs/models
const metaChatModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_048_576,
+ description:
+ "Meta's most capable model, built for complex software engineering and long-horizon agentic work: it plans, delegates to sub-agents, calls tools in parallel, drives a desktop with computer use, and recovers from errors across many steps.",
+ displayName: 'Muse Wonder 1.0',
+ enabled: true,
+ family: 'muse',
+ generation: 'muse-wonder-1.0',
+ id: 'muse-wonder-1.0',
+ // https://dev.meta.ai/docs/pricing-rate-limits (Standard mode; no long-context premium)
+ pricing: {
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-10-12',
+ settings: {
+ searchImpl: 'params',
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
diff --git a/packages/model-bank/src/aiModels/minimax.ts b/packages/model-bank/src/aiModels/minimax.ts
index 08f55ea7676..d6baecaa532 100644
--- a/packages/model-bank/src/aiModels/minimax.ts
+++ b/packages/model-bank/src/aiModels/minimax.ts
@@ -11,6 +11,8 @@ import {
type AIVideoModelCard,
} from '../types/aiModel';
+// USD price: https://platform.minimax.io/docs/guides/pricing-paygo
+// CNY price (cards the international platform does not sell): https://platform.minimaxi.com/docs/guides/pricing
const minimaxChatModels: AIChatModelCard[] = [
{
abilities: {
@@ -29,11 +31,11 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M3.1-Flash',
maxOutput: 524_288,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.015, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-10-19',
@@ -60,14 +62,14 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M3',
maxOutput: 524_288,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 2.1, upTo: 512_000 },
- { rate: 4.2, upTo: 'infinity' },
+ { rate: 0.3, upTo: 512_000 },
+ { rate: 0.6, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -75,8 +77,8 @@ const minimaxChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 8.4, upTo: 512_000 },
- { rate: 16.8, upTo: 'infinity' },
+ { rate: 1.2, upTo: 512_000 },
+ { rate: 2.4, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -84,8 +86,8 @@ const minimaxChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.42, upTo: 512_000 },
- { rate: 0.84, upTo: 'infinity' },
+ { rate: 0.06, upTo: 512_000 },
+ { rate: 0.12, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -112,12 +114,12 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M2.7',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.42, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.06, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-03-18',
@@ -136,12 +138,12 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M2.7-highspeed',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.42, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 4.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 16.8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.06, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-03-18',
@@ -161,12 +163,12 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M2.5',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-02-12',
@@ -185,12 +187,12 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M2.5-highspeed',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 4.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 16.8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-02-12',
@@ -227,12 +229,12 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M2.1',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-12-23',
@@ -252,12 +254,12 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M2.1-highspeed',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 4.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 16.8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-12-23',
@@ -276,12 +278,12 @@ const minimaxChatModels: AIChatModelCard[] = [
id: 'MiniMax-M2',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-10-27',
@@ -381,8 +383,8 @@ const minimaxImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.025, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.0035, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-02-28',
type: 'image',
@@ -471,8 +473,8 @@ const minimaxVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1.35, strategy: 'fixed', unit: 'video' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.19, strategy: 'fixed', unit: 'video' }],
},
releasedAt: '2025-10-28',
type: 'video',
@@ -497,8 +499,8 @@ const minimaxVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 2, strategy: 'fixed', unit: 'video' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.28, strategy: 'fixed', unit: 'video' }],
},
releasedAt: '2025-10-28',
type: 'video',
@@ -525,8 +527,8 @@ const minimaxVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.6, strategy: 'fixed', unit: 'video' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.28, strategy: 'fixed', unit: 'video' }],
},
releasedAt: '2025-06-18',
type: 'video',
diff --git a/packages/model-bank/src/aiModels/moonshot.ts b/packages/model-bank/src/aiModels/moonshot.ts
index 56d7baf01ca..986cbe03d71 100644
--- a/packages/model-bank/src/aiModels/moonshot.ts
+++ b/packages/model-bank/src/aiModels/moonshot.ts
@@ -2,6 +2,68 @@ import type { AIChatModelCard } from '../types/aiModel';
// https://platform.kimi.ai/docs/pricing/chat
const moonshotChatModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ structuredOutput: true,
+ video: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_048_576,
+ description:
+ "Kimi K3.1 Pro is the first model in the K3.1 series and Kimi's most capable flagship to date: a 3T-class model with native visual understanding and a 1M-token context window, with major gains in coding, 3D creation, and financial research and modeling. Reasoning is always on, configured via the top-level reasoning_effort field.",
+ displayName: 'Kimi K3.1 Pro',
+ family: 'kimi',
+ generation: 'kimi-k3.1',
+ id: 'kimi-k3.1-pro',
+ maxOutput: 131_072,
+ pricing: {
+ currency: 'USD',
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-10-23',
+ settings: {
+ disabledParams: ['frequency_penalty', 'presence_penalty', 'temperature', 'top_p'],
+ extendParams: ['kimiK3ReasoningEffort'],
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ structuredOutput: true,
+ video: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_048_576,
+ description:
+ 'Kimi K3.1 Pro HighSpeed is the high-speed variant of Kimi K3.1 Pro with the same capabilities and 1M-token context window at roughly 2-3x the output speed, for scenarios that need faster responses.',
+ displayName: 'Kimi K3.1 Pro HighSpeed',
+ family: 'kimi',
+ generation: 'kimi-k3.1',
+ id: 'kimi-k3.1-pro-highspeed',
+ maxOutput: 131_072,
+ pricing: {
+ currency: 'USD',
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-10-23',
+ settings: {
+ disabledParams: ['frequency_penalty', 'presence_penalty', 'temperature', 'top_p'],
+ extendParams: ['kimiK3ReasoningEffort'],
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
@@ -54,11 +116,11 @@ const moonshotChatModels: AIChatModelCard[] = [
id: 'kimi-k2.7-code',
maxOutput: 32_768,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 1.3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 6.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 27, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.19, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.95, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-06-12',
@@ -81,11 +143,11 @@ const moonshotChatModels: AIChatModelCard[] = [
id: 'kimi-k2.7-code-highspeed',
maxOutput: 32_768,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 2.6, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 13, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 54, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.38, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.9, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-06-15',
@@ -108,11 +170,11 @@ const moonshotChatModels: AIChatModelCard[] = [
id: 'kimi-k2.6',
maxOutput: 32_768,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 1.1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 6.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 27, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.16, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.95, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-04-20',
diff --git a/packages/model-bank/src/aiModels/openai/nonChat.ts b/packages/model-bank/src/aiModels/openai/nonChat.ts
index 36483b8f2dd..594e4f60d8e 100644
--- a/packages/model-bank/src/aiModels/openai/nonChat.ts
+++ b/packages/model-bank/src/aiModels/openai/nonChat.ts
@@ -149,6 +149,50 @@ export const openaiASRModels: AIASRModelCard[] = [
// Image generation models
export const openaiImageModels: AIImageModelCard[] = [
+ {
+ description:
+ "OpenAI's most capable image generation and editing model, built for workflows where editing precision matters most, with quality up to max and up to 4K output.",
+ displayName: 'GPT Image 2.5 Sunburst',
+ enabled: true,
+ id: 'gpt-image-2.5-sunburst',
+ parameters: gptImage2Schema,
+ pricing: {
+ // Token rates match GPT Image 2; OpenAI publishes no per-image estimate for GPT Image 2.5,
+ // so there is no `approximatePricePerImage`.
+ // https://developers.openai.com/api/docs/models/gpt-image-2.5-sunburst
+ units: [
+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 1.25, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput_cacheRead', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-09-08',
+ type: 'image',
+ },
+ {
+ description:
+ "OpenAI's fastest model for high-quality everyday image generation and editing, with quality up to max and up to 4K output.",
+ displayName: 'GPT Image 2.5 Flare',
+ enabled: true,
+ id: 'gpt-image-2.5-flare',
+ parameters: gptImage2Schema,
+ pricing: {
+ // Token rates match GPT Image 2; OpenAI publishes no per-image estimate for GPT Image 2.5,
+ // so there is no `approximatePricePerImage`.
+ // https://developers.openai.com/api/docs/models/gpt-image-2.5-flare
+ units: [
+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 1.25, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput_cacheRead', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-09-08',
+ type: 'image',
+ },
{
description:
"OpenAI's next-generation multimodal image model with native reasoning, up to 4K resolution, near-perfect text rendering, and high-fidelity multilingual support.",
diff --git a/packages/model-bank/src/aiModels/qwen.ts b/packages/model-bank/src/aiModels/qwen.ts
index d3e2bfd2396..4cbaf370058 100644
--- a/packages/model-bank/src/aiModels/qwen.ts
+++ b/packages/model-bank/src/aiModels/qwen.ts
@@ -83,14 +83,14 @@ const qwenChatModels: AIChatModelCard[] = [
generation: 'qwen3.8',
id: 'qwen3.8-max-0902',
maxOutput: 131_072,
- /** @see https://help.aliyun.com/zh/model-studio/qwen3-8-max */
+ /** @see https://www.alibabacloud.com/help/en/model-studio/qwen3-8-max */
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 12, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 36, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheRead', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 15, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 2.5, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-09-02',
@@ -118,14 +118,14 @@ const qwenChatModels: AIChatModelCard[] = [
generation: 'qwen3.8',
id: 'qwen3.8-max',
maxOutput: 131_072,
- /** @see https://help.aliyun.com/zh/model-studio/qwen3-8-max */
+ /** @see https://www.alibabacloud.com/help/en/model-studio/qwen3-8-max */
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 12, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 36, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheRead', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 15, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 2.5, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-08-02',
@@ -260,14 +260,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 1,
- '[0.032, 0.128]': 1.5,
- '[0.128, infinity]': 3,
+ '[0, 0.032]': 0.2,
+ '[0.032, 0.128]': 0.3,
+ '[0.128, infinity]': 0.6,
},
pricingParams: ['textInputRange'],
},
@@ -278,9 +278,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 10,
- '[0.032, 0.128]': 15,
- '[0.128, infinity]': 30,
+ '[0, 0.032]': 1.6,
+ '[0.032, 0.128]': 2.4,
+ '[0.128, infinity]': 4.8,
},
pricingParams: ['textInputRange'],
},
@@ -315,14 +315,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 0.15,
- '[0.032, 0.128]': 0.3,
- '[0.128, 0.256]': 0.6,
+ '[0, 0.032]': 0.05,
+ '[0.032, 0.128]': 0.075,
+ '[0.128, 1]': 0.12,
},
pricingParams: ['textInputRange'],
},
@@ -333,9 +333,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 1.5,
- '[0.032, 0.128]': 3,
- '[0.128, 0.256]': 6,
+ '[0, 0.032]': 0.4,
+ '[0.032, 0.128]': 0.6,
+ '[0.128, 1]': 0.96,
},
pricingParams: ['textInputRange'],
},
@@ -365,10 +365,10 @@ const qwenChatModels: AIChatModelCard[] = [
id: 'deepseek-v4-flash',
maxOutput: 393_216,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -392,10 +392,10 @@ const qwenChatModels: AIChatModelCard[] = [
id: 'deepseek-v4-pro',
maxOutput: 393_216,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 12, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 24, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.8, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -419,10 +419,10 @@ const qwenChatModels: AIChatModelCard[] = [
id: 'deepseek-v3.2',
maxOutput: 65_536,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.57, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.71, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -552,11 +552,11 @@ const qwenChatModels: AIChatModelCard[] = [
id: 'glm-5.2',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 28, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.28, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-06-17',
@@ -579,32 +579,10 @@ const qwenChatModels: AIChatModelCard[] = [
id: 'glm-5.1',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 6,
- '[0.032, infinity]': 8,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 24,
- '[0.032, infinity]': 28,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput', rate: 1.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-04-14',
@@ -865,14 +843,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 1,
- '[0.032, 0.128]': 1.5,
- '[0.128, infinity]': 2.5,
+ '[0, 0.032]': 0.3,
+ '[0.032, 0.128]': 0.5,
+ '[0.128, infinity]': 0.8,
},
pricingParams: ['textInputRange'],
},
@@ -883,9 +861,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 4,
- '[0.032, 0.128]': 6,
- '[0.128, infinity]': 10,
+ '[0, 0.032]': 1.5,
+ '[0.032, 0.128]': 2.5,
+ '[0.128, infinity]': 4,
},
pricingParams: ['textInputRange'],
},
@@ -914,15 +892,15 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 4 * 0.2,
- '[0.032, 0.128]': 6 * 0.2,
- '[0.128, 0.256]': 10 * 0.2,
- '[0.256, infinity]': 20 * 0.2,
+ '[0, 0.032]': 0.2,
+ '[0.032, 0.128]': 0.36,
+ '[0.128, 0.256]': 0.6,
+ '[0.256, infinity]': 1.2,
},
pricingParams: ['textInputRange'],
},
@@ -933,10 +911,10 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 4,
- '[0.032, 0.128]': 6,
- '[0.128, 0.256]': 10,
- '[0.256, infinity]': 20,
+ '[0, 0.032]': 1,
+ '[0.032, 0.128]': 1.8,
+ '[0.128, 0.256]': 3,
+ '[0.256, infinity]': 6,
},
pricingParams: ['textInputRange'],
},
@@ -947,10 +925,10 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 16,
- '[0.032, 0.128]': 24,
- '[0.128, 0.256]': 40,
- '[0.256, infinity]': 200,
+ '[0, 0.032]': 5,
+ '[0.032, 0.128]': 9,
+ '[0.128, 0.256]': 15,
+ '[0.256, infinity]': 60,
},
pricingParams: ['textInputRange'],
},
@@ -979,15 +957,15 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 0.2,
- '[0.032, 0.128]': 0.3,
- '[0.128, 0.256]': 0.5,
- '[0.256, 1]': 1,
+ '[0, 0.032]': 0.06,
+ '[0.032, 0.128]': 0.1,
+ '[0.128, 0.256]': 0.16,
+ '[0.256, 1]': 0.32,
},
pricingParams: ['textInputRange'],
},
@@ -998,10 +976,10 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 1,
- '[0.032, 0.128]': 1.5,
- '[0.128, 0.256]': 2.5,
- '[0.256, 1]': 5,
+ '[0, 0.032]': 0.3,
+ '[0.032, 0.128]': 0.5,
+ '[0.128, 0.256]': 0.8,
+ '[0.256, 1]': 1.6,
},
pricingParams: ['textInputRange'],
},
@@ -1012,10 +990,10 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 4,
- '[0.032, 0.128]': 6,
- '[0.128, 0.256]': 10,
- '[0.256, 1]': 25,
+ '[0, 0.032]': 1.5,
+ '[0.032, 0.128]': 2.5,
+ '[0.128, 0.256]': 4,
+ '[0.256, 1]': 9.6,
},
pricingParams: ['textInputRange'],
},
@@ -1041,14 +1019,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 6,
- '[0.032, 0.128]': 9,
- '[0.128, 0.2]': 15,
+ '[0, 0.032]': 1.5,
+ '[0.032, 0.128]': 2.7,
+ '[0.128, 0.2]': 4.5,
},
pricingParams: ['textInputRange'],
},
@@ -1059,9 +1037,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 24,
- '[0.032, 0.128]': 36,
- '[0.128, 0.2]': 60,
+ '[0, 0.032]': 7.5,
+ '[0.032, 0.128]': 13.5,
+ '[0.128, 0.2]': 22.5,
},
pricingParams: ['textInputRange'],
},
@@ -1087,14 +1065,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 1.5,
- '[0.032, 0.128]': 2.25,
- '[0.128, 0.2]': 3.75,
+ '[0, 0.032]': 0.45,
+ '[0.032, 0.128]': 0.75,
+ '[0.128, 0.2]': 1.2,
},
pricingParams: ['textInputRange'],
},
@@ -1105,9 +1083,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 6,
- '[0.032, 0.128]': 9,
- '[0.128, 0.2]': 15,
+ '[0, 0.032]': 2.25,
+ '[0.032, 0.128]': 3.75,
+ '[0.128, 0.2]': 6,
},
pricingParams: ['textInputRange'],
},
@@ -1136,10 +1114,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 18, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 3.6, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-04-23',
@@ -1165,10 +1143,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 1.8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 10.8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.25, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-04-16',
@@ -1194,32 +1172,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.128]': 1.5,
- '[0.128, infinity]': 3,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.128]': 7.2,
- '[0.128, infinity]': 18,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 3.6, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-02-16',
@@ -1245,32 +1201,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.128]': 0.8,
- '[0.128, infinity]': 2,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.128]': 6.4,
- '[0.128, infinity]': 16,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 3.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-02-24',
@@ -1296,32 +1230,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.128]': 0.6,
- '[0.128, infinity]': 1.8,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.128]': 4.8,
- '[0.128, infinity]': 14.4,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-02-24',
@@ -1347,32 +1259,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.128]': 0.4,
- '[0.128, infinity]': 1.6,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.128]': 3.2,
- '[0.128, infinity]': 12.8,
- },
- pricingParams: ['textInputRange'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-02-24',
@@ -1396,10 +1286,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.23, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.3, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-07-25',
@@ -1422,10 +1312,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.23, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.92, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-07-22',
@@ -1446,10 +1336,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.75, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 7.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-07-30',
@@ -1472,10 +1362,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.75, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.8, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-07-29',
@@ -1496,10 +1386,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-09-12',
@@ -1522,10 +1412,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-09-12',
@@ -1546,10 +1436,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.7, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-04-28',
@@ -1573,10 +1463,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.16, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.64, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-04-28',
@@ -1600,10 +1490,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.75, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 7.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-04-28',
@@ -1627,10 +1517,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.35, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-04-28',
@@ -1654,10 +1544,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.18, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-04-28',
@@ -1766,10 +1656,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 1.6, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-03-05',
@@ -1800,16 +1690,11 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 131_072,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 2.7, strategy: 'fixed', unit: 'millionTokens' },
- {
- name: 'textInput_cacheRead',
- rate: 0.8 * 0.2,
- strategy: 'fixed',
- unit: 'millionTokens',
- },
+ { name: 'textInput', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.47, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.016, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-08-26',
@@ -1840,15 +1725,15 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 32_000 },
- { rate: 0.6, upTo: 256_000 },
- { rate: 1.2, upTo: 'infinity' },
+ { rate: 0.03, upTo: 32_000 },
+ { rate: 0.1, upTo: 256_000 },
+ { rate: 0.2, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -1856,9 +1741,9 @@ const qwenChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 0.8, upTo: 32_000 },
- { rate: 2.4, upTo: 256_000 },
- { rate: 4.8, upTo: 'infinity' },
+ { rate: 0.13, upTo: 32_000 },
+ { rate: 0.4, upTo: 256_000 },
+ { rate: 0.8, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -1866,9 +1751,9 @@ const qwenChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.2 * 0.2, upTo: 32_000 },
- { rate: 0.6 * 0.2, upTo: 256_000 },
- { rate: 1.2 * 0.2, upTo: 'infinity' },
+ { rate: 0.006, upTo: 32_000 },
+ { rate: 0.02, upTo: 256_000 },
+ { rate: 0.04, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -1902,14 +1787,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 1.2, upTo: 256_000 },
- { rate: 4.8, upTo: 'infinity' },
+ { rate: 0.25, upTo: 256_000 },
+ { rate: 1, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -1917,8 +1802,8 @@ const qwenChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 7.2, upTo: 256_000 },
- { rate: 28.8, upTo: 'infinity' },
+ { rate: 1.5, upTo: 256_000 },
+ { rate: 4, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -1926,8 +1811,8 @@ const qwenChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 1.2 * 0.2, upTo: 256_000 },
- { rate: 4.8 * 0.2, upTo: 'infinity' },
+ { rate: 0.05, upTo: 256_000 },
+ { rate: 0.2, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -1961,38 +1846,11 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- name: 'textInput',
- strategy: 'tiered',
- tiers: [
- { rate: 0.2, upTo: 128_000 },
- { rate: 0.8, upTo: 256_000 },
- { rate: 1.2, upTo: 'infinity' },
- ],
- unit: 'millionTokens',
- },
- {
- name: 'textOutput',
- strategy: 'tiered',
- tiers: [
- { rate: 2, upTo: 128_000 },
- { rate: 8, upTo: 256_000 },
- { rate: 12, upTo: 'infinity' },
- ],
- unit: 'millionTokens',
- },
- {
- name: 'textInput_cacheRead',
- strategy: 'tiered',
- tiers: [
- { rate: 0.2 * 0.2, upTo: 128_000 },
- { rate: 0.8 * 0.2, upTo: 256_000 },
- { rate: 1.2 * 0.2, upTo: 'infinity' },
- ],
- unit: 'millionTokens',
- },
+ { name: 'textInput', rate: 0.1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.02, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-02-24',
@@ -2019,15 +1877,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 0.15, upTo: 128_000 },
- { rate: 0.6, upTo: 256_000 },
- { rate: 1.2, upTo: 'infinity' },
+ { rate: 0.05, upTo: 256_000 },
+ { rate: 0.25, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -2035,9 +1892,8 @@ const qwenChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 1.5, upTo: 128_000 },
- { rate: 6, upTo: 256_000 },
- { rate: 12, upTo: 'infinity' },
+ { rate: 0.4, upTo: 256_000 },
+ { rate: 2, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -2045,9 +1901,8 @@ const qwenChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.15 * 0.2, upTo: 128_000 },
- { rate: 0.6 * 0.2, upTo: 256_000 },
- { rate: 1.2 * 0.2, upTo: 'infinity' },
+ { rate: 0.01, upTo: 256_000 },
+ { rate: 0.05, upTo: 'infinity' },
],
unit: 'millionTokens',
},
@@ -2078,11 +1933,11 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 16_384,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.3 * 0.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.01, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-07-15',
@@ -2114,11 +1969,35 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 2 * 0.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
+ {
+ name: 'textInput_cacheRead',
+ strategy: 'tiered',
+ tiers: [
+ { rate: 0.08, upTo: 256_000 },
+ { rate: 0.24, upTo: 'infinity' },
+ ],
+ unit: 'millionTokens',
+ },
+ {
+ name: 'textInput',
+ strategy: 'tiered',
+ tiers: [
+ { rate: 0.4, upTo: 256_000 },
+ { rate: 1.2, upTo: 'infinity' },
+ ],
+ unit: 'millionTokens',
+ },
+ {
+ name: 'textOutput',
+ strategy: 'tiered',
+ tiers: [
+ { rate: 1.6, upTo: 256_000 },
+ { rate: 4.8, upTo: 'infinity' },
+ ],
+ unit: 'millionTokens',
+ },
],
},
releasedAt: '2026-06-01',
@@ -2149,13 +2028,13 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.256]': 2,
- '[0.256, 1]': 8,
+ '[0, 0.256]': 0.5,
+ '[0.256, 1]': 2,
},
pricingParams: ['textInputRange'],
},
@@ -2166,8 +2045,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.256]': 12,
- '[0.256, 1]': 48,
+ '[0, 0.256]': 3,
+ '[0.256, 1]': 6,
},
pricingParams: ['textInputRange'],
},
@@ -2178,8 +2057,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.256]': 2 * 0.2,
- '[0.256, 1]': 8 * 0.2,
+ '[0, 0.256]': 0.1,
+ '[0.256, 1]': 0.4,
},
pricingParams: ['textInputRange'],
},
@@ -2217,14 +2096,13 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.128]': 0.8 * 0.1,
- '[0.128, 0.256]': 2 * 0.1,
- '[0.256, infinity]': 4 * 0.1,
+ '[0, 0.256]': 0.04,
+ '[0.256, infinity]': 0.05,
},
pricingParams: ['textInputRange'],
},
@@ -2235,9 +2113,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 0.8 * 1.25,
- '[0.128, 0.256]': 2 * 1.25,
- '[0.256, infinity]': 4 * 1.25,
+ '[0, 0.256]': 0.5,
+ '[0.256, infinity]': 0.625,
},
pricingParams: ['textInputRange'],
},
@@ -2248,9 +2125,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 0.8,
- '[0.128, 0.256]': 2,
- '[0.256, infinity]': 4,
+ '[0, 0.256]': 0.4,
+ '[0.256, infinity]': 0.5,
},
pricingParams: ['textInputRange'],
},
@@ -2261,9 +2137,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 4.8,
- '[0.128, 0.256]': 12,
- '[0.256, infinity]': 24,
+ '[0, 0.256]': 2.4,
+ '[0.256, infinity]': 3,
},
pricingParams: ['textInputRange'],
},
@@ -2301,14 +2176,13 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.128]': 0.8 * 0.1,
- '[0.128, 0.256]': 2 * 0.1,
- '[0.256, infinity]': 4 * 0.1,
+ '[0, 0.256]': 0.04,
+ '[0.256, infinity]': 0.05,
},
pricingParams: ['textInputRange'],
},
@@ -2319,9 +2193,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 0.8 * 1.25,
- '[0.128, 0.256]': 2 * 1.25,
- '[0.256, infinity]': 4 * 1.25,
+ '[0, 0.256]': 0.5,
+ '[0.256, infinity]': 0.625,
},
pricingParams: ['textInputRange'],
},
@@ -2332,9 +2205,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 0.8,
- '[0.128, 0.256]': 2,
- '[0.256, infinity]': 4,
+ '[0, 0.256]': 0.4,
+ '[0.256, infinity]': 0.5,
},
pricingParams: ['textInputRange'],
},
@@ -2345,9 +2217,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 4.8,
- '[0.128, 0.256]': 12,
- '[0.256, infinity]': 24,
+ '[0, 0.256]': 2.4,
+ '[0.256, infinity]': 3,
},
pricingParams: ['textInputRange'],
},
@@ -2382,14 +2253,13 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.128]': 0.8 * 0.2,
- '[0.128, 0.256]': 2.4 * 0.2,
- '[0.256, infinity]': 4.8 * 0.2,
+ '[0, 0.256]': 0.08,
+ '[0.256, infinity]': 0.24,
},
pricingParams: ['textInputRange'],
},
@@ -2400,9 +2270,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 0.8,
- '[0.128, 0.256]': 2.4,
- '[0.256, infinity]': 4.8,
+ '[0, 0.256]': 0.4,
+ '[0.256, infinity]': 1.2,
},
pricingParams: ['textInputRange'],
},
@@ -2413,12 +2282,10 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]_[false]': 2,
- '[0, 0.128]_[true]': 8,
- '[0.128, 0.256]_[false]': 20,
- '[0.128, 0.256]_[true]': 24,
- '[0.256, infinity]_[false]': 48,
- '[0.256, infinity]_[true]': 64,
+ '[0, 0.256]_[false]': 1.2,
+ '[0, 0.256]_[true]': 4,
+ '[0.256, infinity]_[false]': 3.6,
+ '[0.256, infinity]_[true]': 12,
},
pricingParams: ['textInputRange', 'thinkingMode'],
},
@@ -2454,11 +2321,11 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 12 * 0.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 12, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 36, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 7.5, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-05-20',
@@ -2487,13 +2354,13 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.128]': 9 * 0.2,
- '[0.128, infinity]': 15 * 0.2,
+ '[0, 0.128]': 0.26,
+ '[0.128, infinity]': 0.4,
},
pricingParams: ['textInputRange'],
},
@@ -2504,8 +2371,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 9,
- '[0.128, infinity]': 15,
+ '[0, 0.128]': 1.3,
+ '[0.128, infinity]': 2,
},
pricingParams: ['textInputRange'],
},
@@ -2516,8 +2383,8 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.128]': 54,
- '[0.128, infinity]': 90,
+ '[0, 0.128]': 7.8,
+ '[0.128, infinity]': 12,
},
pricingParams: ['textInputRange'],
},
@@ -2553,14 +2420,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 2.5 * 0.2,
- '[0.032, 0.128]': 4 * 0.2,
- '[0.128, infinity]': 7 * 0.2,
+ '[0, 0.032]': 0.24,
+ '[0.032, 0.128]': 0.48,
+ '[0.128, infinity]': 0.6,
},
pricingParams: ['textInputRange'],
},
@@ -2571,9 +2438,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 2.5,
- '[0.032, 0.128]': 4,
- '[0.128, 0.252]': 7,
+ '[0, 0.032]': 1.2,
+ '[0.032, 0.128]': 2.4,
+ '[0.128, infinity]': 3,
},
pricingParams: ['textInputRange'],
},
@@ -2584,9 +2451,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 10,
- '[0.032, 0.128]': 16,
- '[0.128, 0.252]': 28,
+ '[0, 0.032]': 6,
+ '[0.032, 0.128]': 12,
+ '[0.128, infinity]': 15,
},
pricingParams: ['textInputRange'],
},
@@ -2622,14 +2489,14 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{
lookup: {
prices: {
- '[0, 0.032]': 6 * 0.2,
- '[0.032, 0.128]': 10 * 0.2,
- '[0.128, infinity]': 15 * 0.2,
+ '[0, 0.032]': 0.24,
+ '[0.032, 0.128]': 0.48,
+ '[0.128, infinity]': 0.6,
},
pricingParams: ['textInputRange'],
},
@@ -2640,9 +2507,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 6,
- '[0.032, 0.128]': 10,
- '[0.128, infinity]': 15,
+ '[0, 0.032]': 1.2,
+ '[0.032, 0.128]': 2.4,
+ '[0.128, infinity]': 3,
},
pricingParams: ['textInputRange'],
},
@@ -2653,9 +2520,9 @@ const qwenChatModels: AIChatModelCard[] = [
{
lookup: {
prices: {
- '[0, 0.032]': 24,
- '[0.032, 0.128]': 40,
- '[0.128, infinity]': 60,
+ '[0, 0.032]': 6,
+ '[0.032, 0.128]': 12,
+ '[0.128, infinity]': 15,
},
pricingParams: ['textInputRange'],
},
@@ -2689,11 +2556,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 2.4 * 0.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 9.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 6.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -2744,13 +2610,13 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 7, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'audioInput', rate: 53, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'imageInput', rate: 7, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 40, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'audioOutput', rate: 213, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioInput', rate: 11, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 1.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioOutput', rate: 44, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-03-30',
@@ -2778,13 +2644,13 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 65_536,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'audioInput', rate: 18, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'imageInput', rate: 2.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 13.3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'audioOutput', rate: 72, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioOutput', rate: 11.9, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-03-30',
@@ -2813,13 +2679,13 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 16_384,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 1.8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'audioInput', rate: 15.8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'imageInput', rate: 3.3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 6.9, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'audioOutput', rate: 62.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.43, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioInput', rate: 3.81, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 0.78, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.66, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioOutput', rate: 15.11, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-12-04',
@@ -2845,10 +2711,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 2048,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 4.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.63, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -2868,10 +2734,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 2048,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.28, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.84, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -2893,11 +2759,11 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.8 * 0.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 0.8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.042, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.63, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -2919,11 +2785,11 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 1.6 * 0.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 1.6, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.16, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 3.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -2944,10 +2810,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 4096,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.07, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.16, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -2967,10 +2833,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.75, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 7.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -2992,10 +2858,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.75, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.8, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -3015,10 +2881,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.18, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -3040,10 +2906,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.18, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.7, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -3063,10 +2929,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -3088,10 +2954,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.6, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -3111,10 +2977,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.16, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.64, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -3136,10 +3002,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 32_768,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.16, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.64, strategy: 'fixed', unit: 'millionTokens' },
],
},
type: 'chat',
@@ -3291,10 +3157,10 @@ const qwenChatModels: AIChatModelCard[] = [
maxOutput: 8192,
organization: 'Qwen',
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 32, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.8, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-05-15',
@@ -3824,8 +3690,8 @@ const qwenImageModels: AIImageModelCard[] = [
promptExtend: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.1, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.015, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-12-19',
type: 'image',
@@ -3851,8 +3717,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.5, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.075, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2026-04-22',
type: 'image',
@@ -3877,8 +3743,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.5, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.075, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2026-03-03',
type: 'image',
@@ -3904,8 +3770,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.035, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2026-03-03',
type: 'image',
@@ -3930,8 +3796,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.5, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.075, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2026-01-17',
type: 'image',
@@ -3956,8 +3822,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.03, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-12-23',
type: 'image',
@@ -3980,8 +3846,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.3, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.045, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-09-18',
type: 'image',
@@ -4005,8 +3871,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.5, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.075, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-12-31',
type: 'image',
@@ -4030,8 +3896,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.03, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2026-01-12',
type: 'image',
@@ -4055,8 +3921,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.25, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.035, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-08-13',
type: 'image',
@@ -4081,8 +3947,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.5, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.075, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2026-04-01',
type: 'image',
@@ -4107,8 +3973,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.03, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2026-04-01',
type: 'image',
@@ -4133,8 +3999,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.03, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-07-28',
type: 'image',
@@ -4157,8 +4023,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.03, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-12-16',
type: 'image',
@@ -4182,8 +4048,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.03, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-09-23',
type: 'image',
@@ -4205,8 +4071,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.03, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-09-23',
type: 'image',
@@ -4228,8 +4094,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.14, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.025, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-07-28',
type: 'image',
@@ -4251,8 +4117,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.05, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-07-28',
type: 'image',
@@ -4274,8 +4140,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.14, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.025, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-01-08',
type: 'image',
@@ -4297,8 +4163,8 @@ const qwenImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.2, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.05, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-01-08',
type: 'image',
@@ -4431,8 +4297,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1.6, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.24, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-04-22',
type: 'video',
@@ -4462,8 +4328,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1.6, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.24, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-04-26',
type: 'video',
@@ -4489,8 +4355,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1.6, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.24, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-04-21',
type: 'video',
@@ -4519,8 +4385,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-04-26',
type: 'video',
@@ -4548,8 +4414,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-04-03',
type: 'video',
@@ -4580,8 +4446,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-04-03',
type: 'video',
@@ -4608,8 +4474,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-04-26',
type: 'video',
@@ -4635,8 +4501,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-04-03',
type: 'video',
@@ -4662,8 +4528,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.5, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.075, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-01-17',
type: 'video',
@@ -4688,8 +4554,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-12-16',
type: 'video',
@@ -4727,8 +4593,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.075, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-12-16',
type: 'video',
@@ -4765,8 +4631,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.5, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-12-16',
type: 'video',
@@ -4799,8 +4665,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-12-16',
type: 'video',
@@ -4824,8 +4690,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-09-23',
type: 'video',
@@ -4860,8 +4726,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.15, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-09-23',
type: 'video',
@@ -4887,8 +4753,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.2, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.036, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-09-12',
type: 'video',
@@ -4939,8 +4805,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.2, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.036, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-08-11',
type: 'video',
@@ -4964,8 +4830,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.7, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.1, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-07-28',
type: 'video',
@@ -4995,8 +4861,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.7, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.1, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-07-28',
type: 'video',
@@ -5019,8 +4885,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.24, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.036, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-02-25',
type: 'video',
@@ -5044,8 +4910,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.7, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.1, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-01-17',
type: 'video',
@@ -5074,8 +4940,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.24, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.036, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-01-08',
type: 'video',
@@ -5096,8 +4962,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.7, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.1, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2025-01-08',
type: 'video',
@@ -5701,8 +5567,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.36, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.054, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-03-30',
type: 'video',
@@ -5798,8 +5664,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.36, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.054, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-03-30',
type: 'video',
@@ -5883,8 +5749,8 @@ const qwenVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 0.36, strategy: 'fixed', unit: 'second' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.054, strategy: 'fixed', unit: 'second' }],
},
releasedAt: '2026-03-30',
type: 'video',
diff --git a/packages/model-bank/src/aiModels/xai.ts b/packages/model-bank/src/aiModels/xai.ts
index 6af7d8e50f3..e33e9cddc4f 100644
--- a/packages/model-bank/src/aiModels/xai.ts
+++ b/packages/model-bank/src/aiModels/xai.ts
@@ -356,6 +356,70 @@ const xaiChatModels: AIChatModelCard[] = [
];
const xaiImageModels: AIImageModelCard[] = [
+ {
+ description:
+ 'Generate images from text prompts, edit existing images with up to 5 reference images, or iteratively refine images through multi-turn conversations, with selectable quality.',
+ displayName: 'Grok Imagine Image 2.0',
+ enabled: true,
+ id: 'grok-imagine-image-2.0',
+ parameters: {
+ aspectRatio: {
+ default: 'auto',
+ enum: [
+ 'auto',
+ '1:1',
+ '3:4',
+ '4:3',
+ '9:16',
+ '16:9',
+ '2:3',
+ '3:2',
+ '9:19.5',
+ '19.5:9',
+ '9:20',
+ '20:9',
+ '1:2',
+ '2:1',
+ '21:9',
+ '5:2',
+ ],
+ },
+ imageUrls: { default: [], maxCount: 5 },
+ prompt: {
+ default: '',
+ },
+ // The API also accepts `auto` (the default), which serves `low` for generation and `medium`
+ // for editing; the card pins `low` so the lookup key is always defined.
+ quality: {
+ default: 'low',
+ enum: ['low', 'medium'],
+ },
+ resolution: {
+ default: '1k',
+ enum: ['1k', '2k'],
+ },
+ },
+ pricing: {
+ units: [
+ {
+ // Output price per image by `${quality}_${resolution}`. xAI also lists 1.5K tiers
+ // ($0.05 low, $0.07 medium) but its resolution parameter only accepts 1k and 2k.
+ // https://docs.x.ai/developers/pricing
+ lookup: {
+ prices: { low_1k: 0.04, low_2k: 0.06, medium_1k: 0.06, medium_2k: 0.08 },
+ pricingParams: ['quality', 'resolution'],
+ },
+ name: 'imageGeneration',
+ strategy: 'lookup',
+ unit: 'image',
+ },
+ // Every reference image sent with a request is billed.
+ { name: 'imageInput', rate: 0.01, strategy: 'fixed', unit: 'image' },
+ ],
+ },
+ releasedAt: '2026-08-08',
+ type: 'image',
+ },
{
description:
'Generate images from text prompts, edit existing images with natural language, or iteratively refine images through multi-turn conversations.',
diff --git a/packages/model-bank/src/aiModels/xiaomimimo.ts b/packages/model-bank/src/aiModels/xiaomimimo.ts
index b8a826e4efd..5227d2c63c7 100644
--- a/packages/model-bank/src/aiModels/xiaomimimo.ts
+++ b/packages/model-bank/src/aiModels/xiaomimimo.ts
@@ -1,5 +1,6 @@
import type { AIChatModelCard } from '../types/aiModel';
+// Overseas (USD) price: https://mimo.mi.com/docs/en-US/pricing
const xiaomimimoChatModels: AIChatModelCard[] = [
{
abilities: {
@@ -21,11 +22,11 @@ const xiaomimimoChatModels: AIChatModelCard[] = [
id: 'mimo-v2.6-pro',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.025, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.0036, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.435, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.87, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-09-22',
@@ -55,11 +56,11 @@ const xiaomimimoChatModels: AIChatModelCard[] = [
id: 'mimo-v2.6-pro-ultraspeed',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 60, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.036, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 4.35, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8.7, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-09-22',
@@ -89,11 +90,11 @@ const xiaomimimoChatModels: AIChatModelCard[] = [
id: 'mimo-v2.6-flash',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.02, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.0028, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.14, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.28, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-09-22',
@@ -120,11 +121,11 @@ const xiaomimimoChatModels: AIChatModelCard[] = [
knowledgeCutoff: '2024-12',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.025, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.0036, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.435, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.87, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-04-22',
@@ -153,11 +154,11 @@ const xiaomimimoChatModels: AIChatModelCard[] = [
knowledgeCutoff: '2024-12',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.02, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.0028, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.14, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.28, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-04-22',
diff --git a/packages/model-bank/src/aiModels/zhipu.ts b/packages/model-bank/src/aiModels/zhipu.ts
index a29840911ff..84a1204cb58 100644
--- a/packages/model-bank/src/aiModels/zhipu.ts
+++ b/packages/model-bank/src/aiModels/zhipu.ts
@@ -4,7 +4,8 @@ import {
type AIVideoModelCard,
} from '../types/aiModel';
-// price: https://bigmodel.cn/pricing
+// USD price: https://docs.z.ai/guides/overview/pricing
+// CNY price (cards z.ai does not sell): https://bigmodel.cn/pricing
// ref: https://docs.bigmodel.cn/cn/guide/start/model-overview
const zhipuChatModels: AIChatModelCard[] = [
@@ -25,11 +26,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-5.3',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 28, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.26, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-08-14',
@@ -60,11 +61,11 @@ const zhipuChatModels: AIChatModelCard[] = [
// List price; the 50% launch promo ends 2026-09-09, so it is intentionally not encoded here.
// https://docs.bigmodel.cn/cn/guide/models/vlm/glm-5.3-flash
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.23, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 0.8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 2.8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-08-26',
@@ -90,11 +91,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-5.2',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 28, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.26, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-06-17',
@@ -119,44 +120,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-5.1',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 1.3,
- '[0.032, infinity]': 2,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 6,
- '[0.032, infinity]': 8,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 24,
- '[0.032, infinity]': 28,
- },
- pricingParams: ['textInput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.26, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-03-27',
@@ -184,44 +152,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-5v-turbo',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 1.2,
- '[0.032, infinity]': 1.8,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 5,
- '[0.032, infinity]': 7,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 22,
- '[0.032, infinity]': 26,
- },
- pricingParams: ['textInput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.24, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -245,44 +180,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-5-turbo',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 1.2,
- '[0.032, infinity]': 1.8,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 5,
- '[0.032, infinity]': 7,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 22,
- '[0.032, infinity]': 26,
- },
- pricingParams: ['textInput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.24, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-03-15',
@@ -307,44 +209,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-5',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 1,
- '[0.032, infinity]': 1.5,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 4,
- '[0.032, infinity]': 6,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 18,
- '[0.032, infinity]': 22,
- },
- pricingParams: ['textInput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 3.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-02-12',
@@ -369,47 +238,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.7',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 0.4,
- '[0, 0.032]_[0.0002, infinity]': 0.6,
- '[0.032, 0.2]': 0.8,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 2,
- '[0, 0.032]_[0.0002, infinity]': 3,
- '[0.032, 0.2]': 4,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 8,
- '[0, 0.032]_[0.0002, infinity]': 14,
- '[0.032, 0.2]': 16,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.11, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-12-22',
@@ -435,7 +268,7 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.7-flash',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{ name: 'textInput_cacheRead', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
@@ -464,11 +297,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.7-flashx',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.01, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.07, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2026-01-19',
@@ -495,44 +328,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.6v',
maxOutput: 32_768,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 0.2,
- '[0.032, infinity]': 0.4,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 1,
- '[0.032, infinity]': 2,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 3,
- '[0.032, infinity]': 6,
- },
- pricingParams: ['textInput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.9, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-12-08',
@@ -559,44 +359,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.6v-flashx',
maxOutput: 32_768,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 0.03,
- '[0.032, infinity]': 0.03,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 0.15,
- '[0.032, infinity]': 0.3,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 1.5,
- '[0.032, infinity]': 3,
- },
- pricingParams: ['textInput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.004, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.04, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-12-08',
@@ -623,7 +390,7 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.6v-flash',
maxOutput: 32_768,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
{ name: 'textInput_cacheRead', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
@@ -652,47 +419,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.6',
maxOutput: 131_072,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 0.4,
- '[0, 0.032]_[0.0002, infinity]': 0.6,
- '[0.032, 0.2]': 0.8,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 2,
- '[0, 0.032]_[0.0002, infinity]': 3,
- '[0.032, 0.2]': 4,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 8,
- '[0, 0.032]_[0.0002, infinity]': 14,
- '[0.032, 0.2]': 16,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.11, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-09-08',
@@ -719,44 +450,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.5v',
maxOutput: 16_384,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 0.4,
- '[0.032, infinity]': 0.8,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 2,
- '[0.032, infinity]': 4,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 6,
- '[0.032, infinity]': 12,
- },
- pricingParams: ['textInput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.11, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.8, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -780,47 +478,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.5',
maxOutput: 98_304,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 0.4,
- '[0, 0.032]_[0.0002, infinity]': 0.6,
- '[0.032, 0.128]': 0.8,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 2,
- '[0, 0.032]_[0.0002, infinity]': 3,
- '[0.032, 0.128]': 4,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 8,
- '[0, 0.032]_[0.0002, infinity]': 14,
- '[0.032, 0.128]': 16,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.11, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 2.2, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -844,47 +506,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.5-x',
maxOutput: 98_304,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 1.6,
- '[0, 0.032]_[0.0002, infinity]': 2.4,
- '[0.032, 0.128]': 3.2,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 8,
- '[0, 0.032]_[0.0002, infinity]': 12,
- '[0.032, 0.128]': 16,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 16,
- '[0, 0.032]_[0.0002, infinity]': 32,
- '[0.032, 0.128]': 64,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.45, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8.9, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -908,45 +534,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.5-air',
maxOutput: 98_304,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 0.16,
- '[0.032, 0.128]': 0.24,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 0.8,
- '[0.032, 0.128]': 1.2,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 2,
- '[0, 0.032]_[0.0002, infinity]': 6,
- '[0.032, 0.128]': 8,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.1, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -969,45 +561,11 @@ const zhipuChatModels: AIChatModelCard[] = [
id: 'glm-4.5-airx',
maxOutput: 98_304,
pricing: {
- currency: 'CNY',
+ currency: 'USD',
units: [
- {
- lookup: {
- prices: {
- '[0, 0.032]': 0.8,
- '[0.032, 0.128]': 1.6,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput_cacheRead',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]': 4,
- '[0.032, 0.128]': 8,
- },
- pricingParams: ['textInput'],
- },
- name: 'textInput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
- {
- lookup: {
- prices: {
- '[0, 0.032]_[0, 0.0002]': 12,
- '[0, 0.032]_[0.0002, infinity]': 16,
- '[0.032, 0.128]': 32,
- },
- pricingParams: ['textInput', 'textOutput'],
- },
- name: 'textOutput',
- strategy: 'lookup',
- unit: 'millionTokens',
- },
+ { name: 'textInput_cacheRead', rate: 0.22, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 4.5, strategy: 'fixed', unit: 'millionTokens' },
],
},
settings: {
@@ -1496,8 +1054,8 @@ const zhipuImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.1, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.015, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2026-01-14',
type: 'image',
@@ -1523,8 +1081,8 @@ const zhipuImageModels: AIImageModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'imageGeneration', rate: 0.06, strategy: 'fixed', unit: 'image' }],
+ currency: 'USD',
+ units: [{ name: 'imageGeneration', rate: 0.01, strategy: 'fixed', unit: 'image' }],
},
releasedAt: '2025-03-04',
type: 'image',
@@ -1760,8 +1318,8 @@ const zhipuVideoModels: AIVideoModelCard[] = [
watermark: { default: false },
},
pricing: {
- currency: 'CNY',
- units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'video' }],
+ currency: 'USD',
+ units: [{ name: 'videoGeneration', rate: 0.2, strategy: 'fixed', unit: 'video' }],
},
releasedAt: '2025-07-15',
type: 'video',
diff --git a/packages/model-runtime/src/core/usageConverters/utils/computeChatCost.test.ts b/packages/model-runtime/src/core/usageConverters/utils/computeChatCost.test.ts
index edb14ad07f4..c85b5ed1cbb 100644
--- a/packages/model-runtime/src/core/usageConverters/utils/computeChatCost.test.ts
+++ b/packages/model-runtime/src/core/usageConverters/utils/computeChatCost.test.ts
@@ -252,11 +252,11 @@ describe('computeChatPricing', () => {
it('keeps official DeepSeek provider pricing unchanged', () => {
const pricing = deepseekChatModels.find((model) => model.id === 'deepseek-v4-flash')?.pricing;
expect(pricing).toEqual({
- currency: 'CNY',
+ currency: 'USD',
units: [
- { name: 'textInput_cacheRead', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 4.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.006, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
],
});
});
@@ -716,15 +716,10 @@ describe('computeChatPricing', () => {
});
it('bills Gemini Omni video output separately from input and text output', () => {
- const pricing: Pricing = {
- units: [
- { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'imageInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'videoInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 9, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'videoGeneration', rate: 17.5, strategy: 'fixed', unit: 'millionTokens' },
- ],
- };
+ const pricing = googleChatModels.find(
+ (model: { id: string }) => model.id === 'gemini-omni-1.1-flash',
+ )?.pricing;
+ expect(pricing).toBeDefined();
// A real conversational edit: the source video is billed as input.
const usage: ModelTokensUsage = {
@@ -1214,18 +1209,18 @@ describe('computeChatPricing', () => {
const input1 = result1?.breakdown.find((item) => item.unit.name === 'textInput');
expect(input1?.quantity).toBe(100_000);
- expect(input1?.credits).toBe(29_495); // Math.ceil((100,000 * 2.1) / 7.12)
- expect(input1?.segments).toEqual([{ quantity: 100_000, rate: 2.1, credits: 210_000 }]);
+ expect(input1?.credits).toBe(30_000); // 100,000 * 0.3
+ expect(input1?.segments).toEqual([{ quantity: 100_000, rate: 0.3, credits: 30_000 }]);
const cached1 = result1?.breakdown.find((item) => item.unit.name === 'textInput_cacheRead');
expect(cached1?.quantity).toBe(20_000);
- expect(cached1?.credits).toBe(1_180); // Math.ceil((20,000 * 0.42) / 7.12)
- expect(cached1?.segments).toEqual([{ quantity: 20_000, rate: 0.42, credits: 8_400 }]);
+ expect(cached1?.credits).toBe(1_200); // 20,000 * 0.06
+ expect(cached1?.segments).toEqual([{ quantity: 20_000, rate: 0.06, credits: 1_200 }]);
const output1 = result1?.breakdown.find((item) => item.unit.name === 'textOutput');
expect(output1?.quantity).toBe(10_000);
- expect(output1?.credits).toBe(11_798); // Math.ceil((10,000 * 8.4) / 7.12)
- expect(output1?.segments).toEqual([{ quantity: 10_000, rate: 8.4, credits: 84_000 }]);
+ expect(output1?.credits).toBe(12_000); // 10,000 * 1.2
+ expect(output1?.segments).toEqual([{ quantity: 10_000, rate: 1.2, credits: 12_000 }]);
// Higher tier test (> 512,000 tokens)
const usage2: ModelTokensUsage = {
@@ -1244,18 +1239,18 @@ describe('computeChatPricing', () => {
const input2 = result2?.breakdown.find((item) => item.unit.name === 'textInput');
expect(input2?.quantity).toBe(500_000);
- expect(input2?.credits).toBe(294_944); // Math.ceil((500,000 * 4.2) / 7.12)
- expect(input2?.segments).toEqual([{ quantity: 500_000, rate: 4.2, credits: 2_100_000 }]);
+ expect(input2?.credits).toBe(300_000); // 500,000 * 0.6
+ expect(input2?.segments).toEqual([{ quantity: 500_000, rate: 0.6, credits: 300_000 }]);
const cached2 = result2?.breakdown.find((item) => item.unit.name === 'textInput_cacheRead');
expect(cached2?.quantity).toBe(100_000);
- expect(cached2?.credits).toBe(11_798); // Math.ceil((100,000 * 0.84) / 7.12)
- expect(cached2?.segments).toEqual([{ quantity: 100_000, rate: 0.84, credits: 84_000 }]);
+ expect(cached2?.credits).toBe(12_000); // 100,000 * 0.12
+ expect(cached2?.segments).toEqual([{ quantity: 100_000, rate: 0.12, credits: 12_000 }]);
const output2 = result2?.breakdown.find((item) => item.unit.name === 'textOutput');
expect(output2?.quantity).toBe(50_000);
- expect(output2?.credits).toBe(117_978); // Math.ceil((50,000 * 16.8) / 7.12)
- expect(output2?.segments).toEqual([{ quantity: 50_000, rate: 16.8, credits: 840_000 }]);
+ expect(output2?.credits).toBe(120_000); // 50,000 * 2.4
+ expect(output2?.segments).toEqual([{ quantity: 50_000, rate: 2.4, credits: 120_000 }]);
});
});