Seedream 5.0 Pro está no ar | Experimente no Gerador de Imagens →
openai
openai/gpt-5-mini

openai/gpt-5-mini

Data de lançamento: 2025-08-08

400,000 context · $0.25/M input tokens · $2.00/M output tokens

GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It provides the same instruction-following and safety-tuning benefits as GPT-5, but with reduced latency and cost....

Preços

Pagamento por uso

Sem custo inicial, pague apenas pelo que usar

Entrada$0.25 / M Tokens
Saída$2.00 / M Tokens
Cache Read$0.03 / M Tokens

Experimentar o modelo

openai/gpt-5-mini
Online
openai
Olá! Sou um assistente de IA útil. Em que posso ajudar?
Pronto para usar este modelo em um coding agent local?Setup do agente

Uso da API

Use os exemplos de código abaixo para integrar com nossa API:

import OpenAI from 'openai';

if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
  apiKey: process.env.WAVESPEED_API_KEY,
  baseURL: 'https://llm.wavespeed.ai/v1',
  timeout: 120_000,
  maxRetries: 2,
});

try {
  const response = await client.chat.completions.create({
    model: 'openai/gpt-5-mini',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

Introdução do modelo

Openai gpt-5-mini

openai gpt-5-mini


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 400000 context window for long document handling
  • Competitive pricing at $0.3/$2.2 per million tokens

Key Features

  • Context Window: 400000 tokens
  • Max Output: 128000 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderOpenai
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window400000 tokens
Max Output128000 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.3
Output$2.2

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: openai/gpt-5-mini


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-5-mini",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "openai/gpt-5-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: openai/gpt-5-mini
  • Provider: Openai

Info

Provedoropenai
Tipollm

Funcionalidades suportadas

Entrada
TextoImagem
Saída
Texto
Contexto400,000
Saída máx.128,000
Vision✓ Suportado
Function Calling✓ Suportado

Guia de acesso à API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID do modeloopenai/gpt-5-mini

GPT 5 Mini API

openai/gpt-5-mini

GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It provides the same instruction-following and safety-tuning benefits as GPT-5, but with reduced latency and cost....

Entrada

$0.25 /M

Saída

$2 /M

Contexto

400K

Saída máx.

128K

Vision

Suportado

Uso de ferramentas

Suportado

Experimente GPT 5 Mini no WaveSpeedAI

Acesse GPT 5 Mini através da nossa API unificada — compatível com OpenAI, sem inicializações a frio, preços transparentes.

Perguntas frequentes sobre GPT 5 Mini

Quanto custa GPT 5 Mini via API?+

Preços no WaveSpeedAI: $0.25 por milhão de tokens de entrada e $2.00 por milhão de tokens de saída. Prompt caching e batch processing são cobrados separadamente e reduzem o custo efetivo em cargas longas e repetitivas.

Qual é a janela de contexto do GPT 5 Mini?+

GPT 5 Mini suporta até 400K tokens de contexto e até 128K tokens de saída por requisição.

GPT 5 Mini é compatível com OpenAI?+

O WaveSpeedAI disponibiliza GPT 5 Mini em https://llm.wavespeed.ai/v1 pela interface Chat Completions compatível com OpenAI. Na maioria dos clientes OpenAI SDK, basta alterar a base URL e a chave API; campos opcionais dependem do modelo.

Como começo a usar o GPT 5 Mini?+

Entre no WaveSpeedAI, crie uma chave API em Access Keys e envie uma requisição para https://llm.wavespeed.ai/v1/chat/completions com o model id mostrado acima. Consulte o catálogo atual para disponibilidade, recursos e preços.

APIs LLM relacionadas

GPT-5 Mini | OpenAI Compact Reasoning API | WaveSpeedAI