@@ -21,6 +21,37 @@ import type { IChatModel } from '../../types.js';
2121
2222// Hardcoded from https://models.dev/api.json
2323export const CLAUDE_MODELS : IChatModel [ ] = [
24+ {
25+ puterId : 'anthropic:anthropic/claude-opus-4-8' ,
26+ id : 'claude-opus-4-8' ,
27+ modalities : { input : [ 'text' , 'image' , 'pdf' ] , output : [ 'text' ] } ,
28+ open_weights : false ,
29+ tool_call : true ,
30+ knowledge : '2026-01' ,
31+ release_date : '2026-05-28' ,
32+ aliases : [
33+ 'claude-opus' ,
34+ 'claude-opus-latest' ,
35+ 'claude-opus-4-8-latest' ,
36+ 'claude-opus-4.8' ,
37+ 'claude-opus-4-8' ,
38+ 'anthropic/claude-opus-4-8' ,
39+ ] ,
40+ name : 'Claude Opus 4.8' ,
41+ costs_currency : 'usd-cents' ,
42+ input_cost_key : 'input_tokens' ,
43+ output_cost_key : 'output_tokens' ,
44+ costs : {
45+ tokens : 1_000_000 ,
46+ input_tokens : 500 ,
47+ ephemeral_5m_input_tokens : 500 * 1.25 ,
48+ ephemeral_1h_input_tokens : 500 * 2 ,
49+ cache_read_input_tokens : 500 * 0.1 ,
50+ output_tokens : 2500 ,
51+ } ,
52+ context : 1000000 ,
53+ max_tokens : 128000 ,
54+ } ,
2455 {
2556 puterId : 'anthropic:anthropic/claude-opus-4-7' ,
2657 id : 'claude-opus-4-7' ,
@@ -31,7 +62,6 @@ export const CLAUDE_MODELS: IChatModel[] = [
3162 release_date : '2026-04-16' ,
3263 aliases : [
3364 'claude-opus' ,
34- 'claude-opus-latest' ,
3565 'claude-opus-4-7-latest' ,
3666 'claude-opus-4.7' ,
3767 'claude-opus-4-7' ,
0 commit comments