Update AI Models
Search for the latest AI models and update the model list in this project.
Instructions
Search for latest models from each provider:
- Anthropic Claude models (claude-opus, claude-sonnet, claude-haiku)
- OpenAI models (GPT series, o-series reasoning models)
- Google Gemini models
Get exact model IDs from official documentation:
Update src/models.ts:
- Add new models with correct
model ID strings
- Keep
claude-4.5-sonnet as the first entry (default model)
- Order models by recency within each provider section
- Remove deprecated models
Run verification:
npm run typecheck
npm run build
npm test
Model Entry Format
'model-key': {
provider: 'anthropic' | 'openai' | 'google',
name: 'Display Name',
model: 'exact-api-model-id',
},
Examples
Anthropic Claude:
'claude-4.5-sonnet': {
provider: 'anthropic',
name: 'Claude 4.5 Sonnet',
model: 'claude-sonnet-4-5-20250929',
},
OpenAI:
'gpt-5': {
provider: 'openai',
name: 'GPT-5',
model: 'gpt-5',
},
'o3': {
provider: 'openai',
name: 'o3',
model: 'o3',
},
Google Gemini:
'gemini-2.5-pro': {
provider: 'google',
name: 'Gemini 2.5 Pro',
model: 'gemini-2.5-pro',
},
Notes
- Default model should be cost-effective (Sonnet tier, not Opus)
- Update tests in
src/models.test.ts if DEFAULT_AI_MODEL changes
- Include sources in your response after updating
1---2name: update-ai-models3description: Search the web for the latest AI models from Anthropic, OpenAI, and Google, then update src/models.ts with new model IDs. Use when user asks to update or add AI models.4---5
6# Update AI Models
7
8Search for the latest AI models and update the model list in this project.
9
10## Instructions
11
121. **Search for latest models** from each provider:
13 - Anthropic Claude models (claude-opus, claude-sonnet, claude-haiku)
14 - OpenAI models (GPT series, o-series reasoning models)
15 - Google Gemini models
16
172. **Get exact model IDs** from official documentation:
18 - Anthropic: https://docs.anthropic.com/en/docs/about-claude/models/overview
19 - OpenAI: https://platform.openai.com/docs/models
20 - Google: https://ai.google.dev/gemini-api/docs/models
21
223. **Update src/models.ts**:
23 - Add new models with correct `model` ID strings
24 - Keep `claude-4.5-sonnet` as the first entry (default model)
25 - Order models by recency within each provider section
26 - Remove deprecated models
27
284. **Run verification**:
29 ```bash
30 npm run typecheck
31 npm run build
32 npm test
33 ```
34
35## Model Entry Format
36
37```typescript
38'model-key': {
39 provider: 'anthropic' | 'openai' | 'google',
40 name: 'Display Name',
41 model: 'exact-api-model-id',
42},
43```
44
45## Examples
46
47**Anthropic Claude:**
48```typescript
49'claude-4.5-sonnet': {
50 provider: 'anthropic',
51 name: 'Claude 4.5 Sonnet',
52 model: 'claude-sonnet-4-5-20250929',
53},
54```
55
56**OpenAI:**
57```typescript
58'gpt-5': {
59 provider: 'openai',
60 name: 'GPT-5',
61 model: 'gpt-5',
62},
63'o3': {
64 provider: 'openai',
65 name: 'o3',
66 model: 'o3',
67},
68```
69
70**Google Gemini:**
71```typescript
72'gemini-2.5-pro': {
73 provider: 'google',
74 name: 'Gemini 2.5 Pro',
75 model: 'gemini-2.5-pro',
76},
77```
78
79## Notes
80
81- Default model should be cost-effective (Sonnet tier, not Opus)
82- Update tests in `src/models.test.ts` if DEFAULT_AI_MODEL changes
83- Include sources in your response after updating