@zhivex-ai/qwen 0.10.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,6 +32,22 @@ Supported region values are `singapore`, `beijing`, `hong-kong`, `tokyo`, `frank
32
32
 
33
33
  Qwen speech downloads accept HTTPS audio URLs only, validate every redirect manually, and never forward the provider API key to the media host.
34
34
 
35
+ ### Qwen 3.8 Flash
36
+
37
+ `qwen3.8-flash` is the low-latency Qwen 3.8 production model exposed through standard QwenCloud/Alibaba Cloud Model Studio credentials and compatible endpoints. It provides a 1M-token context window, up to 128K output tokens, text/image/video input, hybrid reasoning, function calling, built-in tools, parallel function calls, and native JSON Schema structured output. Published pay-as-you-go pricing is $0.16 per million input tokens, $0.47 per million output tokens, and $0.016 per million implicit-cache input tokens.
38
+
39
+ ```ts
40
+ const qwen = createQwen({
41
+ apiKey: process.env.DASHSCOPE_API_KEY
42
+ });
43
+
44
+ const model = qwen("qwen3.8-flash");
45
+ ```
46
+
47
+ Responses accepts all seven shared reasoning efforts (`none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`) directly. Chat Completions normalizes them to Qwen's native `low`, `medium`, and `xhigh` values; `none` disables thinking. Chat always preserves thinking history, uses `max_completion_tokens`, and routes video `FilePart` inputs as `video_url`. Reasoning effort and thinking budget are mutually exclusive, and the adapter caps thinking budgets at the documented 262144-token maximum.
48
+
49
+ The model uses a standard Model Studio endpoint and key. The adapter rejects `QWEN_TOKEN_PLAN_BASE_URL`, which remains exclusive to `qwen3.8-max-preview`. Upstream model availability is still account- and region-dependent.
50
+
35
51
  ### Qwen 3.8 Max
36
52
 
37
53
  `qwen3.8-max` is the production Qwen 3.8 flagship exposed through standard Alibaba Cloud Model Studio credentials and compatible endpoints, including regional workspace endpoints. It has a 1M-token context window and supports text, image and video understanding, hybrid reasoning, function calling, built-in tools, parallel function calls, and JSON structured output.
@@ -90,7 +106,7 @@ Use `providerOptions: { apiMode: "responses" }` or `{ apiMode: "chat" }` only wh
90
106
 
91
107
  `qwen3.5-omni-plus` and `qwen3.5-omni-flash` are streaming-only Chat Completions models. Use `streamText()` for them; the adapter rejects `generateText()`, Responses-only hosted tools, file inputs, and reasoning controls that those models do not support. Text output is selected by default with `modalities: ["text"]`, while an explicit compatible `modalities` option is preserved.
92
108
 
93
- Qwen Chat Completions supports JSON-object mode but does not currently enforce a JSON Schema natively. `generateObject()` therefore sends JSON mode plus a schema system prompt and validates the result locally:
109
+ Qwen Chat Completions supports JSON-object mode across the compatible families. `qwen3.8-flash` additionally receives the native `json_schema` request shape; other supported models use JSON mode plus a schema system prompt, and every result is validated locally:
94
110
 
95
111
  ```ts
96
112
  import { generateObject } from "@zhivex-ai/sdk";
