Skip to content

Commit 5f1d74d

Browse files
Update OpenAI models to use direct API instead of Zen routing
Agent-Logs-Url: https://github.com/thisguymartin/devkit/sessions/3b80a853-067a-4f41-b26c-58f4a498b4dc Co-authored-by: thisguymartin <13192083+thisguymartin@users.noreply.github.com>
1 parent 1a075a3 commit 5f1d74d

6 files changed

Lines changed: 20 additions & 20 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ AI agent and assistant configs are included but optional -- the core workflow (t
9696
- `@planning-agent` -- architecture, task breakdown, and plan review (Gemini 3.1 Pro)
9797
- `build` mode in `opencode.json` -- default free implementation lane (MiniMax M2.5 Free)
9898
- `@engineer` -- premium implementation/orchestration for harder work (Gemini 3.1 Pro)
99-
- `@coder` -- autonomous test-fix loops when the spec and tests are clear (GPT 5.3 Codex)
99+
- `@coder` -- autonomous test-fix loops when the spec and tests are clear (GPT-4o via OpenAI API)
100100
- `@frontend` -- cost-sensitive UI and component work (Kimi K2.5)
101101
- `@reviewer` / `@security` -- code review and security audit (Gemini 3.1 Pro, cross-model)
102-
- `@qa` -- test generation, execution, and BDD flows (GPT 5.4 Mini)
102+
- `@qa` -- test generation, execution, and BDD flows (GPT-4o-mini via OpenAI API)
103103
- `@docs_generator` -- documentation (Gemini 3 Flash)
104-
- `@linear` -- Linear project management (GPT 5.4 Mini)
104+
- `@linear` -- Linear project management (GPT-4o-mini via OpenAI API)
105105
- `@pickle-think` -- free triage and rough planning (Big Pickle)
106106
- `@pickle-implement` -- free low-risk code changes (Big Pickle)
107107

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ The repo includes configs for AI coding tools — these are entirely optional an
8787
| Agent | Specialty | Model | Cost | Invoke With |
8888
| :--- | :--- | :--- | :--- | :--- |
8989
| **Architect** | System design, task breakdown, plan review | Gemini 3.1 Pro | $2/$12 | `@planning-agent` |
90-
| **PM** | Linear integration | GPT 5.4 Mini | $0.75/$4.50 | `@linear` |
90+
| **PM** | Linear integration | GPT-4o-mini (OpenAI) | $0.15/$0.60 | `@linear` |
9191
| **Engineer** | Premium builder (approval) | Gemini 3.1 Pro | $2/$12 | `@engineer` |
92-
| **Coder** | Autonomous test-fix loops | GPT 5.3 Codex | $1.75/$14 | `@coder` |
92+
| **Coder** | Autonomous test-fix loops | GPT-4o (OpenAI) | $2.50/$10 | `@coder` |
9393
| **Frontend** | UI/component development | Kimi K2.5 | $0.60/$3 | `@frontend` |
9494
| **Reviewer** | Code quality review | Gemini 3.1 Pro | $2/$12 | `@reviewer` |
9595
| **Security** | Vulnerability scanning | Gemini 3.1 Pro | $2/$12 | `@security` |
96-
| **QA** | Test generation, execution, BDD | GPT 5.4 Mini | $0.75/$4.50 | `@qa` |
96+
| **QA** | Test generation, execution, BDD | GPT-4o-mini (OpenAI) | $0.15/$0.60 | `@qa` |
9797
| **Docs** | Inline + external docs | Gemini 3 Flash | ~$0.50/$3 | `@docs_generator` |
9898
| **Pickle Think** | Free triage & rough planning | Big Pickle | FREE | `@pickle-think` |
9999
| **Pickle Implement** | Free low-risk code changes | Big Pickle | FREE | `@pickle-implement` |

opencode/aig_agents/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ A consolidated 11-agent OpenCode setup tuned around Zen pricing and current mode
1111
| Agent | Purpose | Model | Cost (per 1M in/out) | Invocation |
1212
|-------|---------|-------|----------------------|------------|
1313
| `planning-agent` | Architecture design, task breakdown, plan review | Gemini 3.1 Pro | $2/$12 | `@planning-agent` |
14-
| `linear` | Create Linear projects/issues | GPT 5.4 Mini | $0.75/$4.50 | `@linear` |
14+
| `linear` | Create Linear projects/issues | GPT-4o-mini (OpenAI) | $0.15/$0.60 | `@linear` |
1515
| `engineer` | Premium senior builder (approval required) | Gemini 3.1 Pro | $2/$12 | `@engineer` |
16-
| `coder` | Autonomous test-fix loops | GPT 5.3 Codex | $1.75/$14 | `@coder` |
16+
| `coder` | Autonomous test-fix loops | GPT-4o (OpenAI) | $2.50/$10 | `@coder` |
1717
| `frontend` | UI/component development | Kimi K2.5 | $0.60/$3 | `@frontend` |
1818
| `reviewer` | Code quality review | Gemini 3.1 Pro | $2/$12 | `@reviewer` |
1919
| `security` | Security audit | Gemini 3.1 Pro | $2/$12 | `@security` |
20-
| `qa` | Test generation, execution, BDD | GPT 5.4 Mini | $0.75/$4.50 | `@qa` |
20+
| `qa` | Test generation, execution, BDD | GPT-4o-mini (OpenAI) | $0.15/$0.60 | `@qa` |
2121
| `docs_generator` | Documentation (inline + external) | Gemini 3 Flash | ~$0.50/$3 | `@docs_generator` |
2222
| `pickle-think` | Free triage, brainstorming, rough planning | Big Pickle | Free | `@pickle-think` |
2323
| `pickle-implement` | Free low-risk implementation | Big Pickle | Free | `@pickle-implement` |
@@ -33,8 +33,8 @@ A consolidated 11-agent OpenCode setup tuned around Zen pricing and current mode
3333
| **Premium Review** | Gemini 3.1 Pro | $2/$12 | planning-agent, reviewer, security |
3434
| **Premium Builder** | Gemini 3.1 Pro | $2/$12 | engineer |
3535
| **Builder Default** | MiniMax M2.5 Free | Free | default build mode in `opencode.json` |
36-
| **Specialist** | GPT 5.3 Codex | $1.75/$14 | coder |
37-
| **Workhorse** | GPT 5.4 Mini | $0.75/$4.50 | qa, linear |
36+
| **Specialist** | GPT-4o (OpenAI) | $2.50/$10 | coder |
37+
| **Workhorse** | GPT-4o-mini (OpenAI) | $0.15/$0.60 | qa, linear |
3838
| **Frontend** | Kimi K2.5 | $0.60/$3 | frontend |
3939
| **Budget** | Gemini 3 Flash | ~$0.50/$3 | docs_generator |
4040
| **Free** | Big Pickle | Free | pickle-think, pickle-implement |
@@ -64,7 +64,7 @@ A consolidated 11-agent OpenCode setup tuned around Zen pricing and current mode
6464

6565
### 2. Linear (`linear.md`)
6666

67-
**Model:** GPT 5.4 Mini
67+
**Model:** GPT-4o-mini (OpenAI API)
6868

6969
**Purpose:** Create Linear projects and issues with better structured output than the cheaper routing tier, while still staying in the low-cost bucket.
7070

@@ -88,7 +88,7 @@ A consolidated 11-agent OpenCode setup tuned around Zen pricing and current mode
8888

8989
### 4. Coder (`coder.md`)
9090

91-
**Model:** GPT 5.3 Codex
91+
**Model:** GPT-4o (OpenAI API)
9292

9393
**Purpose:** Autonomous spec-driven implementation with test-fix loops. This is the right agent when the work is well-scoped and success is measured by green tests.
9494

@@ -140,7 +140,7 @@ A consolidated 11-agent OpenCode setup tuned around Zen pricing and current mode
140140

141141
### 8. QA (`qa.md`)
142142

143-
**Model:** GPT 5.4 Mini
143+
**Model:** GPT-4o-mini (OpenAI API)
144144

145145
**Purpose:** Test generation and execution across languages, plus BDD / requirements-driven test generation when the user starts from behavior instead of code.
146146

@@ -242,8 +242,8 @@ A consolidated 11-agent OpenCode setup tuned around Zen pricing and current mode
242242
| Criteria | `engineer` | `coder` | `frontend` |
243243
|----------|-----------|---------|-----------|
244244
| **Use when** | Highest-stakes implementation | Spec + tests are clear | UI/component work |
245-
| **Model** | Gemini 3.1 Pro | GPT 5.3 Codex | Kimi K2.5 |
246-
| **Cost** | $2/$12 | $1.75/$14 | $0.60/$3 |
245+
| **Model** | Gemini 3.1 Pro | GPT-4o (OpenAI) | Kimi K2.5 |
246+
| **Cost** | $2/$12 | $2.50/$10 | $0.60/$3 |
247247
| **Approval** | Requires approval | Autonomous loops | Full access |
248248
| **Best at** | Hard trade-offs, risky implementation | Test-fix cycles | Responsive UI, a11y |
249249

opencode/aig_agents/coder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Autonomous Coder - Spec-Driven Test-Fix Loops
33
mode: subagent
4-
model: opencode/gpt-5.3-codex
4+
model: gpt-4o
55
temperature: 0.1
66
tools:
77
read: true
@@ -14,7 +14,7 @@ tools:
1414

1515
You are an **Autonomous Implementation Agent** trained for test-driven development loops. You take a specification and existing tests, then iterate: implement, run tests, fix, repeat — until all tests pass. Minimal human intervention.
1616

17-
GPT 5.3 Codex is RL-trained for agentic coding — precise, spec-driven, terminal-optimized. Use it when the job is to close the loop from spec to green tests with minimal drift.
17+
GPT-4o is OpenAI's latest and most capable model — precise, spec-driven, and optimized for coding tasks. Use it when the job is to close the loop from spec to green tests with minimal drift.
1818

1919
---
2020

opencode/aig_agents/linear.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Linear Project & Issue Creator via MCP
33
mode: subagent
4-
model: opencode/gpt-5.4-mini
4+
model: gpt-4o-mini
55
temperature: 0.2
66
# tools:
77
# mcp: linear

opencode/aig_agents/qa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: QA Automation Architect (Multi-Language Test Coverage)
33
mode: subagent
4-
model: opencode/gpt-5.4-mini
4+
model: gpt-4o-mini
55
temperature: 0.1
66
tools:
77
bash: true

0 commit comments

Comments
 (0)