import requests
r = requests.post(
"https://api.aimlapi.com/v1/chat/completions",
headers={"Authorization": "Bearer " + AIMLAPI_KEY},
json={
"model": "anthropic/claude-sonnet-5",
"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": "anthropic/claude-sonnet-5",
"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":"anthropic/claude-sonnet-5","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Cached input |
The full 1M context window is included at standard pricing. Free credits on signup.
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| GPQA Diamond | 96.2% | Google-proof graduate science questions (hardest subset) | Source | July 8, 2026 |
| OSWorld | 81.2% | Computer-use across real desktop applications | Source | July 8, 2026 |
| SWE-bench Verified | 85.2% | Resolving verified real GitHub issues | Source | July 8, 2026 |
| Intelligence | 38.4 | Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial Analysis | Source | September 12, 2026 |
| Coding | 71.5 | Composite score across standardised coding evaluations, measured independently by Artificial Analysis | Source | September 12, 2026 |
Source: Anthropic model card.
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Claude Sonnet 5 This page | Balanced coding + agents | |||
| Chat + assistants | ||||
| Chat + assistants | ||||
| Reasoning + agents | ||||
| Reasoning + agents with long context |
GPT-Image-1.5 is 4x Faster than the previous models – DALL-E 3 and GPT-Image-1. Detailed high resolution images now take near 30 seconds to be generated.
TTS-1-HD produces higher-fidelity audio with more natural prosody and tone, while TTS-1 is optimized for speed and lower cost.
GPT-Image-1.5 was released on December 16, 2025. OpenAI made the model available globally to all ChatGPT users and through the API on this date, marking a significant upgrade to their image generation capabilities.
It returns audio in mp3, opus, aac, flac, wav, pcm formats.
1. Register on our platform
2. Verify your account
3. Create an API key
4. Copy the code from this page
5. Paste it in your project