@threadwell/ai 0.0.6 → 0.0.7

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.
@@ -15460,227 +15460,6 @@ export const MODELS = {
15460
15460
  contextWindow: 8192,
15461
15461
  maxTokens: 4096,
15462
15462
  },
15463
- "grok-3": {
15464
- id: "grok-3",
15465
- name: "Grok 3",
15466
- api: "openai-completions",
15467
- provider: "xai",
15468
- baseUrl: "https://api.x.ai/v1",
15469
- reasoning: false,
15470
- input: ["text"],
15471
- cost: {
15472
- input: 3,
15473
- output: 15,
15474
- cacheRead: 0.75,
15475
- cacheWrite: 0,
15476
- },
15477
- contextWindow: 131072,
15478
- maxTokens: 8192,
15479
- },
15480
- "grok-3-fast": {
15481
- id: "grok-3-fast",
15482
- name: "Grok 3 Fast",
15483
- api: "openai-completions",
15484
- provider: "xai",
15485
- baseUrl: "https://api.x.ai/v1",
15486
- reasoning: false,
15487
- input: ["text"],
15488
- cost: {
15489
- input: 5,
15490
- output: 25,
15491
- cacheRead: 1.25,
15492
- cacheWrite: 0,
15493
- },
15494
- contextWindow: 131072,
15495
- maxTokens: 8192,
15496
- },
15497
- "grok-3-fast-latest": {
15498
- id: "grok-3-fast-latest",
15499
- name: "Grok 3 Fast Latest",
15500
- api: "openai-completions",
15501
- provider: "xai",
15502
- baseUrl: "https://api.x.ai/v1",
15503
- reasoning: false,
15504
- input: ["text"],
15505
- cost: {
15506
- input: 5,
15507
- output: 25,
15508
- cacheRead: 1.25,
15509
- cacheWrite: 0,
15510
- },
15511
- contextWindow: 131072,
15512
- maxTokens: 8192,
15513
- },
15514
- "grok-3-latest": {
15515
- id: "grok-3-latest",
15516
- name: "Grok 3 Latest",
15517
- api: "openai-completions",
15518
- provider: "xai",
15519
- baseUrl: "https://api.x.ai/v1",
15520
- reasoning: false,
15521
- input: ["text"],
15522
- cost: {
15523
- input: 3,
15524
- output: 15,
15525
- cacheRead: 0.75,
15526
- cacheWrite: 0,
15527
- },
15528
- contextWindow: 131072,
15529
- maxTokens: 8192,
15530
- },
15531
- "grok-3-mini": {
15532
- id: "grok-3-mini",
15533
- name: "Grok 3 Mini",
15534
- api: "openai-completions",
15535
- provider: "xai",
15536
- baseUrl: "https://api.x.ai/v1",
15537
- reasoning: true,
15538
- input: ["text"],
15539
- cost: {
15540
- input: 0.3,
15541
- output: 0.5,
15542
- cacheRead: 0.075,
15543
- cacheWrite: 0,
15544
- },
15545
- contextWindow: 131072,
15546
- maxTokens: 8192,
15547
- },
15548
- "grok-3-mini-fast": {
15549
- id: "grok-3-mini-fast",
15550
- name: "Grok 3 Mini Fast",
15551
- api: "openai-completions",
15552
- provider: "xai",
15553
- baseUrl: "https://api.x.ai/v1",
15554
- reasoning: true,
15555
- input: ["text"],
15556
- cost: {
15557
- input: 0.6,
15558
- output: 4,
15559
- cacheRead: 0.15,
15560
- cacheWrite: 0,
15561
- },
15562
- contextWindow: 131072,
15563
- maxTokens: 8192,
15564
- },
15565
- "grok-3-mini-fast-latest": {
15566
- id: "grok-3-mini-fast-latest",
15567
- name: "Grok 3 Mini Fast Latest",
15568
- api: "openai-completions",
15569
- provider: "xai",
15570
- baseUrl: "https://api.x.ai/v1",
15571
- reasoning: true,
15572
- input: ["text"],
15573
- cost: {
15574
- input: 0.6,
15575
- output: 4,
15576
- cacheRead: 0.15,
15577
- cacheWrite: 0,
15578
- },
15579
- contextWindow: 131072,
15580
- maxTokens: 8192,
15581
- },
15582
- "grok-3-mini-latest": {
15583
- id: "grok-3-mini-latest",
15584
- name: "Grok 3 Mini Latest",
15585
- api: "openai-completions",
15586
- provider: "xai",
15587
- baseUrl: "https://api.x.ai/v1",
15588
- reasoning: true,
15589
- input: ["text"],
15590
- cost: {
15591
- input: 0.3,
15592
- output: 0.5,
15593
- cacheRead: 0.075,
15594
- cacheWrite: 0,
15595
- },
15596
- contextWindow: 131072,
15597
- maxTokens: 8192,
15598
- },
15599
- "grok-4": {
15600
- id: "grok-4",
15601
- name: "Grok 4",
15602
- api: "openai-completions",
15603
- provider: "xai",
15604
- baseUrl: "https://api.x.ai/v1",
15605
- reasoning: true,
15606
- input: ["text"],
15607
- cost: {
15608
- input: 3,
15609
- output: 15,
15610
- cacheRead: 0.75,
15611
- cacheWrite: 0,
15612
- },
15613
- contextWindow: 256000,
15614
- maxTokens: 64000,
15615
- },
15616
- "grok-4-1-fast": {
15617
- id: "grok-4-1-fast",
15618
- name: "Grok 4.1 Fast",
15619
- api: "openai-completions",
15620
- provider: "xai",
15621
- baseUrl: "https://api.x.ai/v1",
15622
- reasoning: true,
15623
- input: ["text", "image"],
15624
- cost: {
15625
- input: 0.2,
15626
- output: 0.5,
15627
- cacheRead: 0.05,
15628
- cacheWrite: 0,
15629
- },
15630
- contextWindow: 2000000,
15631
- maxTokens: 30000,
15632
- },
15633
- "grok-4-1-fast-non-reasoning": {
15634
- id: "grok-4-1-fast-non-reasoning",
15635
- name: "Grok 4.1 Fast (Non-Reasoning)",
15636
- api: "openai-completions",
15637
- provider: "xai",
15638
- baseUrl: "https://api.x.ai/v1",
15639
- reasoning: false,
15640
- input: ["text", "image"],
15641
- cost: {
15642
- input: 0.2,
15643
- output: 0.5,
15644
- cacheRead: 0.05,
15645
- cacheWrite: 0,
15646
- },
15647
- contextWindow: 2000000,
15648
- maxTokens: 30000,
15649
- },
15650
- "grok-4-fast": {
15651
- id: "grok-4-fast",
15652
- name: "Grok 4 Fast",
15653
- api: "openai-completions",
15654
- provider: "xai",
15655
- baseUrl: "https://api.x.ai/v1",
15656
- reasoning: true,
15657
- input: ["text", "image"],
15658
- cost: {
15659
- input: 0.2,
15660
- output: 0.5,
15661
- cacheRead: 0.05,
15662
- cacheWrite: 0,
15663
- },
15664
- contextWindow: 2000000,
15665
- maxTokens: 30000,
15666
- },
15667
- "grok-4-fast-non-reasoning": {
15668
- id: "grok-4-fast-non-reasoning",
15669
- name: "Grok 4 Fast (Non-Reasoning)",
15670
- api: "openai-completions",
15671
- provider: "xai",
15672
- baseUrl: "https://api.x.ai/v1",
15673
- reasoning: false,
15674
- input: ["text", "image"],
15675
- cost: {
15676
- input: 0.2,
15677
- output: 0.5,
15678
- cacheRead: 0.05,
15679
- cacheWrite: 0,
15680
- },
15681
- contextWindow: 2000000,
15682
- maxTokens: 30000,
15683
- },
15684
15463
  "grok-4.20-0309-non-reasoning": {
15685
15464
  id: "grok-4.20-0309-non-reasoning",
15686
15465
  name: "Grok 4.20 (Non-Reasoning)",
@@ -15755,7 +15534,7 @@ export const MODELS = {
15755
15534
  api: "openai-completions",
15756
15535
  provider: "xai",
15757
15536
  baseUrl: "https://api.x.ai/v1",
15758
- reasoning: true,
15537
+ reasoning: false,
15759
15538
  input: ["text"],
15760
15539
  cost: {
15761
15540
  input: 0.2,
@@ -15763,8 +15542,8 @@ export const MODELS = {
15763
15542
  cacheRead: 0.02,
15764
15543
  cacheWrite: 0,
15765
15544
  },
15766
- contextWindow: 256000,
15767
- maxTokens: 10000,
15545
+ contextWindow: 32768,
15546
+ maxTokens: 8192,
15768
15547
  },
15769
15548
  "grok-vision-beta": {
15770
15549
  id: "grok-vision-beta",