import requests r = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "openai/gpt-3.5-turbo-1106", "messages": [ { "role": "user", "content": "Hello!" } ] }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "openai/gpt-3.5-turbo-1106", "messages": [ { "role": "user", "content": "Hello!" } ] }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"openai/gpt-3.5-turbo-1106","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Chat GPT-3.5 Turbo 1106 This page | Coding + agents | |||
| Reasoning + agents | ||||
| Balanced coding + agents | ||||
| Long-context, multimodal & agentic workflows | ||||
| Reasoning + agents |
Chat GPT-3.5 Turbo 1106 has a 16,000 tokens context window.
Chat GPT-3.5 Turbo 1106 takes text as input and returns text.
Use openai/gpt-3.5-turbo-1106 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Chat GPT-3.5 Turbo 1106 became available on August 7, 2025.
Chat GPT-3.5 Turbo 1106 is priced at input $1.3 / 1M tokens, output $2.6 / 1M tokens.
Yes, Chat GPT-3.5 Turbo 1106 can stream responses as they are generated.
Chat GPT-3.5 Turbo 1106 was built by OpenAI.
You can call it via the endpoint https://api.aimlapi.com/v1/chat/completions.
It is text-only, accepting text input and producing text output.