AGTCloud API Docs
가이드API 레퍼런스통합 및 리소스업데이트 및 도움말
공급업체별 매개변수 차이

DeepSeek 매개변수 및 프로토콜 차이

호환 프로토콜에서 DeepSeek 모델의 매개변수 차이와 사용 방법을 알아봅니다.

DeepSeek는 이 페이지에 따라 매개변수를 조정하세요. 구조: Chat Completions, Responses, Messages.

대상 모델

모델적용 범위
deepseek-flashChat, Responses, Messages. 이미지 지원
deepseek-v4-proChat, Responses, Messages. 이미지 미지원, Responses 서버 검색 지원

Chat Completions 차이

필드차이 설명
thinking.type둘 다 기본 추론, enabled/disabled 지원
reasoning_effortnone은 끄고 low/high/max은 켬, 기본 high. minimal→low, medium/xhigh→high, ultra→max
temperature범위 0~2, 추론 시 무시
top_pFlash: 추론 시 0.95~1, 0.95 미만은 0.95, 비추론은 1 고정. Pro: 추론 시 전달값 무시, tools 있으면 0.95, 아니면 1; 비추론 시 유효
max_tokensDeepSeek는 계속 사용하며 폐기되지 않음. 범위 1~393216. 비추론 기본 8192, 추론 65536, 강도 max일 때 131072
presence_penalty, frequency_penalty공식 폐기, 전달해도 무효
stop문자열 또는 배열, 최대 16개 정지 문자열
response_format.typetext/json_object 지원, JSON 모드는 프롬프트에도 JSON 출력 명시
tools, tool_choiceFunction Tool만. 추론 시 required 또는 함수 지정은 400, 먼저 추론 해제
이전 reasoning_content추론 시 tools 있으면 도구 없는 턴까지 모든 assistant 추론 재전송. tools 없으면 이력 추론 무시
stream_options.include_usagestream: true과만 사용. 설정 여부와 무관하게 마지막 블록에 전체 Usage, 별도 choices: [] 없음. 켜면 이전 블록의 usage는 null
user_idDeepSeek 확장, 최대 512자. 영문, 숫자, 밑줄, 하이픈만. 사용자/캐시/스케줄 분리, 개인정보 제외

Responses 차이

필드차이 설명
input, instructions적어도 하나 필요. instructions은 첫 system, developer 역할은 user 취급
reasoning.effort기본 high, none/low/high/max 지원, 호환 매핑은 위 표. none로 추론 해제
temperature, top_p값/추론 동작은 위 표와 같고 Flash / Pro 구분
previous_response_id, conversation, store무상태 API, 전달값 무시. 입출력 이력 재전송, 응답 previous_response_id: null, store: false 고정
text.formattext/json_object/json_schema 지원, JSON Schema는 name, schema 필요
text.verbosity, reasoning.summary전자는 무효, 후자는 요약 생성 안 함. reasoning 이력은 평문 content만, summary/encrypted_content 미지원
toolsFunction Tool 지원, Custom Tool 이름은 apply_patch만, 나머지 400. web_search는 Pro만, Flash 무시; file_search, code_interpreter, computer_use, mcp 무시
tool_choicenone/auto/required 및 Function Tool 지정 지원
parallel_tool_calls, max_tool_calls값 무시, 병렬 항상 켜짐, 응답 parallel_tool_calls은 true 고정
truncation무시, 자동 자르기 없음. 입력 컨텍스트 초과 400
background, metadata, include, prompt전달값 무시
service_tier, safety_identifier, context_management, stream_options전달값 무시

Messages 차이

필드차이 설명
anthropic-versionDeepSeek는 Header를 무시하고 Anthropic 버전 날짜로 규칙을 바꾸지 않음
thinking, output_config.effort기본 추론. thinking.type은 enabled/disabled, budget_tokens는 무시. 강도 low/high/max, 기본 high, Chat 매핑 적용. output_config는 effort만
temperature, top_p값과 동작은 Chat, top_k 무시
tool_choice.typenone/auto/any/tool 지원, disable_parallel_tool_use 무시
metadatauser_id만, 다른 필드 무시
container, mcp_servers, service_tier전달값 무시
텍스트 및 도구 결과텍스트 citations, 결과 is_error 무시. 캐시 표 참고
콘텐츠 블록document, search_result, redacted_thinking, code_execution_tool_result, mcp_tool_use, mcp_tool_result, container_upload 미지원

캐시 차이

필드차이 설명
자동 접두사 캐시기본 자동 활성화, 설정 불필요. 저장된 접두사 단위가 완전히 일치해야 적중 가능, 임의의 동일 조각은 보장 안 함
Responses의 prompt_cache_key, prompt_cache_retention전달값 무시, 캐시 자동 관리
Messages의 cache_control블록과 도구 정의의 표시 무시
캐시 사용량Chat usage.prompt_cache_hit_tokens, usage.prompt_cache_miss_tokens, Responses usage.input_tokens_details.cached_tokens 확인

미디어 입력 차이

이미지는 deepseek-flash만 지원, deepseek-v4-pro 미지원입니다.

입력프로토콜 블록차이 설명
이미지image_urlChat: image_url.url은 공개 URL / Base64 Data URL
이미지input_imageResponses: image_url은 공개 URL / Base64 Data URL, user / developer나 도구 출력에 허용. system / assistant 이미지는 400
이미지imageMessages: source.type=url이면 url, source.type=base64이면 media_type, data
필드차이 설명
detailChat은 image_url 내부, Responses는 블록. low/high/original/auto 지원, low는 512×512으로 축소, 나머지 세 값은 동등
이미지 형식 및 크기JPEG, PNG, GIF, WebP. URL / Base64 한 장 최대 32 MiB, 본문 48 MiB, Base64 인코딩 포함
이미지 URL최대 8192자, 60초 내 다운로드 완료

호출 예제

MODEL_ID을 전체 ID로 바꾸고 본인 API Key를 사용하세요.

curl 'https://api.agtcloud.ai/v1/chat/completions' \
  -H 'Authorization: Bearer your-api-key' \
  -H 'Content-Type: application/json' \
  --data '{
    "model": "MODEL_ID",
    "messages": [{"role": "user", "content": "API 시간 초과 진단 방법을 세 가지로 설명하세요"}],
    "thinking": {"type": "enabled"},
    "reasoning_effort": "high",
    "max_tokens": 4096
  }'

공식 참고 자료

이 페이지의 내용