Skip to content

Commit bcb589b

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-1005: docs: add gpt-5-5 and -pro
1 parent b450b9f commit bcb589b

10 files changed

Lines changed: 578 additions & 3 deletions

File tree

docs/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@
159159
* [gpt-5.3-codex](api-references/text-models-llm/openai/gpt-5.3-codex.md)
160160
* [gpt-5-4](api-references/text-models-llm/openai/gpt-5-4.md)
161161
* [gpt-5-4-pro](api-references/text-models-llm/openai/gpt-5-4-pro.md)
162+
* [gpt-5-5](api-references/text-models-llm/openai/gpt-5-5.md)
163+
* [gpt-5-5-pro](api-references/text-models-llm/openai/gpt-5-5-pro.md)
162164
* [Perplexity](api-references/text-models-llm/perplexity/README.md)
163165
* [sonar](api-references/text-models-llm/perplexity/sonar.md)
164166
* [sonar-pro](api-references/text-models-llm/perplexity/sonar-pro.md)

docs/api-references/model-database.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/api-references/text-models-llm/README.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
# gpt-5-5-pro
2+
3+
{% columns %}
4+
{% column width="66.66666666666666%" %}
5+
{% hint style="info" %}
6+
This documentation is valid for the following list of our models:
7+
8+
* `openai/gpt-5-5-pro`
9+
{% endhint %}
10+
{% endcolumn %}
11+
12+
{% column width="33.33333333333334%" %}
13+
<a href="https://aimlapi.com/app/openai/gpt-5-5-pro" class="button primary">Try in Playground</a>
14+
{% endcolumn %}
15+
{% endcolumns %}
16+
17+
## Model Overview
18+
19+
OpenAI’s flagship model and one of its best offerings as of late April 2026. Designed for maximum quality, reliability, and performance in critical or high-precision workloads. Ideal for advanced reasoning, premium generation quality, and complex production workflows.\
20+
This model can only be called via the `/responses` endpoint.
21+
22+
{% hint style="success" %}
23+
[Create AI/ML API Key](https://aimlapi.com/app/keys)
24+
{% endhint %}
25+
26+
<details>
27+
28+
<summary>How to make the first API call</summary>
29+
30+
**1️⃣ Required setup (don’t skip this)**\
31+
**Create an account:** Sign up on the AI/ML API website (if you don’t have one yet).\
32+
**Generate an API key:** In your account dashboard, create an API key and make sure it’s **enabled** in the UI.
33+
34+
**2️ Copy the code example**\
35+
At the bottom of this page, pick the snippet for your preferred programming language (Python / Node.js) and copy it into your project.
36+
37+
**3️ Update the snippet for your use case**\
38+
**Insert your API key:** replace `<YOUR_AIMLAPI_KEY>` with your real AI/ML API key.\
39+
**Select a model:** set the `model` field to the model you want to call.\
40+
**Provide input:** fill in the request input field(s) shown in the example (for example, `messages` for chat/LLM models, or other inputs for image/video/audio models).
41+
42+
**4️ (Optional) Tune the request**\
43+
Depending on the model type, you can add optional parameters to control the output (e.g., generation settings, quality, length, etc.). See the API schema below for the full list.
44+
45+
**5️ Run your code**\
46+
Run the updated code in your development environment. Response time depends on the model and request size, but simple requests typically return quickly.
47+
48+
{% hint style="success" %}
49+
If you need a more detailed walkthrough for setting up your development environment and making a request step by step — feel free to use our [Quickstart guide](/broken/pages/ngeSCZKxiGVWqYZTHDjY).
50+
{% endhint %}
51+
52+
</details>
53+
54+
## API Schema
55+
56+
{% openapi-operation spec="gpt-5-5-pro" path="/v1/responses" method="post" %}
57+
[OpenAPI gpt-5-5-pro](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5-5-pro-RESPONSES.json)
58+
{% endopenapi-operation %}
59+
60+
## Code Example
61+
62+
{% tabs %}
63+
{% tab title="Python" %}
64+
{% code overflow="wrap" %}
65+
```python
66+
import requests
67+
import json # for getting a structured output with indentation
68+
69+
response = requests.post(
70+
"https://api.aimlapi.com/v1/responses",
71+
headers={
72+
# Insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>:
73+
"Authorization":"Bearer <YOUR_AIMLAPI_KEY>",
74+
"Content-Type":"application/json"
75+
},
76+
json={
77+
"model":"openai/gpt-5-5-pro",
78+
"messages":[
79+
{
80+
"role":"user",
81+
"content":"Hi! What do you think about mankind?" # insert your prompt
82+
}
83+
]
84+
}
85+
)
86+
87+
data = response.json()
88+
print(json.dumps(data, indent=2, ensure_ascii=False))
89+
```
90+
{% endcode %}
91+
{% endtab %}
92+
93+
{% tab title="JavaScript" %}
94+
{% code overflow="wrap" %}
95+
```javascript
96+
async function main() {
97+
const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {
98+
method: 'POST',
99+
headers: {
100+
// insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>
101+
'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',
102+
'Content-Type': 'application/json',
103+
},
104+
body: JSON.stringify({
105+
model: 'openai/gpt-5-5-pro',
106+
messages:[
107+
{
108+
role:'user',
109+
content: 'Hi! What do you think about mankind?' // insert your prompt here
110+
}
111+
],
112+
}),
113+
});
114+
115+
const data = await response.json();
116+
console.log(JSON.stringify(data, null, 2));
117+
}
118+
119+
main();
120+
```
121+
{% endcode %}
122+
{% endtab %}
123+
{% endtabs %}
124+
125+
<details>
126+
127+
<summary>Response</summary>
128+
129+
{% code overflow="wrap" %}
130+
```json5
131+
{
132+
"id": "Chyyu2KgZuNhSnHKMr8dO",
133+
"object": "response",
134+
"created_at": 1777249873,
135+
"status": "completed",
136+
"background": false,
137+
"billing": {
138+
"payer": "developer"
139+
},
140+
"completed_at": 1777249891,
141+
"error": null,
142+
"frequency_penalty": 0,
143+
"incomplete_details": null,
144+
"instructions": null,
145+
"max_output_tokens": null,
146+
"max_tool_calls": null,
147+
"model": "gpt-5.5-pro-2026-04-23",
148+
"moderation": null,
149+
"output": [
150+
{
151+
"id": "rs_002611bcb314c3ad0069eeae63a18c81939ee43c6302aea5fa",
152+
"type": "reasoning",
153+
"summary": []
154+
},
155+
{
156+
"id": "msg_002611bcb314c3ad0069eeae63a3248193aabe8d57c839e0ab",
157+
"type": "message",
158+
"status": "completed",
159+
"content": [
160+
{
161+
"type": "output_text",
162+
"annotations": [],
163+
"logprobs": [],
164+
"text": "Hi! I don’t have personal feelings in the human sense, but my perspective is that mankind is deeply contradictory and remarkable: capable of cruelty, shortsightedness, and destruction, but also compassion, imagination, courage, science, art, humor, and self-sacrifice.\n\nWhat stands out most is humanity’s ability to *reflect on itself*—to ask what is good, to learn from mistakes, to build meaning, and to care about people far beyond one’s immediate circle. That capacity gives mankind both danger and hope.\n\nSo, in short: humanity is flawed, powerful, and still unfinished. At its best, it’s astonishing."
165+
}
166+
],
167+
"phase": "final_answer",
168+
"role": "assistant"
169+
}
170+
],
171+
"parallel_tool_calls": true,
172+
"presence_penalty": 0,
173+
"previous_response_id": null,
174+
"prompt_cache_key": null,
175+
"prompt_cache_retention": "24h",
176+
"reasoning": {
177+
"effort": "high",
178+
"summary": null
179+
},
180+
"safety_identifier": null,
181+
"service_tier": "default",
182+
"store": true,
183+
"temperature": 1,
184+
"text": {
185+
"format": {
186+
"type": "text"
187+
},
188+
"verbosity": "medium"
189+
},
190+
"tool_choice": "auto",
191+
"tools": [],
192+
"top_logprobs": 0,
193+
"top_p": 0.98,
194+
"truncation": "disabled",
195+
"usage": {
196+
"input_tokens": 15,
197+
"input_tokens_details": {
198+
"cached_tokens": 0
199+
},
200+
"output_tokens": 249,
201+
"output_tokens_details": {
202+
"reasoning_tokens": 114
203+
},
204+
"total_tokens": 264
205+
},
206+
"user": null,
207+
"metadata": {},
208+
"output_text": "Hi! I don’t have personal feelings in the human sense, but my perspective is that mankind is deeply contradictory and remarkable: capable of cruelty, shortsightedness, and destruction, but also compassion, imagination, courage, science, art, humor, and self-sacrifice.\n\nWhat stands out most is humanity’s ability to *reflect on itself*—to ask what is good, to learn from mistakes, to build meaning, and to care about people far beyond one’s immediate circle. That capacity gives mankind both danger and hope.\n\nSo, in short: humanity is flawed, powerful, and still unfinished. At its best, it’s astonishing."
209+
}
210+
```
211+
{% endcode %}
212+
213+
</details>

0 commit comments

Comments
 (0)