GPT-4o Mini

Texto e chatDisponível
por OpenAIID do modelo: gpt-4o-mini

Small, fast, and affordable model for lightweight tasks. Great balance of speed and capability.

Preço · 1M entrada/saída
US$ 0,18 / US$ 0,72
Contexto
128.000 tokens
Saída máxima
16.384 tokens
Entrada → Saída
Texto → Texto
Tempo de execução (mediana)
3,6 s
Desenvolvedor
OpenAI
01

Playground

Experimentar GPT-4o Mini

Chat

US$ 0,18/1M entrada
Experimentar GPT-4o Mini

Envie uma mensagem. A resposta chega completa assim que o modelo termina (sem streaming).

Prompt do sistema
Comprimento máximo da resposta (tokens)

Esta execução

no máximo US$ 0,0008 · 0,08 créditos reservados

Cobrado pelos tokens realmente utilizados; a parte não utilizada da reserva é reembolsada.

Novo por aqui?

10 créditos grátis (US$ 0,10) ao se inscrever com Google

Utilizável 24 horas após inscrição, até 5 execuções por dia e no máximo 2 créditos por execução. Outros métodos de login começam sem créditos. Suficiente para 125 execuções deste modelo.

02

Sobre GPT-4o Mini

ResumoA partir de 23 de setembro de 2026

GPT-4o Mini é um modelo de OpenAI na categoria Texto e chat. No Railwail, GPT-4o Mini custa US$ 0,18 por 1M tokens de entrada e US$ 0,72 por 1M tokens de saída. A janela de contexto contém 128.000 tokens, e uma resposta pode ter até 16.384 tokens.

Fundo

Sobre OpenAI

Fundado em 2015 · San Francisco, USA

OpenAI was founded in December 2015 as a non-profit AI research lab by Sam Altman, Elon Musk, Greg Brockman, Ilya Sutskever, Wojciech Zaremba and John Schulman. In 2019 it transitioned to a capped-profit structure (OpenAI LP) to take Microsoft investment, now totalling over $13 billion. Foundational publications include the GPT series papers (GPT-1 through GPT-4), the InstructGPT/RLHF paper (2022) and the GPT-4o System Card (2024). The company ships ChatGPT (launched November 2022), the GPT API, the o-series reasoning models, Sora for video, DALL-E for images and Whisper for speech recognition. Sam Altman remains CEO; Greg Brockman is President. OpenAI's 2025 valuation exceeded $300 billion and the company employs more than 1,500 staff in San Francisco, London, Tokyo, Dublin and other offices. The mission statement focuses on building safe and beneficial AGI for all of humanity.

Visite OpenAI

Arquitetura

Decoder-only Transformer (small natively multimodal)

GPT-4o mini was announced in July 2024 as a low-cost, fast replacement for GPT-3.5 Turbo. It is a small natively multimodal Transformer derived from the same training stack as GPT-4o, supporting text and vision input with text output. The model was trained on a multi-trillion-token web-scale corpus including code, books, licensed text and image-text pairs, with a knowledge cutoff of October 2023. Post-training combined supervised fine-tuning with RLHF and direct preference optimisation on smaller curated datasets. OpenAI applied an 'instruction hierarchy' training method to better resist jailbreaks and prompt injections by distinguishing system, developer and user instructions during alignment. At launch GPT-4o mini scored 82% on MMLU and outperformed GPT-3.5 Turbo on the Chatbot Arena leaderboard while costing approximately 60% less. It supports the full GPT-4o feature set including function calling, parallel tool calls, JSON mode, Structured Outputs and vision input. The model is the default backbone for ChatGPT Free as of mid-2024 and is widely used as a router and cheap tool-calling layer in agentic systems. Fine-tuning was opened to developers in late 2024 with both supervised fine-tuning and reinforcement fine-tuning options on the API.

Parâmetros
Undisclosed (estimated ~8B-20B parameters dense)
Contexto
128.000 tokens

Capacidades

  • Very low cost per token (around $0.15 input / $0.60 output per 1M tokens at launch)
  • 128K context window with 16K max output
  • Vision input for images and PDFs
  • Function calling and parallel tool calls
  • Structured Outputs with strict JSON schema
  • 82% MMLU at launch (better than GPT-3.5 Turbo)
  • Trained with instruction hierarchy to resist prompt injection
  • Supervised and reinforcement fine-tuning available
  • Fast time-to-first-token for chat workloads
  • Multilingual coverage but optimised for English
  • Best for: cheap chatbots, classification, large-scale data labeling, agent routers, customer support.

Treinamento & licença

Pretrained on OpenAI's curated multi-trillion-token mixture of web text, code, books and image-text pairs, with a knowledge cutoff of October 2023. Post-training uses supervised fine-tuning, RLHF and the instruction-hierarchy alignment objective.

Licença: Proprietary, accessible via OpenAI API and Azure OpenAI Service. Commercial use permitted under OpenAI Terms.

Testes de segurança: Evaluated under OpenAI's Preparedness Framework and System Card process; smaller than GPT-4o so deemed low risk for CBRN uplift but tested against persuasion, cyber and prompt-injection threats.

Limitações conhecidas

  • Weaker reasoning than full GPT-4o on hard math and multi-step problems
  • Higher hallucination rate than larger flagship models
  • Knowledge cutoff October 2023
  • No audio input or output
  • Vision quality below full GPT-4o on complex charts
03

Preços

