GPT Chat Latest overview
GPT Chat Latest specs
- Model ID
openai/gpt-chat-latest- Developer
- OpenAI
- Context window
- 400,000 tokens
- Max output
- 128,000 tokens
- Input
- Image, Text
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.
Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.
Complex reasoning
Extended reasoning improves reliability on multi-step math, logic, and technical analysis.
Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.
Use cases
GPT-chat-latest is documented as suited for interactive assistants. It is described as a model for customer care, IT helpdesk, HR, and sales enablement.
It is also documented for brand-aligned, safe conversations. The model description says it can resolve complex cases while maintaining speed and quality.
A third documented use case is customer-facing chat experiences. It is presented as a chat-optimized model for multi-turn conversational use.
It is also suited to agentic workflows that coordinate external tools. The model page describes it as supporting structured tool outputs for tasks such as search, retrieval, ticketing, and CRM.
Capabilities
- Function calling
- Reasoning
- Streaming
- Structured outputs
- Web search
GPT Chat Latest API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $5.29 | 1M tokens |
| Output | $31.74 | 1M tokens |
| Cached input | $0.529 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
GPT Chat Latest vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $5.29 | $31.74 | |
| $0.1 | $0.5 | |
| $1 | $5 | |
| $2 | $10 | |
| $2.12 | $10.58 |
How to use the GPT Chat Latest API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "openai/gpt-chat-latest",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "openai/gpt-chat-latest",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = 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-chat-latest",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
GPT Chat Latest FAQ
What is the context window of GPT Chat Latest?
GPT Chat Latest has a 400,000 tokens context window and can return up to 128,000 tokens.
What inputs and outputs does GPT Chat Latest support?
GPT Chat Latest takes image, text as input and returns text.
What is the model ID for GPT Chat Latest?
Use openai/gpt-chat-latest as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
How much does GPT Chat Latest cost?
GPT Chat Latest costs $5.29 input and $31.74 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Does GPT Chat Latest support streaming?
Yes, GPT Chat Latest can stream responses as they are generated.
Can GPT Chat Latest read images?
Yes, GPT Chat Latest accepts image input alongside text.
Who created GPT Chat Latest?
GPT Chat Latest was built by OpenAI.

