Skip to content
ეს გვერდი ჯერ თქვენს ენაზე ხელმისაწვდომი არ არის და ინგლისურად არის ნაჩვენები.
OpenAI · GPT-5

gpt-5-mini API

gpt-5-mini brings lightweight GPT-5 text generation to APISea's OpenAI-compatible chat API.

ჩატიჩატი და ტექსტისინქრონულიპრომპტების ქეშირება
მოდელის ID
gpt-5-mini

gpt-5-mini API-ის ფასები

ყველა ფასი USD-შია. APISea-ის ტარიფები შედარებულია იმავე ერთეულისთვის დადგენილ ოფიციალურ ფასებთან.

Token-ის ტიპიAPISeaოფიციალურიდაზოგვა
შეყვანა 1M token-ზე$0.22$0.25−12%
ქეშირებული შეყვანა 1M token-ზე$0.022$0.025−12%
გამოტანა 1M token-ზე$1.76$2.00−12%

რა არის gpt-5-mini?

gpt-5-mini is OpenAI's lightweight, cost-effective chat model in the GPT-5 family. On APISea, it is suited to developers building text assistants, drafting workflows, and conversational interfaces where token costs matter. Send conversation messages with user, system, and assistant roles, and receive generated text through an OpenAI-compatible Chat Completions interface. The model supports up to 272,000 input tokens and 128,000 output tokens, plus prompt-cache reads for cached input.

Call it with your APISea key through https://api.apisea.ai/v1 and set the model parameter to gpt-5-mini. The chat interface offers streaming or complete responses, an output cap through max_tokens, and documented sampling controls such as temperature and top_p. APISea bills only successful requests on a pay-as-you-go basis: $0.22 per 1M tokens for input, $0.022 per 1M tokens for cached input reads, and $1.76 per 1M tokens for output. The default configuration is about 12% below the provider list price.

gpt-5-mini-ის მთავარი მახასიათებლები

Large Input Allowance

Provide up to 272,000 input tokens for text-generation requests with substantial conversation or reference material.

Generous Output Limit

The maximum output is 128,000 tokens. Use max_tokens to set a smaller generation budget for each request.

Prompt Cache Reads

Cached input reads are supported and billed at $0.022 per 1M tokens, compared with $0.22 per 1M tokens for regular input.

Flexible Response Delivery

Use streaming for SSE responses or set stream to false to receive the complete response at once through the Chat Completions interface.

როგორ გამოვიძახოთ gpt-5-mini API 4 ნაბიჯში

  1. 01

    მიიღეთ API გასაღები

    შედით APISea-ში, შეავსეთ ბალანსი $50-დან და კონსოლში შექმენით sk-sea გასაღები.

  2. 02

    დააყენეთ საბაზისო URL

    თქვენს SDK-ში ან HTTP კლიენტში საბაზისო URL-ად გამოიყენეთ https://api.apisea.ai/v1.

  3. 03

    გაგზავნეთ მოთხოვნა

    გამოიძახეთ POST /v1/chat/completions პარამეტრებით "model": "gpt-5-mini" და ქვემოთ ჩამოთვლილი პარამეტრებით.

  4. 04

    დაამუშავეთ პასუხი

    წაიკითხეთ პასუხი (ან მიიღეთ token-ები ნაკადურად stream: true-ის გამოყენებით). გამოყენების მონაცემები და ღირებულება თქვენს კონსოლში გამოჩნდება.

მოთხოვნის მაგალითები

დოკუმენტაცია: General Chat API (Default Streaming)
curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-mini",
    "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-mini-ით

Customer Support Drafts

Build an assistant that drafts replies from supplied customer messages and reference text, with a system prompt defining tone and scope.

Document Summaries

Submit text documents and ask for summaries tailored to a specific audience, format, or length.

Conversational Assistants

Include previous user and assistant messages to build multi-turn text conversations within the input limit.

Content Drafting Workflows

Generate first drafts of emails, product descriptions, or internal updates from briefs, then route the text for review.