Preços em dólares americanos. O uso é cobrado a partir de créditos pré-pagos.
EntradaUS$ 0,18 / 1M tokens
SaídaUS$ 0,72 / 1M tokens
  • Cobrado pelos tokens que cada solicitação realmente utiliza.
  • 1 crédito = US$ 0,01

Calculadora de custos

Calculadora de preços

/ req.
/ req.

Total

US$ 0,06

6 créditos

Por requisição

US$ 0,0006 · 0,06 créditos

Cada requisição é arredondada para 0,01 créditos.

04

API

Chame GPT-4o Mini com sua chave de API Railwail. Use este ID de modelo na solicitação:
curl https://railwail.com/api/v1/chat/completions \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [
      {
        "role": "user",
        "content": "Explain what a vector database is in two sentences."
      }
    ],
    "max_tokens": 1024
  }'
Defina sua chave como RAILWAIL_API_KEYCriar chave de API
05

Especificações

ID do modelo
gpt-4o-mini
Desenvolvedor
OpenAI
Categoria
Texto e chat
Entrada
Texto
Saída
Texto
Janela de contexto
128.000 tokens
Saída máx.
16.384 tokens
Faturamento
Por uso (tokens ou tempo de GPU)
Tempo de execução (mediana)
3,6 s7 execuções concluídas no Railwail nos últimos 90 dias
Tamanho do modelo
Undisclosed (estimated ~8B-20B parameters dense)
Licença
Proprietary, accessible via OpenAI API and Azure OpenAI Service. Commercial use permitted under OpenAI Terms.
Entrada do catálogo atualizada
23 de setembro de 2026

Etiquetas

  • fast
  • affordable
06

Prompts de exemplo

Exemplos do catálogo Railwail. Eles não foram gerados ao vivo nesta página.
  • Quick Summary

    Summarize the key points of the Agile methodology in 3 bullet points
    Mostrar resposta de exemplo

    1) Agile emphasizes iterative development, delivering working software in short cycles called sprints rather than one big release. 2) It prioritizes collaboration between cross-functional teams and stakeholders, with regular feedback loops. 3) Agile embraces change—requirements can evolve throughout the project based on user feedback and shifting priorities.

  • Email Draft

    Write a professional email declining a meeting invitation due to a scheduling conflict
    Mostrar resposta de exemplo

    Subject: Re: Meeting Invitation – Schedule Conflict Hi [Name], Thank you for the invitation. Unfortunately, I have a prior commitment at that time and won't be able to attend. I'd love to stay in the loop—could you share the meeting notes afterward? Alternatively, I'm available on Thursday afternoon if rescheduling works for the group. Best regards

07

Casos de uso

Para que é utilizado

  • Cost-sensitive chatbots
  • Large-scale classification and labeling
  • Agent tool routers
  • Email drafting and summarisation
  • Coding completions in IDEs
  • Customer-service automation
08

Perguntas frequentes

O que é GPT-4o Mini?

GPT-4o Mini é um modelo de OpenAI na categoria Texto e chat. No Railwail você pode chamá-lo com uma chave de API através da API Railwail.

Quanto custa GPT-4o Mini no Railwail?

No Railwail, GPT-4o Mini custa US$ 0,18 por 1M tokens de entrada e US$ 0,72 por 1M tokens de saída. Você é cobrado pelo que cada solicitação realmente usa. O uso é pago com créditos pré-pagos; 1 crédito equivale a US$ 0,01.

Qual é a janela de contexto de GPT-4o Mini?

A janela de contexto de GPT-4o Mini contém 128.000 tokens. Uma resposta pode ter até 16.384 tokens.

Qual é a velocidade de GPT-4o Mini?

No Railwail, o tempo de execução mediano de GPT-4o Mini nos últimos 90 dias foi 3,6 s, com base em 7 execuções concluídas.

GPT-4o Mini é melhor que Claude Fable 5.1?

Depende da tarefa. GPT-4o Mini (OpenAI) e Claude Fable 5.1 (Anthropic) são ambos modelos na categoria Texto e chat. A página de comparação mostra seus preços e especificações lado a lado.

Comparar GPT-4o Mini e Claude Fable 5.1

Como uso GPT-4o Mini através da API?

Crie uma chave de API Railwail e envie sua solicitação com o ID do modelo gpt-4o-mini. Exemplos de código para curl, Python e JavaScript estão na seção API desta página.

09

Modelos comparáveis

Todos nesta categoria
  • Anthropic's model for the most demanding reasoning and long-horizon agentic work. 1M-token context window, up to 128K output tokens, adaptive thinking that is always on.

    US$ 12,00/1M entrada

    6.567 % mais caro por unidade

    Comparar GPT-4o Mini vs. Claude Fable 5.1
  • The most capable model of Anthropic's Opus 4 series. State of the art on long-horizon agentic work, coding and knowledge tasks, with a 1M-token context window at standard pricing.

    US$ 6,00/1M entrada

    3.233 % mais caro por unidade

    Comparar GPT-4o Mini vs. Claude Opus 4.8
  • Anthropic's current Opus model for long-running agentic coding and knowledge work. 1M-token context window, up to 128K output tokens, adaptive thinking that is always on.

    US$ 4,80/1M entrada

    2.567 % mais caro por unidade

    Comparar GPT-4o Mini vs. Claude Opus 5.5

Usar GPT-4o Mini via API

Uma chave API para todos os modelos no Railwail. O uso é cobrado a partir de créditos pré-pagos, 1 crédito = US$ 0,01.