OpenAI👁️ Vision
OpenAI: GPT-5.2 Pro
GPT-5.2 Pro is OpenAI’s most advanced model, offering major improvements in agentic coding and long context performance over GPT-5 Pro. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and accuracy in high-stakes use cases. It supports test-time routing features and advanced prompt understanding, including user-specified intent like "think hard about this." Improvements include reductions in hallucination, sycophancy, and better performance in coding, writing, and health-related tasks.
OpenRouter 원가 (1M 토큰)
입력$21.00
출력$168.00
합계$189.00
인보이스랩 (월 예상)
입력 0.5M + 출력 0.5M 기준
공급가액₩155,647
부가세 (10%)₩15,564
결제 금액₩171,212
💡 부가세 ₩15,564 매입공제 가능
모델 정보
기본 정보
| 모델 ID | openai/gpt-5.2-pro |
| 제공사 | OpenAI |
| 컨텍스트 윈도우 | 400,000 토큰 |
| 모달리티 | text+image+file->text |
지원 기능
👁️ 이미지 분석⚡ Function Calling📋 Structured Output📄 JSON Mode📏 Max Tokens
API 사용법
Python (OpenAI SDK 호환)
from openai import OpenAI
client = OpenAI(
api_key="your-dream-api-key",
base_url="https://api.invoicedream.co.kr/v1"
)
response = client.chat.completions.create(
model="openai/gpt-5.2-pro",
messages=[
{"role": "user", "content": "안녕하세요"}
]
)
print(response.choices[0].message.content)Node.js / TypeScript
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'your-dream-api-key',
baseURL: 'https://api.invoicedream.co.kr/v1'
});
const response = await client.chat.completions.create({
model: 'openai/gpt-5.2-pro',
messages: [{ role: 'user', content: '안녕하세요' }]
});
console.log(response.choices[0].message.content);cURL
curl https://api.invoicedream.co.kr/v1/chat/completions \
-H "Authorization: Bearer your-dream-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.2-pro",
"messages": [{"role": "user", "content": "안녕하세요"}]
}'💡 Tip: OpenAI SDK를 그대로 사용할 수 있습니다.base_url만 변경하면 됩니다!