@dreb/ai 2.12.0 → 2.12.1

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.
@@ -6776,9 +6776,9 @@ export const MODELS = {
6776
6776
  "qwen3.5-plus": {
6777
6777
  id: "qwen3.5-plus",
6778
6778
  name: "Qwen3.5 Plus",
6779
- api: "openai-completions",
6779
+ api: "anthropic-messages",
6780
6780
  provider: "opencode",
6781
- baseUrl: "https://opencode.ai/zen/v1",
6781
+ baseUrl: "https://opencode.ai/zen",
6782
6782
  reasoning: true,
6783
6783
  input: ["text", "image"],
6784
6784
  cost: {
@@ -6793,9 +6793,9 @@ export const MODELS = {
6793
6793
  "qwen3.6-plus": {
6794
6794
  id: "qwen3.6-plus",
6795
6795
  name: "Qwen3.6 Plus",
6796
- api: "openai-completions",
6796
+ api: "anthropic-messages",
6797
6797
  provider: "opencode",
6798
- baseUrl: "https://opencode.ai/zen/v1",
6798
+ baseUrl: "https://opencode.ai/zen",
6799
6799
  reasoning: true,
6800
6800
  input: ["text", "image"],
6801
6801
  cost: {
@@ -6948,9 +6948,9 @@ export const MODELS = {
6948
6948
  "qwen3.5-plus": {
6949
6949
  id: "qwen3.5-plus",
6950
6950
  name: "Qwen3.5 Plus",
6951
- api: "openai-completions",
6951
+ api: "anthropic-messages",
6952
6952
  provider: "opencode-go",
6953
- baseUrl: "https://opencode.ai/zen/go/v1",
6953
+ baseUrl: "https://opencode.ai/zen/go",
6954
6954
  reasoning: true,
6955
6955
  input: ["text", "image"],
6956
6956
  cost: {
@@ -6965,9 +6965,9 @@ export const MODELS = {
6965
6965
  "qwen3.6-plus": {
6966
6966
  id: "qwen3.6-plus",
6967
6967
  name: "Qwen3.6 Plus",
6968
- api: "openai-completions",
6968
+ api: "anthropic-messages",
6969
6969
  provider: "opencode-go",
6970
- baseUrl: "https://opencode.ai/zen/go/v1",
6970
+ baseUrl: "https://opencode.ai/zen/go",
6971
6971
  reasoning: true,
6972
6972
  input: ["text", "image"],
6973
6973
  cost: {
@@ -8112,13 +8112,13 @@ export const MODELS = {
8112
8112
  reasoning: false,
8113
8113
  input: ["text"],
8114
8114
  cost: {
8115
- input: 0.12,
8116
- output: 0.38,
8115
+ input: 0.09999999999999999,
8116
+ output: 0.32,
8117
8117
  cacheRead: 0,
8118
8118
  cacheWrite: 0,
8119
8119
  },
8120
8120
  contextWindow: 131072,
8121
- maxTokens: 131072,
8121
+ maxTokens: 16384,
8122
8122
  },
8123
8123
  "meta-llama/llama-3.3-70b-instruct:free": {
8124
8124
  id: "meta-llama/llama-3.3-70b-instruct:free",
@@ -8707,8 +8707,8 @@ export const MODELS = {
8707
8707
  reasoning: true,
8708
8708
  input: ["text", "image"],
8709
8709
  cost: {
8710
- input: 0.6,
8711
- output: 2.8,
8710
+ input: 0.7999999999999999,
8711
+ output: 3.5,
8712
8712
  cacheRead: 0.19999999999999998,
8713
8713
  cacheWrite: 0,
8714
8714
  },
@@ -9225,40 +9225,6 @@ export const MODELS = {
9225
9225
  contextWindow: 400000,
9226
9226
  maxTokens: 128000,
9227
9227
  },
9228
- "openai/gpt-5-image": {
9229
- id: "openai/gpt-5-image",
9230
- name: "OpenAI: GPT-5 Image",
9231
- api: "openai-completions",
9232
- provider: "openrouter",
9233
- baseUrl: "https://openrouter.ai/api/v1",
9234
- reasoning: true,
9235
- input: ["text", "image"],
9236
- cost: {
9237
- input: 10,
9238
- output: 10,
9239
- cacheRead: 1.25,
9240
- cacheWrite: 0,
9241
- },
9242
- contextWindow: 400000,
9243
- maxTokens: 128000,
9244
- },
9245
- "openai/gpt-5-image-mini": {
9246
- id: "openai/gpt-5-image-mini",
9247
- name: "OpenAI: GPT-5 Image Mini",
9248
- api: "openai-completions",
9249
- provider: "openrouter",
9250
- baseUrl: "https://openrouter.ai/api/v1",
9251
- reasoning: true,
9252
- input: ["text", "image"],
9253
- cost: {
9254
- input: 2.5,
9255
- output: 2,
9256
- cacheRead: 0.25,
9257
- cacheWrite: 0,
9258
- },
9259
- contextWindow: 400000,
9260
- maxTokens: 128000,
9261
- },
9262
9228
  "openai/gpt-5-mini": {
9263
9229
  id: "openai/gpt-5-mini",
9264
9230
  name: "OpenAI: GPT-5 Mini",