Skip to content

Commit 1e692b3

Browse files
feat: re-gen claude-haiku-4-5, claude-opus-4-5
1 parent aaa5308 commit 1e692b3

3 files changed

Lines changed: 3698 additions & 19 deletions

File tree

docs/api-references/text-models-llm/Anthropic/claude-haiku-4-5.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"model": {
2424
"type": "string",
2525
"enum": [
26-
"anthropic/claude-opus-4.5",
27-
"claude-opus-4-5",
28-
"claude-opus-4-5-20251101"
26+
"anthropic/claude-haiku-4.5",
27+
"claude-haiku-4-5",
28+
"claude-haiku-4-5-20251001"
2929
]
3030
},
3131
"frequency_penalty": {
@@ -989,7 +989,7 @@
989989
"model",
990990
"messages"
991991
],
992-
"title": "claude-opus-4-5-20251101"
992+
"title": "claude-haiku-4-5-20251001"
993993
}
994994
}
995995
}
@@ -1374,7 +1374,7 @@
13741374
"model": {
13751375
"type": "string",
13761376
"description": "The model used for the chat completion.",
1377-
"example": "anthropic/claude-opus-4.5"
1377+
"example": "anthropic/claude-haiku-4.5"
13781378
},
13791379
"usage": {
13801380
"type": "object",
@@ -1816,19 +1816,19 @@
18161816
"x-codeSamples": [
18171817
{
18181818
"lang": "JavaScript",
1819-
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n model: 'anthropic/claude-opus-4.5',\n messages:[\n {\n role:'user',\n content: 'Hello'\n }\n ],\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
1819+
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n model: 'anthropic/claude-haiku-4.5',\n messages:[\n {\n role:'user',\n content: 'Hello'\n }\n ],\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
18201820
},
18211821
{
18221822
"lang": "Python",
1823-
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/chat/completions\",\n headers={\n \"Content-Type\":\"application/json\", \n \"Authorization\":\"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\":\"anthropic/claude-opus-4.5\",\n \"messages\":[\n {\n \"role\":\"user\",\n \"content\":\"Hello\"\n }\n ],\n }\n)\n\ndata = response.json()\nprint(data)"
1823+
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/chat/completions\",\n headers={\n \"Content-Type\":\"application/json\", \n \"Authorization\":\"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\":\"anthropic/claude-haiku-4.5\",\n \"messages\":[\n {\n \"role\":\"user\",\n \"content\":\"Hello\"\n }\n ],\n }\n)\n\ndata = response.json()\nprint(data)"
18241824
},
18251825
{
18261826
"lang": "cURL",
1827-
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/chat/completions' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"anthropic/claude-opus-4.5\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n }'"
1827+
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/chat/completions' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"anthropic/claude-haiku-4.5\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n }'"
18281828
},
18291829
{
18301830
"lang": "HTTP",
1831-
"source": "POST /v1/chat/completions HTTP/1.1\nHost: api.aimlapi.com\nAuthorization: Bearer <YOUR_AIMLAPI_KEY>\nContent-Type: application/json\nAccept: */*\nContent-Length: 59\n\n{\n \"model\": \"anthropic/claude-opus-4.5\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n}"
1831+
"source": "POST /v1/chat/completions HTTP/1.1\nHost: api.aimlapi.com\nAuthorization: Bearer <YOUR_AIMLAPI_KEY>\nContent-Type: application/json\nAccept: */*\nContent-Length: 59\n\n{\n \"model\": \"anthropic/claude-haiku-4.5\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n}"
18321832
}
18331833
]
18341834
}
@@ -1846,9 +1846,9 @@
18461846
"model": {
18471847
"type": "string",
18481848
"enum": [
1849-
"anthropic/claude-opus-4.5",
1850-
"claude-opus-4-5",
1851-
"claude-opus-4-5-20251101"
1849+
"anthropic/claude-haiku-4.5",
1850+
"claude-haiku-4-5",
1851+
"claude-haiku-4-5-20251001"
18521852
]
18531853
},
18541854
"frequency_penalty": {
@@ -2812,7 +2812,7 @@
28122812
"model",
28132813
"messages"
28142814
],
2815-
"title": "claude-opus-4-5-20251101"
2815+
"title": "claude-haiku-4-5-20251001"
28162816
}
28172817
}
28182818
}
@@ -3197,7 +3197,7 @@
31973197
"model": {
31983198
"type": "string",
31993199
"description": "The model used for the chat completion.",
3200-
"example": "anthropic/claude-opus-4.5"
3200+
"example": "anthropic/claude-haiku-4.5"
32013201
},
32023202
"usage": {
32033203
"type": "object",
@@ -3639,19 +3639,19 @@
36393639
"x-codeSamples": [
36403640
{
36413641
"lang": "JavaScript",
3642-
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n model: 'anthropic/claude-opus-4.5',\n messages:[\n {\n role:'user',\n content: 'Hello'\n }\n ],\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
3642+
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n model: 'anthropic/claude-haiku-4.5',\n messages:[\n {\n role:'user',\n content: 'Hello'\n }\n ],\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
36433643
},
36443644
{
36453645
"lang": "Python",
3646-
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/chat/completions\",\n headers={\n \"Content-Type\":\"application/json\", \n \"Authorization\":\"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\":\"anthropic/claude-opus-4.5\",\n \"messages\":[\n {\n \"role\":\"user\",\n \"content\":\"Hello\"\n }\n ],\n }\n)\n\ndata = response.json()\nprint(data)"
3646+
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/chat/completions\",\n headers={\n \"Content-Type\":\"application/json\", \n \"Authorization\":\"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\":\"anthropic/claude-haiku-4.5\",\n \"messages\":[\n {\n \"role\":\"user\",\n \"content\":\"Hello\"\n }\n ],\n }\n)\n\ndata = response.json()\nprint(data)"
36473647
},
36483648
{
36493649
"lang": "cURL",
3650-
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/chat/completions' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"anthropic/claude-opus-4.5\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n }'"
3650+
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/chat/completions' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"anthropic/claude-haiku-4.5\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n }'"
36513651
},
36523652
{
36533653
"lang": "HTTP",
3654-
"source": "POST /v1/chat/completions HTTP/1.1\nHost: api.aimlapi.com\nAuthorization: Bearer <YOUR_AIMLAPI_KEY>\nContent-Type: application/json\nAccept: */*\nContent-Length: 59\n\n{\n \"model\": \"anthropic/claude-opus-4.5\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n}"
3654+
"source": "POST /v1/chat/completions HTTP/1.1\nHost: api.aimlapi.com\nAuthorization: Bearer <YOUR_AIMLAPI_KEY>\nContent-Type: application/json\nAccept: */*\nContent-Length: 59\n\n{\n \"model\": \"anthropic/claude-haiku-4.5\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n}"
36553655
}
36563656
]
36573657
}

0 commit comments

Comments
 (0)