GPT-6.2 Sol Healthcare overview
GPT-6.2 Sol Healthcare by OpenAI
OpenAI built GPT-6.2 Sol Healthcare as a healthcare configuration of GPT-6.2 Sol, tailored to clinical questions. OpenAI says that when it uses web search, it searches a dedicated index of medical sources.
GPT-6.2 Sol Healthcare specs
- Model ID
openai/gpt-6.2-sol-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
Fit long clinical context into one request
The context window holds 1.05M tokens. A long chart summary, a guideline excerpt and the question itself can travel in a single request. One answer can run up to 128,000 tokens.
Streaming is available, so a long answer can appear in your interface as it is generated. When you send source text with a question, check in the output that each statement matches the text you supplied.
Set reasoning effort for the question
Reasoning effort is the one request option on this endpoint. It accepts low, medium or high. Lowering it gives faster responses and fewer tokens spent on reasoning.
Start with medium on general clinical questions. Move to high when a question needs several findings weighed against each other. Try low on short lookups where speed matters more than depth.
Where it fits next to GPT-6.2 Sol
This model is the healthcare configuration of GPT-6.2 Sol, so the same prompts can run on both. Send a set of your own clinical questions to each and compare the answers for accuracy and completeness before you choose one.
Use cases
Draft answers to clinical reference questions for a clinician-facing assistant.
Summarize a long patient document pasted into a single prompt.
Stream explanations of medical topics into a chat interface.
Compare answers at low and high reasoning effort on a set of test cases.
Capabilities
- Reasoning
- Streaming
GPT-6.2 Sol Healthcare API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $2 | 1M tokens |
| Output | $10 | 1M tokens |
| Cached input | $0.1 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 24, 2026.
GPT-6.2 Sol Healthcare vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $2 | $10 | |
| $1 | $5 | |
| $2 | $10 | |
| $2 | $10 | |
| $2.116 | $10.58 |
How to use the GPT-6.2 Sol 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-sol-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-sol-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-sol-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 Sol Healthcare FAQ
How much does GPT-6.2 Sol Healthcare cost?
GPT-6.2 Sol Healthcare costs $2 / 1M tokens for input and $10 / 1M tokens for output on AI/ML API. Cached input is billed at $0.1 / 1M tokens.
What inputs and outputs does it support?
It takes text and returns text. Streaming is available.
Which request option can I change?
Reasoning effort, with the values low, medium and high. Lower values give faster responses and use fewer tokens on reasoning.
How long can a single response be?
A single response can reach 128,000 tokens.
Can I control web search in a request?
The request options of this endpoint list only reasoning effort, so there is no web search setting to change. Test your own prompts to see how the answers are sourced.
What is the GPT-6.2 Sol Healthcare model ID?
Use openai/gpt-6.2-sol-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 Sol Healthcare?
GPT-6.2 Sol Healthcare accepts up to 1,050,000 tokens of context and returns up to 128,000 output tokens.