Codex 스타일 하네스에서의 에이전틱 코딩에 최적화된 GPT-5.1 변형 모델입니다. 긴 도구 호출 루프, 코드 편집, 리포지토리 규모 작업에 튜닝되었으며 OpenAI Responses API로 제공됩니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 2,322.5 | $1.55 |
| 출력 토큰 | 18,580 | $12.39 |
| 캐시된 토큰 | 232.25 | $0.15 |
* 1,500 크레딧 ≈ $1 (실제 요금은 사용량에 따라 달라질 수 있습니다)
curl -X POST "https://api.core.today/llm/openai/v1/responses" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gpt-5.1-codex",
"input": "Refactor this function to remove the duplicated error handling, and add a unit test:\n\n<code snippet>",
"max_output_tokens": 4000
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
model | string | Yes | gpt-5.1-codex | 모델 식별자 |
input | string | array | Yes | - | Responses API 입력: 문자열 또는 입력 아이템 배열 (메시지, 도구 결과) |
instructions | string | No | - | 실행에 적용할 시스템 수준 지시문 |
max_output_tokens | integer | No | - | 응답의 최대 토큰 수 (Responses API 필드; max_tokens 아님) |
stream | boolean | No | false | Server-Sent Events 스트리밍 활성화 |
코딩 작업을 위한 Responses API 요청
curl -X POST "https://api.core.today/llm/openai/v1/responses" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gpt-5.1-codex",
"input": "Refactor this function to remove the duplicated error handling, and add a unit test:\n\n<code snippet>",
"max_output_tokens": 4000
}'