ai-consultants 2.10.2 → 2.10.3
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/CLAUDE.md +11 -4
- package/README.md +4 -4
- package/SKILL.md +2 -2
- package/docs/COST_RATES.md +3 -3
- package/docs/cost_rates.json +5 -9
- package/docs/releases/v2.10.2.md +1 -5
- package/docs/releases/v2.10.3.md +63 -0
- package/package.json +1 -1
- package/references/configuration.md +1 -1
- package/scripts/config.sh +3 -3
- package/scripts/configure.sh +3 -3
- package/scripts/lib/common.sh +1 -1
- package/scripts/lib/costs.sh +2 -2
- package/scripts/query_grok.sh +1 -1
package/CLAUDE.md
CHANGED
|
@@ -6,7 +6,7 @@ AI Consultants is a multi-model AI deliberation system that queries up to 15 AI
|
|
|
6
6
|
|
|
7
7
|
**Self-Exclusion**: The invoking agent is automatically excluded from the panel to prevent self-consultation. Claude Code won't query Claude, Codex CLI won't query Codex, etc.
|
|
8
8
|
|
|
9
|
-
**Version**: 2.10.
|
|
9
|
+
**Version**: 2.10.3
|
|
10
10
|
|
|
11
11
|
## Distribution
|
|
12
12
|
|
|
@@ -458,7 +458,7 @@ All consultants now use premium models by default:
|
|
|
458
458
|
| Cursor | composer-1.5 |
|
|
459
459
|
| DeepSeek | deepseek-reasoner |
|
|
460
460
|
| GLM | glm-5 |
|
|
461
|
-
| Grok | grok-4-
|
|
461
|
+
| Grok | grok-4.20-0309-reasoning |
|
|
462
462
|
| Qwen3 | qwen3.5-plus |
|
|
463
463
|
| Kimi | kimi-code/kimi-for-coding |
|
|
464
464
|
| Aider | gpt-5.3-codex |
|
|
@@ -798,10 +798,17 @@ curl -fsSL https://raw.githubusercontent.com/matteoscurati/ai-consultants/main/s
|
|
|
798
798
|
|
|
799
799
|
## Changelog
|
|
800
800
|
|
|
801
|
+
### v2.10.3
|
|
802
|
+
- Grok premium model upgraded to `grok-4.20-0309-reasoning` (replaces `grok-4-1-fast-reasoning`)
|
|
803
|
+
- GLM API endpoint migrated from `open.bigmodel.cn` to `api.z.ai/api/coding/paas/v4`
|
|
804
|
+
- Removed non-functional MiniMax highspeed models (`MiniMax-M2.7-highspeed`, `MiniMax-M2.5-highspeed`)
|
|
805
|
+
- Removed legacy `grok-beta` from cost catalog
|
|
806
|
+
- Fixed GLM URL fallback in `common.sh` and `configure.sh` (were still using old endpoint)
|
|
807
|
+
- Fixed duplicate `minimax-m2.5` entry with conflicting rates in `cost_rates.json`
|
|
808
|
+
|
|
801
809
|
### v2.10.2
|
|
802
810
|
- MiniMax M2.7 upgrade: premium/standard now use MiniMax-M2.7, economy uses MiniMax-M2.5
|
|
803
811
|
- Model tiers: premium (MiniMax-M2.7), standard (MiniMax-M2.7), economy (MiniMax-M2.5)
|
|
804
|
-
- MiniMax-M2.7-highspeed available in model catalog for manual override
|
|
805
812
|
|
|
806
813
|
### v2.10.1
|
|
807
814
|
- Slash command quality improvements: file context handling, result presentation templates, error recovery guidance
|
|
@@ -813,7 +820,7 @@ curl -fsSL https://raw.githubusercontent.com/matteoscurati/ai-consultants/main/s
|
|
|
813
820
|
- MiniMax M2.5 API support via OpenAI-compatible endpoint
|
|
814
821
|
- New consultant: MiniMax with "The Pragmatic Optimizer" persona (ID: 21)
|
|
815
822
|
- New environment variables: `ENABLE_MINIMAX`, `MINIMAX_API_KEY`, `MINIMAX_MODEL`, `MINIMAX_API_URL`
|
|
816
|
-
- Model tiers: premium (MiniMax-M2.5), standard (MiniMax-M2.1), economy (MiniMax-M2.5
|
|
823
|
+
- Model tiers: premium (MiniMax-M2.5), standard (MiniMax-M2.1), economy (MiniMax-M2.5)
|
|
817
824
|
- npx distribution: `npx ai-consultants "question"` (zero dependencies)
|
|
818
825
|
- New `bin/ai-consultants` wrapper with symlink resolution and subcommand routing
|
|
819
826
|
- Now supports 15 consultants total
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# AI Consultants v2.10.
|
|
1
|
+
# AI Consultants v2.10.3
|
|
2
2
|
|
|
3
3
|
> Query multiple AI models simultaneously for expert opinions on coding questions. Get diverse perspectives, automatic synthesis, confidence-weighted recommendations, and multi-agent debate.
|
|
4
4
|
|
|
5
|
-
[](https://github.com/matteoscurati/ai-consultants)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
[](https://docs.anthropic.com/en/docs/claude-code/skills)
|
|
8
8
|
[](https://github.com/matteoscurati/ai-consultants)
|
|
@@ -421,7 +421,7 @@ INVOKING_AGENT=codex ./scripts/consult_all.sh "Question" # Codex excluded
|
|
|
421
421
|
|------------|---------------|---------|-------|
|
|
422
422
|
| **Qwen3** | qwen3.5-plus | The Analyst | Data-driven analysis |
|
|
423
423
|
| **GLM** | glm-5 | The Methodologist | Structured approaches |
|
|
424
|
-
| **Grok** | grok-4-
|
|
424
|
+
| **Grok** | grok-4.20-0309-reasoning | The Provocateur | Challenge conventions |
|
|
425
425
|
| **DeepSeek** | deepseek-reasoner | The Code Specialist | Algorithms, code generation |
|
|
426
426
|
| **MiniMax** | MiniMax-M2.7 | The Pragmatic Optimizer | Performance, efficiency, pragmatism |
|
|
427
427
|
|
|
@@ -478,7 +478,7 @@ Choose the right balance of quality, speed, and cost with model quality tiers.
|
|
|
478
478
|
| Cursor | composer-1.5 | composer-1.5 | gemini-2.0-flash |
|
|
479
479
|
| DeepSeek | deepseek-reasoner | deepseek-v3.2 | deepseek-chat |
|
|
480
480
|
| GLM | glm-5 | glm-5 | glm-4-flash |
|
|
481
|
-
| Grok | grok-4-
|
|
481
|
+
| Grok | grok-4.20-0309-reasoning | grok-3 | grok-3-mini |
|
|
482
482
|
| Qwen3 | qwen3.5-plus | qwen3.5-plus | qwen3-32b |
|
|
483
483
|
| Aider | gpt-5.3-codex | gpt-5.3 | gpt-4o-mini |
|
|
484
484
|
| MiniMax | MiniMax-M2.7 | MiniMax-M2.7 | MiniMax-M2.5 |
|
package/SKILL.md
CHANGED
|
@@ -5,10 +5,10 @@ license: MIT
|
|
|
5
5
|
compatibility: Requires bash, jq, and at least 2 AI CLI tools (gemini, codex, vibe, etc.). macOS and Linux.
|
|
6
6
|
metadata:
|
|
7
7
|
author: matteoscurati
|
|
8
|
-
version: 2.10.
|
|
8
|
+
version: 2.10.3
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# AI Consultants v2.10.
|
|
11
|
+
# AI Consultants v2.10.3 - AI Expert Panel
|
|
12
12
|
|
|
13
13
|
Simultaneously consult multiple AIs as "consultants" for coding questions. Each consultant has a **configurable persona** that influences their response style.
|
|
14
14
|
|
package/docs/COST_RATES.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Cost Rates - AI Consultants v2.10.
|
|
1
|
+
# Cost Rates - AI Consultants v2.10.3
|
|
2
2
|
|
|
3
3
|
This page documents the per-token rates used by the cost tracking system.
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ Since v2.5, models are organized into three tiers. Use `apply_model_tier()` or `
|
|
|
36
36
|
| deepseek-chat | Economy | $0.001 | DeepSeek |
|
|
37
37
|
| glm-5 | Premium/Standard | $0.002 | GLM |
|
|
38
38
|
| glm-4-flash | Economy | $0.0005 | GLM |
|
|
39
|
-
| grok-4-
|
|
39
|
+
| grok-4.20-0309-reasoning | Premium | $0.005 | Grok |
|
|
40
40
|
| grok-3 | Standard | $0.003 | Grok |
|
|
41
41
|
| grok-3-mini | Economy | $0.001 | Grok |
|
|
42
42
|
| qwen3.5-plus | Premium/Standard | $0.002 | Qwen3 |
|
|
@@ -69,7 +69,7 @@ Since v2.5, models are organized into three tiers. Use `apply_model_tier()` or `
|
|
|
69
69
|
| deepseek-chat | Economy | $0.003 | DeepSeek |
|
|
70
70
|
| glm-5 | Premium/Standard | $0.006 | GLM |
|
|
71
71
|
| glm-4-flash | Economy | $0.0015 | GLM |
|
|
72
|
-
| grok-4-
|
|
72
|
+
| grok-4.20-0309-reasoning | Premium | $0.015 | Grok |
|
|
73
73
|
| grok-3 | Standard | $0.009 | Grok |
|
|
74
74
|
| grok-3-mini | Economy | $0.003 | Grok |
|
|
75
75
|
| qwen3.5-plus | Premium/Standard | $0.006 | Qwen3 |
|
package/docs/cost_rates.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.10.
|
|
2
|
+
"version": "2.10.3",
|
|
3
3
|
"updated": "2026-03-04",
|
|
4
4
|
"models": {
|
|
5
5
|
"_comment_premium": "Premium tier models - March 2026",
|
|
@@ -9,11 +9,10 @@
|
|
|
9
9
|
"mistral-large-3": {"input": 2.00, "output": 6.00},
|
|
10
10
|
"deepseek-reasoner": {"input": 0.55, "output": 2.19},
|
|
11
11
|
"glm-5": {"input": 0.50, "output": 2.00},
|
|
12
|
-
"grok-4-
|
|
12
|
+
"grok-4.20-0309-reasoning": {"input": 5.00, "output": 15.00},
|
|
13
13
|
"qwen3.5-plus": {"input": 1.60, "output": 6.40},
|
|
14
14
|
"composer-1.5": {"input": 0.005, "output": 0.015},
|
|
15
15
|
"minimax-m2.7": {"input": 0.50, "output": 2.00},
|
|
16
|
-
"minimax-m2.7-highspeed": {"input": 0.20, "output": 1.00},
|
|
17
16
|
"kimi-code/kimi-for-coding": {"input": 0.50, "output": 2.00},
|
|
18
17
|
"amp": {"input": 0.005, "output": 0.015},
|
|
19
18
|
|
|
@@ -63,12 +62,9 @@
|
|
|
63
62
|
"qwen-turbo": {"input": 0.0008, "output": 0.002},
|
|
64
63
|
"glm-4": {"input": 0.003, "output": 0.009},
|
|
65
64
|
"glm-3-turbo": {"input": 0.001, "output": 0.003},
|
|
66
|
-
"grok-beta": {"input": 0.005, "output": 0.015},
|
|
67
65
|
"grok-2": {"input": 0.01, "output": 0.03},
|
|
68
66
|
"deepseek-coder": {"input": 0.001, "output": 0.002},
|
|
69
|
-
"minimax-m2.
|
|
70
|
-
"minimax-m2.1": {"input": 0.30, "output": 1.50},
|
|
71
|
-
"minimax-m2.5-highspeed": {"input": 0.20, "output": 1.00}
|
|
67
|
+
"minimax-m2.1": {"input": 0.30, "output": 1.50}
|
|
72
68
|
},
|
|
73
69
|
"consultant_fallbacks": {
|
|
74
70
|
"_comment": "Premium defaults - Updated March 2026",
|
|
@@ -78,7 +74,7 @@
|
|
|
78
74
|
"mistral": "mistral-large-3",
|
|
79
75
|
"deepseek": "deepseek-reasoner",
|
|
80
76
|
"glm": "glm-5",
|
|
81
|
-
"grok": "grok-4-
|
|
77
|
+
"grok": "grok-4.20-0309-reasoning",
|
|
82
78
|
"qwen3": "qwen3.5-plus",
|
|
83
79
|
"aider": "gpt-5.3-codex",
|
|
84
80
|
"kilo": "auto",
|
|
@@ -97,7 +93,7 @@
|
|
|
97
93
|
"mistral": "mistral-large-3",
|
|
98
94
|
"deepseek": "deepseek-reasoner",
|
|
99
95
|
"glm": "glm-5",
|
|
100
|
-
"grok": "grok-4-
|
|
96
|
+
"grok": "grok-4.20-0309-reasoning",
|
|
101
97
|
"qwen3": "qwen3.5-plus",
|
|
102
98
|
"aider": "gpt-5.3-codex",
|
|
103
99
|
"kilo": "auto",
|
package/docs/releases/v2.10.2.md
CHANGED
|
@@ -9,13 +9,11 @@
|
|
|
9
9
|
- MiniMax upgraded from M2.5 to M2.7 (released 2026-03-18)
|
|
10
10
|
- Premium and standard tiers now use MiniMax-M2.7
|
|
11
11
|
- Economy tier uses MiniMax-M2.5 (previous default)
|
|
12
|
-
- MiniMax-M2.7-highspeed available in model catalog for manual override
|
|
13
|
-
|
|
14
12
|
## What's New
|
|
15
13
|
|
|
16
14
|
### MiniMax M2.7 Model Upgrade
|
|
17
15
|
|
|
18
|
-
MiniMax released M2.7
|
|
16
|
+
MiniMax released M2.7 on March 18, 2026. This patch updates all MiniMax tier assignments:
|
|
19
17
|
|
|
20
18
|
| Tier | Before (v2.10.1) | After (v2.10.2) |
|
|
21
19
|
|------|-------------------|------------------|
|
|
@@ -25,8 +23,6 @@ MiniMax released M2.7 and M2.7-highspeed on March 18, 2026. This patch updates a
|
|
|
25
23
|
|
|
26
24
|
Default model (`MINIMAX_MODEL`) is now `MiniMax-M2.7`.
|
|
27
25
|
|
|
28
|
-
MiniMax-M2.7-highspeed is available in the pricing catalog and can be used via `MINIMAX_MODEL=MiniMax-M2.7-highspeed`.
|
|
29
|
-
|
|
30
26
|
## Breaking Changes
|
|
31
27
|
|
|
32
28
|
None.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Release v2.10.3
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-03-21
|
|
4
|
+
**Type:** Patch — Model updates, API migration, cleanup
|
|
5
|
+
**Previous:** v2.10.2
|
|
6
|
+
|
|
7
|
+
## Highlights
|
|
8
|
+
|
|
9
|
+
- Grok premium model upgraded to `grok-4.20-0309-reasoning`
|
|
10
|
+
- GLM API migrated from `open.bigmodel.cn` to `api.z.ai/api/coding/paas/v4`
|
|
11
|
+
- Removed non-functional MiniMax highspeed models
|
|
12
|
+
- Fixed stale GLM URL fallbacks in `common.sh` and `configure.sh`
|
|
13
|
+
|
|
14
|
+
## What's New
|
|
15
|
+
|
|
16
|
+
### Grok Model Upgrade
|
|
17
|
+
|
|
18
|
+
Grok premium model updated from `grok-4-1-fast-reasoning` to `grok-4.20-0309-reasoning`. Standard (`grok-3`) and economy (`grok-3-mini`) tiers remain unchanged.
|
|
19
|
+
|
|
20
|
+
| Tier | Before (v2.10.2) | After (v2.10.3) |
|
|
21
|
+
|------|-------------------|------------------|
|
|
22
|
+
| Premium | grok-4-1-fast-reasoning | grok-4.20-0309-reasoning |
|
|
23
|
+
| Standard | grok-3 | grok-3 |
|
|
24
|
+
| Economy | grok-3-mini | grok-3-mini |
|
|
25
|
+
|
|
26
|
+
### GLM API Migration
|
|
27
|
+
|
|
28
|
+
Zhipu AI migrated their API from `open.bigmodel.cn` to `api.z.ai`. The default endpoint is now `https://api.z.ai/api/coding/paas/v4/chat/completions`. Updated in:
|
|
29
|
+
|
|
30
|
+
- `config.sh` (default)
|
|
31
|
+
- `common.sh` (fallback in `get_api_url()`)
|
|
32
|
+
- `configure.sh` (wizard URL array)
|
|
33
|
+
- `.env.example` (example config)
|
|
34
|
+
|
|
35
|
+
### Removed Non-Functional Models
|
|
36
|
+
|
|
37
|
+
Removed models not supported by the current MiniMax token plan:
|
|
38
|
+
|
|
39
|
+
- `MiniMax-M2.7-highspeed`
|
|
40
|
+
- `MiniMax-M2.5-highspeed`
|
|
41
|
+
- `grok-beta` (legacy, no longer recognized by xAI API)
|
|
42
|
+
|
|
43
|
+
### Bug Fixes
|
|
44
|
+
|
|
45
|
+
- Fixed stale GLM URL fallback in `get_api_url()` (`common.sh`) — would have routed to old endpoint if `GLM_API_URL` env var was unset
|
|
46
|
+
- Fixed stale GLM URL in configure wizard (`configure.sh`) — would have written old endpoint to `.env`
|
|
47
|
+
- Fixed duplicate `minimax-m2.5` entry in `cost_rates.json` with conflicting input rates ($0.30 vs $0.50)
|
|
48
|
+
|
|
49
|
+
## Breaking Changes
|
|
50
|
+
|
|
51
|
+
None.
|
|
52
|
+
|
|
53
|
+
## Upgrade Guide
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# If installed via git clone
|
|
57
|
+
cd ~/.claude/skills/ai-consultants && git pull
|
|
58
|
+
|
|
59
|
+
# If installed via curl | bash
|
|
60
|
+
curl -fsSL https://raw.githubusercontent.com/matteoscurati/ai-consultants/main/scripts/install.sh | bash
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
No configuration changes required. Existing `GROK_MODEL` and `GLM_API_URL` overrides continue to work.
|
package/package.json
CHANGED
|
@@ -81,7 +81,7 @@ AMP_MODEL=amp
|
|
|
81
81
|
KIMI_MODEL=kimi-code/kimi-for-coding
|
|
82
82
|
QWEN3_MODEL=qwen3.5-plus
|
|
83
83
|
GLM_MODEL=glm-5
|
|
84
|
-
GROK_MODEL=grok-4-
|
|
84
|
+
GROK_MODEL=grok-4.20-0309-reasoning
|
|
85
85
|
DEEPSEEK_MODEL=deepseek-reasoner
|
|
86
86
|
MINIMAX_MODEL=MiniMax-M2.7
|
|
87
87
|
OLLAMA_MODEL=qwen2.5-coder:32b
|
package/scripts/config.sh
CHANGED
|
@@ -119,7 +119,7 @@ QWEN3_FORMAT="${QWEN3_FORMAT:-qwen}"
|
|
|
119
119
|
|
|
120
120
|
GLM_MODEL="${GLM_MODEL:-glm-5}"
|
|
121
121
|
GLM_TIMEOUT_SECONDS="${GLM_TIMEOUT:-180}"
|
|
122
|
-
GLM_API_URL="${GLM_API_URL:-https://
|
|
122
|
+
GLM_API_URL="${GLM_API_URL:-https://api.z.ai/api/coding/paas/v4/chat/completions}"
|
|
123
123
|
GLM_FORMAT="${GLM_FORMAT:-openai}"
|
|
124
124
|
# API key: Set GLM_API_KEY environment variable
|
|
125
125
|
|
|
@@ -127,7 +127,7 @@ GLM_FORMAT="${GLM_FORMAT:-openai}"
|
|
|
127
127
|
# GROK CONFIGURATION - The Provocateur (API-based)
|
|
128
128
|
# =============================================================================
|
|
129
129
|
|
|
130
|
-
GROK_MODEL="${GROK_MODEL:-grok-4-
|
|
130
|
+
GROK_MODEL="${GROK_MODEL:-grok-4.20-0309-reasoning}"
|
|
131
131
|
GROK_TIMEOUT_SECONDS="${GROK_TIMEOUT:-180}"
|
|
132
132
|
GROK_API_URL="${GROK_API_URL:-https://api.x.ai/v1/chat/completions}"
|
|
133
133
|
GROK_FORMAT="${GROK_FORMAT:-openai}"
|
|
@@ -532,7 +532,7 @@ get_model_for_tier() {
|
|
|
532
532
|
cursor) echo "composer-1.5" ;;
|
|
533
533
|
deepseek) echo "deepseek-reasoner" ;;
|
|
534
534
|
glm) echo "glm-5" ;;
|
|
535
|
-
grok) echo "grok-4-
|
|
535
|
+
grok) echo "grok-4.20-0309-reasoning" ;;
|
|
536
536
|
qwen3) echo "qwen3.5-plus" ;;
|
|
537
537
|
aider) echo "gpt-5.3-codex" ;;
|
|
538
538
|
amp) echo "amp" ;;
|
package/scripts/configure.sh
CHANGED
|
@@ -47,8 +47,8 @@ CLI_AGENT_PERSONAS=("The Architect" "The Pragmatist" "The Devil's Advocate" "The
|
|
|
47
47
|
# API Agents: name|key_var|api_url|model|persona
|
|
48
48
|
API_AGENT_NAMES=("Qwen3" "GLM" "Grok" "DeepSeek")
|
|
49
49
|
API_AGENT_KEY_VARS=("QWEN3_API_KEY" "GLM_API_KEY" "GROK_API_KEY" "DEEPSEEK_API_KEY")
|
|
50
|
-
API_AGENT_URLS=("https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation" "https://
|
|
51
|
-
API_AGENT_MODELS=("qwen-max" "glm-4" "grok-4-
|
|
50
|
+
API_AGENT_URLS=("https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation" "https://api.z.ai/api/coding/paas/v4/chat/completions" "https://api.x.ai/v1/chat/completions" "https://api.deepseek.com/v1/chat/completions")
|
|
51
|
+
API_AGENT_MODELS=("qwen-max" "glm-4" "grok-4.20-0309-reasoning" "deepseek-reasoner")
|
|
52
52
|
API_AGENT_PERSONAS=("The Analyst" "The Methodologist" "The Provocateur" "The Code Specialist")
|
|
53
53
|
|
|
54
54
|
# State arrays (parallel to CLI_AGENT_NAMES)
|
|
@@ -771,7 +771,7 @@ QWEN3_TIMEOUT=180
|
|
|
771
771
|
GLM_MODEL=glm-4
|
|
772
772
|
GLM_TIMEOUT=180
|
|
773
773
|
|
|
774
|
-
GROK_MODEL=grok-4-
|
|
774
|
+
GROK_MODEL=grok-4.20-0309-reasoning
|
|
775
775
|
GROK_TIMEOUT=180
|
|
776
776
|
|
|
777
777
|
DEEPSEEK_MODEL=deepseek-reasoner
|
package/scripts/lib/common.sh
CHANGED
|
@@ -354,7 +354,7 @@ get_api_url() {
|
|
|
354
354
|
CLAUDE) echo "${CLAUDE_API_URL:-https://api.anthropic.com/v1/messages}" ;;
|
|
355
355
|
MISTRAL) echo "${MISTRAL_API_URL:-https://api.mistral.ai/v1/chat/completions}" ;;
|
|
356
356
|
QWEN3) echo "${QWEN3_API_URL:-https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation}" ;;
|
|
357
|
-
GLM) echo "${GLM_API_URL:-https://
|
|
357
|
+
GLM) echo "${GLM_API_URL:-https://api.z.ai/api/coding/paas/v4/chat/completions}" ;;
|
|
358
358
|
GROK) echo "${GROK_API_URL:-https://api.x.ai/v1/chat/completions}" ;;
|
|
359
359
|
DEEPSEEK) echo "${DEEPSEEK_API_URL:-https://api.deepseek.com/v1/chat/completions}" ;;
|
|
360
360
|
MINIMAX) echo "${MINIMAX_API_URL:-https://api.minimax.io/v1/chat/completions}" ;;
|
package/scripts/lib/costs.sh
CHANGED
|
@@ -149,7 +149,7 @@ get_input_cost_per_1k() {
|
|
|
149
149
|
glm-4) echo "0.003" ;;
|
|
150
150
|
glm-3-turbo) echo "0.001" ;;
|
|
151
151
|
# Grok models (xAI)
|
|
152
|
-
grok-4-
|
|
152
|
+
grok-4.20-0309-reasoning) echo "0.005" ;;
|
|
153
153
|
grok-2) echo "0.01" ;;
|
|
154
154
|
# Default
|
|
155
155
|
*) echo "0.005" ;;
|
|
@@ -196,7 +196,7 @@ get_output_cost_per_1k() {
|
|
|
196
196
|
glm-4) echo "0.009" ;;
|
|
197
197
|
glm-3-turbo) echo "0.003" ;;
|
|
198
198
|
# Grok models (xAI)
|
|
199
|
-
grok-4-
|
|
199
|
+
grok-4.20-0309-reasoning) echo "0.015" ;;
|
|
200
200
|
grok-2) echo "0.03" ;;
|
|
201
201
|
# Default
|
|
202
202
|
*) echo "0.015" ;;
|
package/scripts/query_grok.sh
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
#
|
|
6
6
|
# Environment variables:
|
|
7
7
|
# GROK_API_KEY - API key for xAI (required)
|
|
8
|
-
# GROK_MODEL - Model to use (default: grok-4-
|
|
8
|
+
# GROK_MODEL - Model to use (default: grok-4.20-0309-reasoning)
|
|
9
9
|
# GROK_TIMEOUT - Timeout in seconds (default: 180)
|
|
10
10
|
# ENABLE_PERSONA - Enable "The Provocateur" persona (default: true)
|
|
11
11
|
|