모델가격엔터프라이즈
500개 이상의 AI 모델 API, 모든 것이 하나의 API로. CometAPI에서
Models API
개발자
빠른 시작문서API 대시보드
회사
회사 소개엔터프라이즈
리소스
AI 모델블로그변경 로그지원
서비스 이용약관개인정보 보호정책
© 2026 CometAPI · All rights reserved
Home/Models/OpenAI/GPT-5
O

GPT-5

입력:$1.25/M
출력:$10/M
맥락:400K
최대 출력:128K
GPT-5 is OpenAI's most powerful coding model to date. It shows significant improvements in complex front-end generation and debugging large codebases. It can transform ideas into reality with intuitive and aesthetically pleasing results, creating beautiful and responsive websites, applications, and games with a keen sense of aesthetics, all from a single prompt. Early testers have also noted its design choices, with a deeper understanding of elements like spacing, typography, and white space.
새로운
상업적 사용
Playground
개요
기능
가격
API
버전

GPT-5 is OpenAI’s latest flagship language model, presented as a unified, multimodal reasoning system that improves on prior generations in reasoning, coding, long-context understanding, and safety-aware outputs. It combines fast non-reasoning components with a deeper reasoning model and a real-time router that selects the best submodel for a task, enabling the system to “know when to think.”

Basic Features

  • *Multimodality & tooling:*: GPT-5 accepts text and images (and is designed to work with external tools and browsing/agents where allowed), and OpenAI highlights improved voice, UI, integrated connectors (e.g., Gmail/Calendar) and agentic workflows.
  • Expanded Context Window: Supports up to 1,000,000 tokens, allowing for far longer documents, codebases, or conversation histories .
  • Context & limits: 400K token total context window (split implicitly between input and output, with typical splits such as ~272K input + 128K output )

Technical Architecture

GPT-5 is a unified system composed of:

  1. A fast non-reasoning model for routine queries.
  2. A deep reasoning variant (“GPT-5 Thinking”) for complex problems.
  3. A real-time router that dynamically selects the optimal pathway based on prompt complexity, tool requirements, and user intent .

This design leverages parallel test-time compute for GPT-5 Pro, ensuring high-stakes tasks receive the most comprehensive processing available.

Benchmark Performance

  • Coding: Achieves 74.9% on SWE-Bench Verified, surpassing prior models by over 5 percentage points and using 22% fewer tokens and 45% fewer tool calls than its predecessor.
  • Health: Scores 46.2% on HealthBench Hard, demonstrating significant gains in medical reasoning and patient-focused guidance.
  • Factuality: Approximately 80% fewer hallucinations in “thinking” mode compared to OpenAI o3, and 45% fewer factual errors in standard chat mode relative to GPT-4o .
  • Multimodal: Excels at analyzing text, images, and video inputs, enhancing visual reasoning and perception.
  • Writing: Captures literary rhythm and nuanced structures like free verse or iambic lines more reliably

gpt-5-data


Model Versions

VersionPurposeCost
gpt-5Default unified modelInput Tokens:$1.00 Output Tokens: $8.00
gpt-5-2025-08-07Performance equal to gpt-5Input Tokens:$1.00 Output Tokens: $8.00
gpt-5-chat-latestGPT-5 Chat points to the GPT-5 snapshot currently used in ChatGPT. GPT-5 is our next-generation, high-intelligence flagship model.Input Tokens:$1.00 Output Tokens: $8.00

Limitations

  • Not AGI: While a leap forward, GPT-5 still lacks continuous learning and self-improvement outside of retraining cycles .
  • Remaining Hallucinations: Despite reduction, verified sources are recommended for critical decisions.
  • Compute & Cost: High-performance modes (Pro, Thinking) incur significant token fees and require careful budget management.

How do I start using the gpt-5 API?

Required Steps

  • Log in to cometapi.com. If you are not our user yet, please register first
  • Get the access credential API key of the interface. Click “Add Token” at the API token in the personal center, get the token key: sk-xxxxx and submit.
  • Get the url of this site: https://api.cometapi.com/

