Skip to content

Commit c4c3ac1

Browse files
committed
Add aliases for popular models
1 parent aa79438 commit c4c3ac1

File tree

1 file changed

+37
-19
lines changed

1 file changed

+37
-19
lines changed

lib/ruby_llm/aliases.json

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,83 @@
11
{
22
"claude-3-5-sonnet": {
33
"anthropic": "claude-3-5-sonnet-20241022",
4-
"bedrock": "anthropic.claude-3-5-sonnet-20241022-v2:0"
4+
"bedrock": "anthropic.claude-3-5-sonnet-20241022-v2:0",
5+
"openrouter": "anthropic/claude-3.5-sonnet"
56
},
67
"claude-3-5-haiku": {
78
"anthropic": "claude-3-5-haiku-20241022",
8-
"bedrock": "anthropic.claude-3-5-haiku-20241022-v1:0"
9+
"bedrock": "anthropic.claude-3-5-haiku-20241022-v1:0",
10+
"openrouter": "anthropic/claude-3.5-haiku-20241022"
911
},
1012
"claude-3-7-sonnet": {
1113
"anthropic": "claude-3-7-sonnet-20250219",
12-
"bedrock": "us.anthropic.claude-3-7-sonnet-20250219-v1:0"
14+
"bedrock": "us.anthropic.claude-3-7-sonnet-20250219-v1:0",
15+
"openrouter": "us.anthropic.claude-3-7-sonnet-20250219-v1:0"
1316
},
1417
"claude-3-opus": {
1518
"anthropic": "claude-3-opus-20240229",
16-
"bedrock": "anthropic.claude-3-opus-20240229-v1:0"
19+
"bedrock": "anthropic.claude-3-opus-20240229-v1:0",
20+
"openrouter": ""
1721
},
1822
"claude-3-sonnet": {
1923
"anthropic": "claude-3-sonnet-20240229",
20-
"bedrock": "anthropic.claude-3-sonnet-20240229-v1:0"
24+
"bedrock": "anthropic.claude-3-sonnet-20240229-v1:0",
25+
"openrouter": ""
2126
},
2227
"claude-3-haiku": {
2328
"anthropic": "claude-3-haiku-20240307",
24-
"bedrock": "anthropic.claude-3-haiku-20240307-v1:0"
29+
"bedrock": "anthropic.claude-3-haiku-20240307-v1:0",
30+
"openrouter": ""
2531
},
2632
"claude-3": {
2733
"anthropic": "claude-3-sonnet-20240229",
28-
"bedrock": "anthropic.claude-3-sonnet-20240229-v1:0"
34+
"bedrock": "anthropic.claude-3-sonnet-20240229-v1:0",
35+
"openrouter": "anthropic/claude-3-sonnet"
2936
},
3037
"claude-2": {
3138
"anthropic": "claude-2.0",
32-
"bedrock": "anthropic.claude-2.0"
39+
"bedrock": "anthropic.claude-2.0",
40+
"openrouter": "anthropic/claude-2"
3341
},
3442
"claude-2-1": {
3543
"anthropic": "claude-2.1",
36-
"bedrock": "anthropic.claude-2.1"
44+
"bedrock": "anthropic.claude-2.1",
45+
"openrouter": "anthropic/claude-2.1"
3746
},
3847
"gpt-4o": {
39-
"openai": "gpt-4o-2024-11-20"
48+
"openai": "gpt-4o-2024-11-20",
49+
"openrouter": "openai/gpt-4o"
4050
},
4151
"gpt-4o-mini": {
42-
"openai": "gpt-4o-mini-2024-07-18"
52+
"openai": "gpt-4o-mini-2024-07-18",
53+
"openrouter": "openai/gpt-4o-mini"
4354
},
4455
"gpt-4-turbo": {
45-
"openai": "gpt-4-turbo-2024-04-09"
56+
"openai": "gpt-4-turbo-2024-04-09",
57+
"openrouter": "openai/gpt-4-turbo"
4658
},
4759
"gemini-1.5-flash": {
48-
"gemini": "gemini-1.5-flash-002"
60+
"gemini": "gemini-1.5-flash-002",
61+
"openrouter": "google/gemini-flash-1.5"
4962
},
5063
"gemini-1.5-flash-8b": {
51-
"gemini": "gemini-1.5-flash-8b-001"
64+
"gemini": "gemini-1.5-flash-8b-001",
65+
"openrouter": "google/gemini-flash-1.5-8b"
5266
},
5367
"gemini-1.5-pro": {
54-
"gemini": "gemini-1.5-pro-002"
68+
"gemini": "gemini-1.5-pro-002",
69+
"openrouter": "google/gemini-pro-1.5"
5570
},
5671
"gemini-2.0-flash": {
57-
"gemini": "gemini-2.0-flash-001"
72+
"gemini": "gemini-2.0-flash-001",
73+
"openrouter": "google/gemini-2.0-flash-001"
5874
},
5975
"o1": {
60-
"openai": "o1-2024-12-17"
76+
"openai": "o1-2024-12-17",
77+
"openrouter": "openai/o1"
6178
},
6279
"o3-mini": {
63-
"openai": "o3-mini-2025-01-31"
80+
"openai": "o3-mini-2025-01-31",
81+
"openrouter": "openai/o3-mini"
6482
}
65-
}
83+
}

0 commit comments

Comments
 (0)