모델/OpenAI/OpenAI: GPT-4o (2024-08-06)
OpenAI👁️ Vision

OpenAI: GPT-4o (2024-08-06)

128K

The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability to supply a JSON schema in the respone_format. Read more [here](https://openai.com/index/introducing-structured-outputs-in-the-api/). GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as fast and 50% more cost-effective. GPT-4o also offers improved performance in processing non-English languages and enhanced visual capabilities. For benchmarking against other models, it was briefly called ["im-also-a-good-gpt2-chatbot"](https://twitter.com/LiamFedus/status/1790064963966370209)

OpenRouter 원가 (1M 토큰)

입력$2.50
출력$10.00
합계$12.50

인보이스랩 (월 예상)

입력 0.5M + 출력 0.5M 기준

공급가액10,294
부가세 (10%)1,030
결제 금액11,324
💡 부가세 ₩1,030 매입공제 가능

모델 정보

기본 정보

모델 IDopenai/gpt-4o-2024-08-06
제공사OpenAI
컨텍스트 윈도우128,000 토큰
모달리티text+image+file->text

지원 기능

👁️ 이미지 분석⚡ Function Calling📋 Structured Output📄 JSON Mode🌡️ Temperature📏 Max Tokens

API 사용법

Python (OpenAI SDK 호환)

from openai import OpenAI

client = OpenAI(
    api_key="your-dream-api-key",
    base_url="https://api.invoicedream.co.kr/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-4o-2024-08-06",
    messages=[
        {"role": "user", "content": "안녕하세요"}
    ]
)

print(response.choices[0].message.content)

Node.js / TypeScript

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'your-dream-api-key',
  baseURL: 'https://api.invoicedream.co.kr/v1'
});

const response = await client.chat.completions.create({
  model: 'openai/gpt-4o-2024-08-06',
  messages: [{ role: 'user', content: '안녕하세요' }]
});

console.log(response.choices[0].message.content);

cURL

curl https://api.invoicedream.co.kr/v1/chat/completions \
  -H "Authorization: Bearer your-dream-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-2024-08-06",
    "messages": [{"role": "user", "content": "안녕하세요"}]
  }'

💡 Tip: OpenAI SDK를 그대로 사용할 수 있습니다.base_url만 변경하면 됩니다!

OpenAI: GPT-4o (2024-08-06)을 세금계산서와 함께

인보이스랩에서 OpenAI: GPT-4o (2024-08-06) API를 사용하면
계좌이체로 결제하고 전자세금계산서를 받을 수 있습니다.

API 키 발급받기

5분 안에 가입하고 바로 시작하세요. 첫 달 무료 크레딧을 드립니다.