OpenAI: gpt-5.2-codex
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. Read the docs here Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.
Tất cả nhà cung cấp của mô hình này hiện đang bận
Mọi nhà cung cấp thượng nguồn đã chạm giới hạn tốc độ. Mô hình tự động trở lại khi giới hạn được gỡ, thường trong vài giờ. Hãy thử lại sau ít phút hoặc chuyển sang mô hình khác.
Yêu cầu mô hình này trên DiscordGiá cả
Hiệu năng
Tham số hỗ trợ
Tất cả nhà cung cấp = mọi upstream phục vụ mô hình này đều hỗ trợ. Một số nhà cung cấp = tùy thuộc upstream xử lý yêu cầu. Mặc định = giá trị được gửi khi bạn không thiết lập.
| Tham số | Nhà cung cấp | Mặc định |
|---|---|---|
| frequency_penalty | Một số nhà cung cấp | Mặc định không gửi |
| include_reasoning | Tất cả nhà cung cấp | - |
| max_completion_tokens | Một số nhà cung cấp | - |
| max_tokens | Một số nhà cung cấp | - |
| reasoning | Tất cả nhà cung cấp | - |
| response_format | Tất cả nhà cung cấp | - |
| seed | Tất cả nhà cung cấp | - |
| structured_outputs | Tất cả nhà cung cấp | - |
| temperature | Một số nhà cung cấp | Mặc định không gửi |
| tool_choice | Tất cả nhà cung cấp | - |
| tools | Tất cả nhà cung cấp | - |
| top_p | Một số nhà cung cấp | Mặc định không gửi |
Câu hỏi thường gặp
gpt-5.2-codex có giá bao nhiêu mỗi 1 triệu token?
Đầu vào có giá $3.12 mỗi 1 triệu token, đầu ra $24.99 mỗi 1 triệu token. Tính phí theo từng token, không làm tròn theo kích thước lô.
Làm sao để truy cập gpt-5.2-codex qua API?
Gửi yêu cầu đến endpoint /v1/chat/completions của UnoRouter với model=gpt-5.2-codex. Mọi thư viện client tương thích OpenAI đều hoạt động. Xác thực dùng token Bearer chuẩn.
Cửa sổ ngữ cảnh của gpt-5.2-codex là bao nhiêu?
gpt-5.2-codex hỗ trợ cửa sổ ngữ cảnh 400K token, chia sẻ giữa prompt của bạn và phản hồi của mô hình.