Skip to content
연동 및 리소스

SDK 및 Responses 마이그레이션 ​

1. 공급자 SDK를 Vanix AI로 마이그레이션 ​

기존 프로덕션 애플리케이션을 이전할 때 스키마 재작성은 전혀 필요 없으며, 단 두 가지 설정만 변경하면 됩니다:

기존 공급자기존 기본 URL새 Vanix AI 기본 URL
OpenAIhttps://api.openai.com/v1https://api.vanix.io/v1
Anthropichttps://api.anthropic.comhttps://api.vanix.io
Google Geminihttps://generativelanguage.googleapis.comhttps://api.vanix.io

기존 공급자 API 키를 Vanix AI sk-... 키로 교체하고 GET /v1/models를 통해 모델 ID를 확인하세요.

2. Chat Completions → OpenAI Responses 마이그레이션 ​

OpenAI 워크로드를 /v1/chat/completions에서 /v1/responses로 업그레이드할 때의 주요 매핑은 다음과 같습니다:

Chat Completions (/v1/chat/completions)Responses (/v1/responses)
messages: [{"role": "system", ...}, {"role": "user", ...}]instructions: "..." + input: "..." (또는 구조화된 항목 배열)
max_completion_tokensmax_output_tokens
reasoning_effort: "medium"reasoning: {"effort": "medium"}
resp.choices[0].message.contentresp.output_text
chunk.choices[0].delta.contentSSE 이벤트 response.output_text.delta

점진적 전환

한 번에 모든 서비스를 전환할 필요는 없습니다. 기존 서비스는 /v1/chat/completions로 유지하면서 신규 에이전트나 GPT-5 추론 파이프라인부터 /v1/responses를 단계적으로 도입하세요.

Vanix AI 통합 모델 게이트웨이 · https://api.vanix.io