რჩევები უკეთესი შედეგებისთვის

  • 01

    Set the Model Explicitly

    Set the model parameter to gpt-5-mini; the documented general chat default is a different model.

  • 02

    Cap Output Spending

    Choose max_tokens based on the response length your application needs rather than defaulting to the maximum output allowance.

  • 03

    Tune One Sampling Control

    The chat documentation recommends using either temperature or top_p to control variation. Start with a lower temperature when you want more deterministic text.

  • 04

    Track Cached Input Usage

    Account for prompt-cache reads separately when estimating costs: cached input is $0.022 per 1M tokens. Support for cache reads does not mean every input will be cached.

შეზღუდვები და გასათვალისწინებელი საკითხები

  • Maximum input is 272,000 tokens per request.

  • Maximum output is 128,000 tokens per request.

  • The supplied documentation does not establish Responses API, image input, or tool support for this model.

gpt-5-mini API-ის ხშირად დასმული კითხვები

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

Input costs $0.22 per 1M tokens, cached input reads cost $0.022 per 1M tokens, and output costs $1.76 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-mini 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 the model parameter to gpt-5-mini, and provide a messages array.

Which parameters can I use with gpt-5-mini?

The general chat documentation lists max_tokens, stream, temperature, top_p, frequency_penalty, presence_penalty, stop, and n. Messages contain role and content fields; check the model documentation for any model-specific restrictions.

What are the input and output limits for gpt-5-mini?

The maximum input is 272,000 tokens, and the maximum output is 128,000 tokens. You can request a smaller output allowance with max_tokens.

Can I use gpt-5-mini commercially?

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

How does gpt-5-mini compare with gpt-5?

The documentation identifies gpt-5-mini as the lightweight, cost-effective GPT-5 version and gpt-5 as the base model. No comparative benchmarks are supplied, so evaluate both on your own tasks rather than assuming equivalent results.

მსგავსი მოდელები

OpenAIჩატი

gpt-5

ჩატი
$1.10 შეყვანა · $8.80 გამოტანა 1M token-ზე
ოფიციალურ ფასზე 12%-ით ნაკლები
OpenAIჩატი

gpt-5-2025-08-07

ჩატი
$1.10 შეყვანა · $8.80 გამოტანა 1M token-ზე
ოფიციალურ ფასზე 12%-ით ნაკლები
OpenAIჩატი

gpt-5-mini-2025-08-07

ჩატი
$0.22 შეყვანა · $1.76 გამოტანა 1M token-ზე
ოფიციალურ ფასზე 12%-ით ნაკლები
OpenAIჩატი

gpt-5-nano

ჩატი
$0.044 შეყვანა · $0.352 გამოტანა 1M token-ზე
ოფიციალურ ფასზე 12%-ით ნაკლები
OpenAIჩატი

gpt-5-nano-2025-08-07

ჩატი
$0.044 შეყვანა · $0.352 გამოტანა 1M token-ზე
ოფიციალურ ფასზე 12%-ით ნაკლები
OpenAIჩატი

gpt-5-pro

მსჯელობა
$13.20 შეყვანა · $106 გამოტანა 1M token-ზე
ოფიციალურ ფასზე 12%-ით ნაკლები
OpenAIჩატი

gpt-5-pro-2025-10-06

მსჯელობა
$13.20 შეყვანა · $106 გამოტანა 1M token-ზე
ოფიციალურ ფასზე 12%-ით ნაკლები
OpenAIჩატი

gpt-5-search-api

ჩატი
$1.10 შეყვანა · $8.80 გამოტანა 1M token-ზე
ოფიციალურ ფასზე 12%-ით ნაკლები
არჩევანი: 250+ მოდელი · მინიმალური შევსება $50

დაიწყეთ gpt-5-mini-ით შექმნა

ერთი გასაღები, გამოყენების მიხედვით გადახდა $50-დან; თანხა ჩამოგეჭრებათ მხოლოდ წარმატებული მოთხოვნებისთვის.