콘텐츠로 이동

종합 비교

요청하신 4개 주요 AI 프로바이더(OpenAI, Anthropic, Google Gemini, Zhipu GLM)에 대한 비교 위키 페이지 문서입니다. 각 문서는 규칙에 따라 한국어 소개영어 표 형식으로 작성되었습니다.


📄 1. 모델 비교표 (comparison/models.md)#

# AI 프로바이더 플래그십 모델 비교

이 문서는 OpenAI, Anthropic, Google, Zhipu의 4개 주요 AI 프로바이더가 제공하는 최고 성능의 플래그십 모델들을 비교합니다. 각 모델의 컨텍스트 윈도우 크기, 가격대, 그리고 핵심 기능(Vision, Function Calling 등)을 한눈에 파악할 수 있도록 구성되었습니다. 모델 선택 시 성능, 비용, 처리 용량 등의 요구사항에 맞춰 참고하시기 바랍니다.

## Flagship Model Comparison

| Provider | Model Name | Context Window | Max Output | Multimodal (Vision) | Function Calling | Pricing Tier |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| **OpenAI** | `gpt-4o` | 128,000 tokens | 16,384 tokens | Yes | Yes | Premium |
| **Anthropic** | `claude-3-5-sonnet` | 200,000 tokens | 8,192 tokens | Yes | Yes | Premium |
| **Google** | `gemini-1.5-pro` | Up to 2,000,000 tokens | 8,192 tokens | Yes | Yes | Premium |
| **Zhipu** | `glm-4` | 128,000 tokens | 4,096 tokens | Yes (GLM-4V) | Yes | Mid-tier |

## Key Features by Provider

| Provider | Key Strengths | Available Categories |
| :--- | :--- | :--- |
| **OpenAI** | Fast inference, Native Structured Outputs, Robust Ecosystem | Models, API Reference, Guides, Function Calling, Structured Outputs, Vision |
| **Anthropic** | High reasoning, Nuanced prompt engineering, Large context | Overview, Guides, Prompt-engineering, Tool-use, API Reference |
| **Google** | Massive context window (up to 2M), Deep Google ecosystem integration | Overview, Models, Guides, Function Calling |
| **Zhipu** | Cost-effective, Strong bilingual (English/Chinese) capabilities | API Reference, Models, Vision |

📄 2. API 호환성 (comparison/api-compatibility.md)#

# API 호환성 및 공통 기능 비교

각 AI 프로바이더의 API 엔드포인트, 인증 방식, 그리고 개발자들이 자주 사용하는 핵심 기능(Function Calling, Vision 등)의 호환성을 비교합니다. 기존 시스템에 AI를 통합하거나 여러 프로바이더를 거치는 멀티클라우드 환경을 구축할 때 참고할 수 있는 가이드입니다. 

## API Endpoints and Authentication

| Provider | Base URL | Authentication Method | Primary SDK / Library |
| :--- | :--- | :--- | :--- |
| **OpenAI** | `https://api.openai.com/v1` | `Authorization: Bearer {API_KEY}` | `openai` (Python / Node.js) |
| **Anthropic** | `https://api.anthropic.com/v1` | `x-api-key: {API_KEY}` | `@anthropic-ai/sdk` / `anthropic` |
| **Google** | `https://generativelanguage.googleapis.com/v1beta` | `?key={API_KEY}` (Query Param) | `@google/generative-ai` |
| **Zhipu** | `https://open.bigmodel.cn/api/paas/v4` | `Authorization: Bearer {JWT_OR_API_KEY}` | `zhipuai` |

## Feature Compatibility Matrix

| Feature | OpenAI | Anthropic | Google Gemini | Zhipu GLM |
| :--- | :--- | :--- | :--- | :--- |
| **Function Calling (Tool Use)** | Supported | Supported | Supported | Supported |
| **Vision (Image Input)** | Supported | Supported | Supported | Supported |
| **Structured Output (JSON)** | Supported (Strict Mode) | Supported (Tool Use / Prefill) | Supported (JSON Mode) | Supported (JSON Mode) |
| **Audio Input** | Supported (GPT-4o) | Not Supported | Supported | Not Supported |
| **System Prompt** | Supported | Supported | Supported | Supported |
| **Streaming** | Supported | Supported | Supported | Supported |

*참고: OpenAI는 최근 'Strict Mode'를 통해 스키마를 100% 준수하는 Structured Output을 보장하는 기능을 강조하고 있습니다.*

📄 3. 가격 비교 (comparison/pricing.md)#

# 토큰당 가격 정책 비교

주요 AI 모델들의 입력(Input) 및 출력(Output) 토큰당 가격을 비교합니다. 가격은 1백만(1M) 토큰을 기준으로 책정된 표준 API 호출 가격입니다. (단위: USD). 프로젝트의 트래픽과 토큰 소모량을 예측하여 가장 효율적인 프로바이더를 선택하는 데 활용하세요.

> **알림:** 아래 가격은 2024년 기준 공식 웹사이트에 명시된 표준 가격이며, 프로바이더의 정책 또는 환율에 따라 변동될 수 있습니다. Zhipu(GLM)의 경우 USD 대신 CNY(위안)로 표기된 가격을 USD로 환산한 대략적인 값입니다.

## Pricing per 1 Million Tokens (USD)

| Provider | Model | Input Price (per 1M) | Output Price (per 1M) | Context Caching Discount |
| :--- | :--- | :--- | :--- | :--- |
| **OpenAI** | `gpt-4o` | $5.00 | $15.00 | Not Supported |
| **OpenAI** | `gpt-4o-mini` | $0.15 | $0.60 | Supported |
| **Anthropic** | `claude-3-5-sonnet` | $3.00 | $15.00 | Supported (Prompt Caching) |
| **Anthropic** | `claude-3-haiku` | $0.25 | $1.25 | Supported (Prompt Caching) |
| **Google** | `gemini-1.5-pro` | $3.50 | $10.50 | Supported (Context Caching) |
| **Google** | `gemini-1.5-flash` | $0.075 | | Supported (Context Caching) |
| **Zhipu** | `glm-4` | ~$0.14 (¥1.00) | ~$0.14 (¥1.00) | Not Supported |

## Cost Efficiency Analysis

| Category | Most Cost-Effective (Standard) | Most Cost-Effective (Premium) | Longest Context (Cost-Efficient) |
| :--- | :--- | :--- | :--- |
| **Provider / Model** | Zhipu (`glm-4`) | Anthropic (`claude-3-5-sonnet`) | Google (`gemini-1.5-pro`) |
| **Reason** | 매우 저렴한 입출력 비용으로 대용량 처리 유리 | 합리적인 가격 대비 최상위 수준의 추론 성능 | 방대한 컨텍스트(최대 2M) 처리 대비 우수한 가격 |