Skip to content
이 페이지는 아직 해당 언어로 제공되지 않아 영어로 표시됩니다.
OpenAI · GPT-5

gpt-5-nano API

gpt-5-nano brings OpenAI GPT-5 text generation to APISea for cost-conscious chat workflows.

채팅채팅 및 텍스트동기 처리프롬프트 캐싱
모델 ID
gpt-5-nano

gpt-5-nano API 가격

모든 가격은 USD 기준입니다. 동일한 단위에 대해 APISea 요금과 공식 가격표를 비교합니다.

token 유형APISea공식절약
입력 토큰 1M개당$0.044$0.05−12%
캐시된 입력 토큰 1M개당$0.0044$0.005−12%
출력 토큰 1M개당$0.352$0.40−12%

gpt-5-nano이란?

gpt-5-nano is an OpenAI chat model in the GPT-5 family, available through APISea. Its nano naming positions it as a lighter, cost-conscious tier, suited to teams evaluating routine text-generation and conversational workloads. Send text messages with user, system, and assistant roles to define the task and supply conversation history. The documented Chat Completions interface offers streaming or complete responses, plus controls for output length and sampling. The model supports up to 272,000 input tokens, up to 128,000 output tokens, and prompt-cache reads.

Call gpt-5-nano using APISea's OpenAI-compatible base URL, https://api.apisea.ai/v1, and your APISea key. Pricing is pay-as-you-go: $0.044 per 1M tokens for input, $0.0044 per 1M tokens for cached input, and $0.352 per 1M tokens for output. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.

gpt-5-nano 주요 특징

Large Input Allowance

Supply up to 272,000 input tokens for text-generation requests with substantial source material or conversation history.

Output Length Control

The model supports up to 128,000 output tokens. Use the documented max_tokens parameter to set a generation ceiling for your task.

Prompt-Cache Reads

Cached input reads cost $0.0044 per 1M tokens, compared with $0.044 per 1M tokens for regular input.

Compatible Chat Interface

Use the OpenAI Chat Completions request format with role-based messages. The documented interface supports SSE streaming or a complete response.

gpt-5-nano API를 호출하는 4단계

  1. 01

    API 키 발급

    APISea에 로그인하고 $50부터 충전한 다음, 콘솔에서 sk-sea 키를 생성합니다.

  2. 02

    base URL 설정

    SDK 또는 HTTP 클라이언트에서 https://api.apisea.ai/v1를 base URL로 사용합니다.

  3. 03

    요청 전송

    "model": "gpt-5-nano"와 아래 매개변수를 지정해 POST /v1/chat/completions를 호출합니다.

  4. 04

    응답 처리

    응답을 읽거나(stream: true로 token을 스트리밍합니다). 사용량과 비용은 콘솔에서 확인할 수 있습니다.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-nano",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

매개변수

매개변수유형필수 여부기본값설명
modelstring필수 여부gpt-5Model name
messagesarray필수 여부—List of conversation messages
rolestring필수 여부userRole type
contentstring필수 여부—Message content
temperaturenumber선택 사항—Controls output randomness, range 0-2
max_tokensinteger선택 사항—Maximum number of tokens to generate
streamboolean선택 사항—Whether to use streaming output
top_pnumber선택 사항—Nucleus sampling parameter, range 0-1
frequency_penaltynumber선택 사항—Frequency penalty, range -2.0 to 2.0
presence_penaltynumber선택 사항—Presence penalty, range -2.0 to 2.0
stopstring or array선택 사항—Stop sequences
ninteger선택 사항—Number of completions to generate

gpt-5-nano으로 만들 수 있는 것

Routine Chat Assistance

Evaluate the nano tier for conversational assistants that answer everyday questions using supplied instructions and conversation history.

Document Summaries

Provide source text and ask for concise summaries, using an output token ceiling to keep responses focused.

Drafting Workflows

Build text-drafting tools for internal messages or support replies, with a system message defining tone and requirements.

Text Review Queues

Evaluate the model for reviewing incoming text and returning requested labels or short explanations. Validate results against your team's examples before deployment.

더 나은 결과를 위한 팁

  • 01

    Set the Model Explicitly

    Set the model field to gpt-5-nano; the documented Chat API defaults to a different model when no selection is made.

  • 02

    Budget Output Tokens

    Use max_tokens to limit generated text to what your application needs. Output is billed at $0.352 per 1M tokens.

  • 03

    Track Cached Usage

    Account for prompt-cache reads separately when estimating costs. The cache-read rate is $0.0044 per 1M tokens; do not assume every input qualifies.

  • 04

    Choose Response Delivery

    Set stream to true for SSE output or false for a complete response. Explicitly setting it avoids relying on an endpoint's default.

제한 사항 및 알아둘 점

  • Maximum input is 272,000 tokens; maximum output is 128,000 tokens.

  • General API parameter documentation does not establish that every option is supported by this specific model; check model-specific guidance.

  • The supplied facts do not establish image input, tool support, or Responses API availability for this model.

gpt-5-nano API FAQ

How much does gpt-5-nano cost on APISea?

Input costs $0.044 per 1M tokens, cached input costs $0.0044 per 1M tokens, and output costs $0.352 per 1M tokens. The default configuration is about 12% below the provider list price, with pay-as-you-go billing only for successful requests.

How do I call gpt-5-nano through APISea?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a POST request to /chat/completions. Authenticate with your APISea key as a Bearer token, set model to gpt-5-nano, and provide a messages array.

Which request controls are documented?

The general Chat API documents max_tokens, stream, temperature, top_p, frequency_penalty, presence_penalty, stop, and n. Confirm model-specific compatibility before relying on individual optional controls.

What are gpt-5-nano's token limits?

The maximum input is 272,000 tokens and the maximum output is 128,000 tokens. These are separate limits, not a stated combined context allowance.

Can I use gpt-5-nano commercially?

Commercial use is subject to the provider's terms. Review the applicable OpenAI and APISea terms for your intended application.

How does gpt-5-nano compare with other GPT-5 models?

The nano name positions it as a lighter, cost-conscious tier within GPT-5. The supplied facts do not include comparative quality or latency benchmarks, so evaluate it on your own workload before choosing among siblings.

관련 모델

모델 250개 이상 · 최소 충전 금액 $50

gpt-5-nano으로 개발을 시작하세요

하나의 키로 $50부터 사용한 만큼 결제하며, 성공한 요청에만 요금이 청구됩니다.