Use Method

  1. Select the “gpt-5”endpoint to send the API request and set the request body. The request method and request body are obtained from our website API doc. Our website also provides Apifox test for your convenience.
  2. Replace <YOUR_API_KEY> with your actual CometAPI key from your account.
  3. Insert your question or request into the content field—this is what the model will respond to.
  4. . Process the API response to get the generated answer.

CometAPI provides a fully compatible REST API—for seamless migration. Key details to API doc:

  • Core Parameters: prompt, max_tokens_to_sample, temperature, stop_sequences
  • Endpoint: https://api.cometapi.com/v1/responses
  • Model Parameter: “gpt-5”
  • Authentication: Bearer YOUR_CometAPI_API_KEY
  • Content-Type: application/json .

API Call Instructions: gpt-5-chat-latest should be called using the standard /v1/chat/completions format. For other models (gpt-5, gpt-5-mini, gpt-5-nano, and their dated versions), using the /v1/responses format is recommended. Currently two modes are available.

GPT-5 가격

[모델명]의 경쟁력 있는 가격을 살펴보세요. 다양한 예산과 사용 요구에 맞게 설계되었습니다. 유연한 요금제로 사용한 만큼만 지불하므로 요구사항이 증가함에 따라 쉽게 확장할 수 있습니다. [모델명]이 비용을 관리 가능한 수준으로 유지하면서 프로젝트를 어떻게 향상시킬 수 있는지 알아보세요.
코멧 가격 (USD / M Tokens)공식 가격 (USD / M Tokens)할인
입력:$1.25/M
출력:$10/M
입력:$1.5625/M
출력:$12.5/M
-20%

GPT-5의 샘플 코드 및 API

GPT-5 is OpenAI’s latest flagship language model, presented as a unified, multimodal reasoning system that improves on prior generations in reasoning, coding, long-context understanding, and safety-aware outputs. It combines fast non-reasoning components with a deeper reasoning model and a real-time router that selects the best submodel for a task, enabling the system to “know when to think.”
POST
/v1/responses
Python
JavaScript
Curl
from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
response = client.responses.create(
    model="gpt-5", input="Tell me a three sentence bedtime story about a unicorn."
)

print(response)

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
response = client.responses.create(
    model="gpt-5", input="Tell me a three sentence bedtime story about a unicorn."
)

print(response)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY;
const base_url = "https://api.cometapi.com/v1";

const openai = new OpenAI({
  apiKey: api_key,
  baseURL: base_url,
});

const response = await openai.responses.create({
  model: "gpt-5",
  input: "Tell me a three sentence bedtime story about a unicorn.",
});

console.log(response);

Curl Code Example

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "gpt-5",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }'

GPT-5의 버전

GPT-5에 여러 스냅샷이 존재하는 이유는 업데이트 후 출력 변동으로 인해 일관성을 유지하기 위해 이전 스냅샷을 보관하거나, 개발자에게 적응 및 마이그레이션을 위한 전환 기간을 제공하거나, 글로벌 또는 지역별 엔드포인트에 따라 다양한 스냅샷을 제공하여 사용자 경험을 최적화하기 위한 것 등이 포함될 수 있습니다. 버전 간 상세한 차이점은 공식 문서를 참고해 주시기 바랍니다.
VersionPurposeCost
gpt-5Default unified modelInput Tokens:$1.00 Output Tokens: $8.00
gpt-5-2025-08-07Performance equal to gpt-5Input Tokens:$1.00 Output Tokens: $8.00
gpt-5-chat-latestGPT-5 Chat points to the GPT-5 snapshot currently used in ChatGPT. GPT-5 is our next-generation, high-intelligence flagship model.Input Tokens:$1.00 Output Tokens: $8.00
gpt-5-highInput Tokens:$1.00 Output Tokens: $8.00
* gpt-5-lowInput Tokens:$1.00 Output Tokens: $8.00
* gpt-5-mediumInput Tokens:$1.00 Output Tokens: $8.00