@@ -105,7 +121,7 @@ const result = await generateObject({
105
121
 
106
122
  For older Qwen families, Responses reasoning maps shared `effort` to `reasoning.effort` (`low` becomes Qwen `minimal`), while Chat reasoning maps to `enable_thinking` and `budgetTokens` to `thinking_budget`.
107
123
 
108
- `qwen3.8-max` uses its stricter model-specific mapping described above, keeps native structured output enabled in thinking and non-thinking modes, accepts images through either compatible API, and routes video through Chat. With no explicit reasoning option, the provider leaves Qwen's thinking-enabled default intact.
124
+ `qwen3.8-flash` and `qwen3.8-max` use the stricter production mapping described above, accept images through either compatible API, and route video through Chat. With no explicit reasoning option, the provider leaves Qwen's thinking-enabled default intact. Flash uses native JSON Schema; Max retains JSON-object mode with local schema validation.
109
125
 
110
126
  `qwen3.8-max-preview` has a stricter contract:
111
127
 
@@ -117,7 +133,7 @@ For older Qwen families, Responses reasoning maps shared `effort` to `reasoning.
117
133
  - Because this preview is always thinking, forced or named tool choices are rejected; use `toolChoice: "auto"` or `"none"`.
118
134
  - The model supports text, images, function calling, and built-in tools. It does not support native structured output or JSON mode. `generateObject({ mode: "native" })` is rejected through its capabilities; the default `auto` mode can still use prompted output with local schema validation.
119
135
 
120
- For the final model contract, see Alibaba Cloud Model Studio's official [model list](https://help.aliyun.com/en/model-studio/models), [deep-thinking controls](https://help.aliyun.com/en/model-studio/deep-thinking), [OpenAI-compatible Chat contract](https://help.aliyun.com/en/model-studio/qwen-api-via-openai-chat-completions), [Responses contract](https://help.aliyun.com/en/model-studio/qwen-api-via-openai-responses), and [structured-output guide](https://help.aliyun.com/en/model-studio/qwen-structured-output).
136
+ For the production model contracts, see QwenCloud's official [Qwen 3.8 Flash model page](https://www.qwencloud.com/models/qwen3.8-flash), [text-model guide](https://docs.qwencloud.com/developer-guides/getting-started/text-generation-models), [vision-model guide](https://docs.qwencloud.com/developer-guides/getting-started/vision-models), [OpenAI-compatible Chat contract](https://docs.qwencloud.com/api-reference/chat/openai-chat), [Responses contract](https://docs.qwencloud.com/api-reference/chat/openai-responses), and [structured-output guide](https://docs.qwencloud.com/developer-guides/text-generation/structured-output). The Qwen 3.8 Max contract is also documented in Alibaba Cloud Model Studio's official [model list](https://help.aliyun.com/en/model-studio/models).
121
137
 
122
138
  For the preview contract, see QwenCloud's official [Token Plan quickstart](https://docs.qwencloud.com/token-plan/quickstart), [Token Plan terms](https://docs.qwencloud.com/token-plan/personal/token-plan-personal-overview), [OpenAI-compatible Chat contract](https://docs.qwencloud.com/api-reference/chat/openai-chat), and [Responses contract](https://docs.qwencloud.com/api-reference/chat/openai-responses).
123
139
 
@@ -263,7 +279,7 @@ Authenticated realtime connections use the package's Node/Bun `ws` transport by
263
279
 
264
280
  ## Current catalog coverage
265
281
 
266
- The default catalog includes current text and multimodal Qwen families plus the specialized IDs wired above: `qwen3.8-max` for standard Model Studio production traffic, `qwen3.8-max-preview` for Token Plan, `qwen3.7-plus`, `qwen3.7-max`, `qwen3.6-flash`, `qwen3.5-omni-plus`, `qwen3.5-omni-plus-realtime`, `qwen3.5-ocr`, `tongyi-embedding-vision-plus` for international/Singapore, `qwen3-vl-embedding` for Beijing, `qwen3-rerank`, `qwen3-asr-flash`, `qwen3-tts-flash`, `qwen-image-2.0-pro`, and `wan2.7-t2v`.
282
+ The default catalog includes current text and multimodal Qwen families plus the specialized IDs wired above: `qwen3.8-flash` and `qwen3.8-max` for standard Model Studio production traffic, `qwen3.8-max-preview` for Token Plan, `qwen3.7-plus`, `qwen3.7-max`, `qwen3.6-flash`, `qwen3.5-omni-plus`, `qwen3.5-omni-plus-realtime`, `qwen3.5-ocr`, `tongyi-embedding-vision-plus` for international/Singapore, `qwen3-vl-embedding` for Beijing, `qwen3-rerank`, `qwen3-asr-flash`, `qwen3-tts-flash`, `qwen-image-2.0-pro`, and `wan2.7-t2v`.
267
283
 
268
284
  Run opt-in live coverage with:
269
285
 
@@ -271,9 +287,9 @@ Run opt-in live coverage with:
271
287
  QWEN_EXTENDED_INTEGRATION=1 bun --env-file=.env run test:integration:qwen
272
288
  ```
273
289
 
274
- The shared provider smoke keeps `qwen3.7-plus` as its compatibility default. Certify the final model explicitly with `QWEN_INTEGRATION_MODEL=qwen3.8-max`; the standard international endpoint can be used when the account exposes the model there, while `QWEN_WORKSPACE_ID` and `QWEN_REGION` select an explicit regional workspace (use `beijing` for the currently documented Responses model list). Set only the extended surfaces you want to exercise: `QWEN_MULTIMODAL_EMBEDDING_MODEL`, `QWEN_MULTIMODAL_IMAGE_URL`, `QWEN_RERANK_MODEL`, `QWEN_ASR_MODEL`, `QWEN_ASR_AUDIO_URL`, `QWEN_TTS_MODEL`, `QWEN_IMAGE_MODEL`, `QWEN_VIDEO_MODEL`, and `QWEN_REALTIME_MODEL`. For the default international endpoint, use `tongyi-embedding-vision-plus`; use `qwen3-vl-embedding` only with a Beijing workspace. Workspace and endpoint overrides use `QWEN_WORKSPACE_ID`, `QWEN_REGION`, `QWEN_BASE_URL`, `QWEN_TASK_BASE_URL`, and `QWEN_REALTIME_URL`.
290
+ The shared provider smoke keeps `qwen3.7-plus` as its compatibility default. Certify Flash explicitly with `QWEN_INTEGRATION_MODEL=qwen3.8-flash`, or Max with `QWEN_INTEGRATION_MODEL=qwen3.8-max`. For those two hybrid production IDs only, the tool-loop check disables thinking, forces the named tool on the first model step, and returns to automatic selection for the final answer; earlier Qwen families keep their existing smoke behavior, and the thinking-only preview is not given these overrides. The standard international endpoint can be used when the account exposes the selected model there, while `QWEN_WORKSPACE_ID` and `QWEN_REGION` select an explicit regional workspace. Set only the extended surfaces you want to exercise: `QWEN_MULTIMODAL_EMBEDDING_MODEL`, `QWEN_MULTIMODAL_IMAGE_URL`, `QWEN_RERANK_MODEL`, `QWEN_ASR_MODEL`, `QWEN_ASR_AUDIO_URL`, `QWEN_TTS_MODEL`, `QWEN_IMAGE_MODEL`, `QWEN_VIDEO_MODEL`, and `QWEN_REALTIME_MODEL`. For the default international endpoint, use `tongyi-embedding-vision-plus`; use `qwen3-vl-embedding` only with a Beijing workspace. Workspace and endpoint overrides use `QWEN_WORKSPACE_ID`, `QWEN_REGION`, `QWEN_BASE_URL`, `QWEN_TASK_BASE_URL`, and `QWEN_REALTIME_URL`.
275
291
 
276
- The catalog intentionally omits a price for `qwen3.8-max` until Alibaba Cloud publishes a stable public rate for the final model.
292
+ The catalog records QwenCloud's published `qwen3.8-flash` input, output, and implicit-cache rates. It intentionally omits a price for `qwen3.8-max` until Alibaba Cloud publishes a stable public rate for that model.
277
293
 
278
294
  Repository and full documentation:
279
295
 
@@ -0,0 +1,9 @@
1
+ import type { ModelCapabilities } from "@zhivex-ai/core";
2
+ export declare const capabilities: ModelCapabilities;
3
+ export declare const embeddingCapabilities: ModelCapabilities;
4
+ export declare const transcriptionCapabilities: ModelCapabilities;
5
+ export declare const speechCapabilities: ModelCapabilities;
6
+ export declare const imageGenerationCapabilities: ModelCapabilities;
7
+ export declare const videoGenerationCapabilities: ModelCapabilities;
8
+ export declare const realtimeCapabilities: ModelCapabilities;
9
+ //# sourceMappingURL=capabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,eAAO,MAAM,YAAY,EAAE,iBA0B1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,iBAyBnC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,iBAGvC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAGhC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,iBAGzC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,iBAGzC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,iBA8BlC,CAAC"}
@@ -0,0 +1,101 @@
1
+ export const capabilities = {
2
+ streaming: true,
3
+ tools: true,
4
+ structuredOutput: true,
5
+ jsonMode: true,
6
+ toolChoice: true,
7
+ parallelToolCalls: false,
8
+ vision: true,
9
+ files: false,
10
+ audioInput: false,
11
+ audioOutput: false,
12
+ embeddings: true,
13
+ reasoning: false,
14
+ webSearch: true,
15
+ agentCapabilities: {
16
+ supportTier: "tier-b",
17
+ toolChoiceNone: true,
18
+ approvalRequests: false,
19
+ hostedWebSearch: true,
20
+ hostedFileSearch: true,
21
+ remoteMcp: true,
22
+ computerUse: false,
23
+ codeExecution: true,
24
+ webExtraction: true,
25
+ toolsets: false
26
+ }
27
+ };
28
+ export const embeddingCapabilities = {
29
+ streaming: false,
30
+ tools: false,
31
+ structuredOutput: false,
32
+ jsonMode: false,
33
+ toolChoice: false,
34
+ parallelToolCalls: false,
35
+ vision: false,
36
+ files: false,
37
+ audioInput: false,
38
+ audioOutput: false,
39
+ embeddings: true,
40
+ reasoning: false,
41
+ webSearch: false,
42
+ agentCapabilities: {
43
+ supportTier: "tier-c",
44
+ toolChoiceNone: false,
45
+ approvalRequests: false,
46
+ hostedWebSearch: false,
47
+ hostedFileSearch: false,
48
+ remoteMcp: false,
49
+ computerUse: false,
50
+ codeExecution: false,
51
+ toolsets: false
52
+ }
53
+ };
54
+ export const transcriptionCapabilities = {
55
+ ...embeddingCapabilities,
56
+ audioInput: true
57
+ };
58
+ export const speechCapabilities = {
59
+ ...embeddingCapabilities,
60
+ audioOutput: true
61
+ };
62
+ export const imageGenerationCapabilities = {
63
+ ...embeddingCapabilities,
64
+ imageGeneration: true
65
+ };
66
+ export const videoGenerationCapabilities = {
67
+ ...embeddingCapabilities,
68
+ videoGeneration: true
69
+ };
70
+ export const realtimeCapabilities = {
71
+ ...capabilities,
72
+ streaming: false,
73
+ structuredOutput: false,
74
+ jsonMode: false,
75
+ toolChoice: false,
76
+ parallelToolCalls: false,
77
+ files: false,
78
+ audioInput: true,
79
+ audioOutput: true,
80
+ embeddings: false,
81
+ reasoning: false,
82
+ webSearch: false,
83
+ agentCapabilities: {
84
+ ...capabilities.agentCapabilities,
85
+ toolChoiceNone: true,
86
+ hostedWebSearch: false,
87
+ hostedFileSearch: false,
88
+ remoteMcp: false,
89
+ codeExecution: false,
90
+ webExtraction: false
91
+ },
92
+ realtime: {
93
+ sessions: true,
94
+ audioInput: true,
95
+ audioOutput: true,
96
+ imageInput: true,
97
+ tools: true,
98
+ browserTokens: false
99
+ }
100
+ };
101
+ //# sourceMappingURL=capabilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAsB;IAC7C,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,IAAI;IACX,gBAAgB,EAAE,IAAI;IACtB,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,iBAAiB,EAAE,KAAK;IACxB,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,KAAK;IACZ,UAAU,EAAE,KAAK;IACjB,WAAW,EAAE,KAAK;IAClB,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,KAAK;IAChB,SAAS,EAAE,IAAI;IACf,iBAAiB,EAAE;QACjB,WAAW,EAAE,QAAQ;QACrB,cAAc,EAAE,IAAI;QACpB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,IAAI;QACrB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,EAAE,KAAK;IAChB,gBAAgB,EAAE,KAAK;IACvB,QAAQ,EAAE,KAAK;IACf,UAAU,EAAE,KAAK;IACjB,iBAAiB,EAAE,KAAK;IACxB,KAAK,EAAE,KAAK;IACZ,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,IAAI;IACjB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE,KAAK;IAChB,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE;QACjB,GAAG,YAAY,CAAC,iBAAkB;QAClC,cAAc,EAAE,IAAI;QACpB,eAAe,EAAE,KAAK;QACtB,gBAAgB,EAAE,KAAK;QACvB,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,KAAK;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,IAAI;QAChB,KAAK,EAAE,IAAI;QACX,aAAa,EAAE,KAAK;KACrB;CACF,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,4 @@
1
- import { type AudioResponseLimits, type ProviderAdapter, type EmbedInput, type EmbeddingModel, type EmbedResult, type JsonValue, type LanguageModel, type MediaInput, type PredictionOperation, type RealtimeConnectionFactory } from "@zhivex-ai/core";
2
- type TypedCallableProviderAdapter<TLanguageModel extends LanguageModel> = Omit<ProviderAdapter, "languageModel"> & ((modelId: string) => TLanguageModel) & {
3
- languageModel(modelId: string): TLanguageModel;
4
- };
1
+ import { type AudioResponseLimits, type CallableProviderAdapter, type EmbedInput, type EmbeddingModel, type EmbedResult, type JsonValue, type LanguageModel, type MediaInput, type PredictionOperation, type RealtimeConnectionFactory } from "@zhivex-ai/core";
5
2
  export interface QwenProviderOptions {
6
3
  apiKey?: string;
7
4
  workspaceId?: string;
@@ -97,7 +94,7 @@ export interface QwenTasksClient {
97
94
  retryBackoffMs?: number;
98
95
  }): Promise<PredictionOperation>;
99
96
  }
100
- export type QwenProvider = TypedCallableProviderAdapter<LanguageModel<QwenLanguageModelOptions>> & {
97
+ export type QwenProvider = CallableProviderAdapter<LanguageModel<QwenLanguageModelOptions>> & {
101
98
  rawFetch: typeof globalThis.fetch;
102
99
  rerankModel(modelId: string): QwenRerankModel;
103
100
  multimodalEmbeddingModel(modelId: string): QwenMultimodalEmbeddingModel;
@@ -111,5 +108,4 @@ export declare const qwenFileSearchTool: (config?: Record<string, unknown>) => i
111
108
  export declare const qwenMcpTool: (config: Record<string, unknown>) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
112
109
  export declare const qwenWebSearchImageTool: (config?: Record<string, unknown>) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
113
110
  export declare const qwenImageSearchTool: (config?: Record<string, unknown>) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
114
- export {};
115
111
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAwBL,KAAK,mBAAmB,EAQxB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,WAAW,EAUhB,KAAK,SAAS,EACd,KAAK,aAAa,EAElB,KAAK,UAAU,EAIf,KAAK,mBAAmB,EAGxB,KAAK,yBAAyB,EAa/B,MAAM,iBAAiB,CAAC;AAEzB,KAAK,4BAA4B,CAAC,cAAc,SAAS,aAAa,IAAI,IAAI,CAC5E,eAAe,EACf,eAAe,CAChB,GACC,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,cAAc,CAAC,GAAG;IACtC,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC;CAChD,CAAC;AAEJ,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,OAAO,CAAC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