GPT-6.2 Astra Healthcare overview
GPT-6.2 Astra Healthcare by OpenAI
OpenAI built GPT-6.2 Astra Healthcare as a healthcare configuration of GPT-6.2 Astra. According to OpenAI, it is tailored to clinical questions.
GPT-6.2 Astra Healthcare specs
- Model ID
openai/gpt-6.2-astra-healthcare- Developer
- OpenAI
- Context window
- 1,050,000 tokens
- Max output
- 128,000 tokens
- Input
- Text
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
Room for long clinical material
The context window holds 1.05M tokens, so extended notes or several guideline documents can go into a single request. A response can run to 128,000 tokens.
Streaming is supported, which lets you show a long answer while it is still being generated. Send your longest real input first to see how the model handles it.
Set reasoning effort for the question
Reasoning effort is the one request option on this endpoint. It accepts low, medium or high. Lower values give faster responses and use fewer tokens on reasoning.
Start with medium on your own clinical questions. Use low for short lookups where speed matters. Run the hardest multi-step questions at high as well, and compare those answers with the medium ones before you commit to the slower setting.
Use cases
Answer clinical reference questions sent as plain text prompts.
Summarize long clinical notes or guideline text that fits inside the 1.05M token context window.
Draft long written responses of up to 128,000 tokens for internal healthcare knowledge tools.
Stream answers into a clinician chat interface, with low reasoning effort for quick lookups.
Capabilities
- Reasoning
- Streaming
GPT-6.2 Astra Healthcare API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $8 | 1M tokens |
| Output | $40 | 1M tokens |
| Cached input | $0.4 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 24, 2026.
GPT-6.2 Astra Healthcare vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $8 | $40 | |
| $1 | $5 | |
| $2 | $10 | |
| $2 | $10 | |
| $2.116 | $10.58 |
How to use the GPT-6.2 Astra Healthcare 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-6.2-astra-healthcare",
"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-6.2-astra-healthcare",
"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-6.2-astra-healthcare",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());GPT-6.2 Astra Healthcare FAQ
How much does GPT-6.2 Astra Healthcare cost?
GPT-6.2 Astra Healthcare costs $8 / 1M tokens for input and $40 / 1M tokens for output on AI/ML API. Cached input is billed at $0.4 / 1M tokens.
What input and output does this model use?
It takes text and returns text. It is a chat model with reasoning and streaming support.
Which request option can I change?
Reasoning effort, with the values low, medium or high. Lower effort gives faster responses and fewer reasoning tokens.
How long can a response be?
The maximum output is 128,000 tokens per response.
Can I stream the answer?
Yes, streaming is supported. A long answer can be shown to the user while it is still being generated.
What is the GPT-6.2 Astra Healthcare model ID?
Use openai/gpt-6.2-astra-healthcare as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.
What is the context window of GPT-6.2 Astra Healthcare?
GPT-6.2 Astra Healthcare accepts up to 1,050,000 tokens of context and returns up to 128,000 output tokens.