GPT-4o Mini

Texto y chatDisponible
de OpenAIID del modelo: gpt-4o-mini

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

Precio · 1M entrada/salida
USD 0.18 / USD 0.72
Contexto
128,000 tokens
Salida máxima
16,384 tokens
Entrada → Salida
Texto → Texto
Tiempo de ejecución (mediana)
3.6 s
Desarrollador
OpenAI
01

Playground

Probar GPT-4o Mini

Chat

USD 0.18/1M entrada
Probar GPT-4o Mini

Envía un mensaje. La respuesta llega completa cuando el modelo termina (sin transmisión en tiempo real).

Indicación del sistema
Longitud máxima de respuesta (tokens)

Esta ejecución

como máximo USD 0.0008 · 0.08 créditos reservados

Se facturan los tokens realmente utilizados; la parte no utilizada de la reserva se reembolsa.

¿Nuevo aquí?

10 créditos gratis (USD 0.10) cuando te registras con Google

Utilizable 24 horas después del registro, hasta 5 ejecuciones por día y como máximo 2 créditos por ejecución. Otros métodos de inicio de sesión comienzan sin créditos. Suficiente para 125 ejecuciones de este modelo.

02

Acerca de GPT-4o Mini

ResumenA partir de 23 de septiembre de 2026

GPT-4o Mini es un modelo de OpenAI en la categoría Texto y chat. En Railwail, GPT-4o Mini cuesta USD 0.18 por 1M tokens de entrada y USD 0.72 por 1M tokens de salida. La ventana de contexto contiene 128,000 tokens, y una respuesta puede tener hasta 16,384 tokens.

Fondo

Acerca de OpenAI

Fundado en 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.

Visitar OpenAI

Arquitectura

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.

Entrenamiento y licencia

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.

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

Pruebas de seguridad: 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.

Limitaciones conocidas

  • 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

Precios

Precios en dólares estadounidenses. El uso se cobra con créditos prepagados.
EntradaUSD 0.18 / 1M tokens
SalidaUSD 0.72 / 1M tokens
  • Se facturan los tokens que cada solicitud realmente utiliza.
  • 1 crédito = USD 0.01

Calculadora de costos

Calculadora de precios

/ solicitud
/ solicitud

Total

USD 0.06

6 créditos

Por solicitud

USD 0.0006 · 0.06 créditos

Cada solicitud se redondea a 0.01 créditos.

04

API

Llama a GPT-4o Mini con tu clave de API de Railwail. Usa este ID de modelo en la solicitud:
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
  }'
Establece tu clave como RAILWAIL_API_KEYCrear clave API
05

Especificaciones

ID del modelo
gpt-4o-mini
Desarrollador
OpenAI
Categoría
Texto y chat
Entrada
Texto
Salida
Texto
Ventana de contexto
128,000 tokens
Salida máxima
16,384 tokens
Facturación
Por uso (tokens o tiempo de GPU)
Tiempo de ejecución (mediana)
3.6 s7 ejecuciones completadas en Railwail en los últimos 90 días
Tamaño del modelo
Undisclosed (estimated ~8B-20B parameters dense)
Licencia
Proprietary, accessible via OpenAI API and Azure OpenAI Service. Commercial use permitted under OpenAI Terms.
Entrada del catálogo actualizada
23 de septiembre de 2026

Etiquetas

  • fast
  • affordable
06

Prompts de ejemplo

Ejemplos del catálogo de Railwail. No fueron generados en vivo en esta página.
  • Quick Summary

    Summarize the key points of the Agile methodology in 3 bullet points
    Mostrar respuesta de ejemplo

    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 respuesta de ejemplo

    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 qué se utiliza

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

Preguntas frecuentes

¿Qué es GPT-4o Mini?

GPT-4o Mini es un modelo de OpenAI en la categoría Texto y chat. En Railwail puedes llamarlo con una clave API a través de la API de Railwail.

¿Cuánto cuesta GPT-4o Mini en Railwail?

En Railwail, GPT-4o Mini cuesta USD 0.18 por 1M tokens de entrada y USD 0.72 por 1M tokens de salida. Se te cobra por lo que cada solicitud realmente usa. El uso se paga con créditos prepagados; 1 crédito equivale a USD 0.01.

¿Cuál es la ventana de contexto de GPT-4o Mini?

La ventana de contexto de GPT-4o Mini contiene 128,000 tokens. Una respuesta puede tener hasta 16,384 tokens.

¿Qué tan rápido es GPT-4o Mini?

En Railwail, el tiempo de ejecución mediano de GPT-4o Mini en los últimos 90 días fue 3.6 s, basado en 7 ejecuciones completadas.

¿Es GPT-4o Mini mejor que Claude Fable 5.1?

Eso depende de la tarea. GPT-4o Mini (OpenAI) y Claude Fable 5.1 (Anthropic) son ambos modelos en la categoría Texto y chat. La página de comparación muestra sus precios y especificaciones lado a lado.

Comparar GPT-4o Mini y Claude Fable 5.1

¿Cómo uso GPT-4o Mini a través de la API?

Crea una clave API de Railwail y envía tu solicitud con el ID de modelo gpt-4o-mini. Los ejemplos de código para curl, Python y JavaScript están en la sección API de esta página.

09

Modelos comparables

Todos en esta categoría
  • 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.

    USD 12.00/1M entrada

    6,567 % más caro por unidad

    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.

    USD 6.00/1M entrada

    3,233 % más caro por unidad

    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.

    USD 4.80/1M entrada

    2,567 % más caro por unidad

    Comparar GPT-4o Mini vs. Claude Opus 5.5

Usar GPT-4o Mini a través de la API

Una clave API para todos los modelos en Railwail. El uso se cobra con créditos prepagados, 1 crédito = USD 0.01.