GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1-Codex, 5.2-Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the reasoning.effort parameter.
512K 컨텍스트 윈도우
128K 최대 출력 토큰
출시일: 2026-01-14
지원 프로토콜:openai
제공업체:Azure
기능:비전Function Calling추론프롬프트 캐싱웹 검색오디오 입력영상 입력PDF 입력
요금
| 유형 | 요금 |
|---|---|
| 입력 토큰 | $1.75/M |
| 출력 토큰 | $14/M |
| 캐시 읽기 | $0.18/M |
| 웹 검색 | $0.01/R |
코드 예제
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.ai/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="openai/gpt-5.2-codex",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
관련 모델
자주 묻는 질문
OpenAI: GPT-5.2 Codex은(는) Ofox.ai에서 입력 $1.75/M/백만 토큰, 출력 $14/M/백만 토큰입니다. 종량제, 월정액 없음.
OpenAI: GPT-5.2 Codex은(는) 512K 토큰의 컨텍스트 윈도우와 최대 128K 토큰 출력을 지원하여, 대용량 문서 처리와 장기 대화가 가능합니다.
base URL을 https://api.ofox.ai/v1로 설정하고 Ofox API Key를 사용하면 됩니다. OpenAI 호환 API — 기존 코드에서 base URL과 API Key만 변경하면 됩니다.
OpenAI: GPT-5.2 Codex은(는) 비전, Function Calling, 추론, 프롬프트 캐싱, 웹 검색, 오디오 입력, 영상 입력, PDF 입력 기능을 지원합니다. Ofox.ai 통합 API로 모든 기능에 접근하세요.