GPT-4o

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

OpenAI's most capable multimodal model. Excellent for complex reasoning, coding, and creative tasks.

Preço · 1M entrada/saída
US$ 3,00 / US$ 12,00
Contexto
128.000 tokens
Saída máxima
16.384 tokens
Entrada → Saída
Texto → Texto
Desenvolvedor
OpenAI
Atualizado
23 de setembro de 2026
01

Playground

Experimentar GPT-4o

Chat

US$ 3,00/1M entrada
Experimentar GPT-4o

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,0123 · 1,23 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 8 execuções deste modelo.

02

Sobre GPT-4o

ResumoA partir de 23 de setembro de 2026

GPT-4o é um modelo de OpenAI na categoria Texto e chat. No Railwail, GPT-4o custa US$ 3,00 por 1M tokens de entrada e US$ 12,00 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 by Sam Altman, Elon Musk, Greg Brockman, Ilya Sutskever, Wojciech Zaremba and John Schulman as a non-profit AI research lab with a $1B pledged commitment. The lab restructured into a capped-profit company (OpenAI LP) in 2019 to attract capital from Microsoft, which has invested over $13 billion. OpenAI's most-cited papers include 'Improving Language Understanding by Generative Pre-Training' (GPT-1, 2018), 'Language Models are Few-Shot Learners' (GPT-3, 2020), the GPT-4 Technical Report (2023) and the InstructGPT/RLHF paper (2022). The ChatGPT consumer product, launched in November 2022, reached 100M weekly active users faster than any consumer software in history. Product milestones include GPT-3.5, GPT-4 (March 2023), GPT-4 Turbo, GPT-4o (May 2024), the o1/o3 reasoning family (late 2024/2025), GPT-4.1 (April 2025) and the Sora video model. Sam Altman is CEO. The company's last reported valuation in 2025 exceeded $300 billion.

Visite OpenAI

Arquitetura

Decoder-only Transformer (natively multimodal)

GPT-4o (the 'o' stands for 'omni') was released in May 2024 as OpenAI's first natively multimodal flagship: a single neural network trained end-to-end on text, audio and images, replacing the earlier cascade of separate ASR, LLM and TTS pipelines used by ChatGPT Voice. Inputs and outputs can be any combination of text, audio and image tokens, and the model emits audio with a median response latency of 320ms for spoken conversation. Architecturally it is a decoder-only Transformer with a unified tokenizer that mixes BPE text tokens, image patches and discretised audio frames. Pretraining used a multi-trillion-token web-scale corpus filtered for quality, plus large image-text pair datasets and licensed audio. Post-training applied RLHF with human raters, model-graded rewards and red-teaming under OpenAI's Preparedness Framework. GPT-4o introduced a new tokenizer with substantially better compression for non-English scripts, reducing token counts by 1.1x-4.4x across languages such as Hindi, Arabic, Korean and Tamil. The context window is 128K tokens with 16K maximum output. Function calling, JSON mode, vision input and Structured Outputs (with strict schema adherence) are first-class. The model card discloses Preparedness Framework evaluations against CBRN, cyber and persuasion risks.

Parâmetros
Undisclosed (estimated in the hundreds of billions, dense)
Contexto
128.000 tokens

Capacidades

  • Natively multimodal: text, image and audio in and out
  • Real-time voice conversation with sub-second latency
  • 128K context window with 16K max output
  • Improved non-English tokenizer (up to 4.4x fewer tokens for some languages)
  • Vision: charts, diagrams, screenshots, OCR
  • Function calling and parallel tool calls
  • Structured Outputs with strict JSON schema
  • Strong coding performance with file editing via tools
  • Singing, emotional speech and laughter in audio mode
  • Multilingual fluency across 50+ languages
  • Best for: real-time voice agents, multimodal assistants, general-purpose chat, vision tasks.

Treinamento & licença

Trained on a multi-trillion-token mixture of web text, code, books, licensed third-party data and large image-text and audio datasets. Knowledge cutoff is October 2023. OpenAI does not disclose exact dataset composition.

Licença: Proprietary, available via OpenAI API and Azure OpenAI Service. Commercial use allowed under OpenAI Terms of Use.

Testes de segurança: Evaluated under OpenAI's Preparedness Framework across CBRN, cyber, persuasion and model autonomy risks. External red-teamers included over 100 experts in chemistry, biology, security and misinformation.

Limitações conhecidas

  • Can hallucinate citations and factual details
  • Voice mode sometimes mimics user voice unexpectedly
  • Knowledge cutoff October 2023 without tools
  • Performance on hardest reasoning trails o-series models
  • Audio output is not available in all API regions
03

Preços

Preços em dólares americanos. O uso é cobrado a partir de créditos pré-pagos.
EntradaUS$ 3,00 / 1M tokens
SaídaUS$ 12,00 / 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,90

90 créditos

Por requisição

US$ 0,009 · 0,9 créditos

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

04

API

Chame GPT-4o 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",
    "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
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)
Tamanho do modelo
Undisclosed (estimated in the hundreds of billions, dense)
Licença
Proprietary, available via OpenAI API and Azure OpenAI Service. Commercial use allowed under OpenAI Terms of Use.
Entrada do catálogo atualizada
23 de setembro de 2026

Etiquetas

  • popular
  • fast
  • multimodal
06

Prompts de exemplo

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

    Write a haiku about the first snowfall of winter
    Mostrar resposta de exemplo

    Silent flakes descend, blanketing the sleeping earth— winter whispers soft.

  • Complex Analysis

    Explain the difference between supervised and unsupervised machine learning in simple terms
    Mostrar resposta de exemplo

    Supervised learning is like studying with an answer key—you feed the model labeled examples so it learns to predict the correct output. Unsupervised learning is more like exploring a dataset without labels, where the model discovers hidden patterns, groupings, or structures on its own. Think of it as the difference between a teacher grading your homework versus sorting a pile of unlabeled photos into albums by similarity.

07

Casos de uso

Para que é utilizado

  • Real-time voice assistants
  • Multimodal customer support
  • Vision-based document analysis
  • Coding copilots with tool use
  • Live translation
  • Accessibility tools
08

Perguntas frequentes

O que é GPT-4o?

GPT-4o é 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 no Railwail?

No Railwail, GPT-4o custa US$ 3,00 por 1M tokens de entrada e US$ 12,00 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?

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

Qual é a velocidade de GPT-4o?

Ainda não há execuções medidas suficientes de GPT-4o no Railwail para indicar um tempo de execução. Depende da entrada, das configurações e da carga no provedor.

GPT-4o é melhor que Claude Fable 5.1?

Depende da tarefa. GPT-4o (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 e Claude Fable 5.1

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

Crie uma chave de API Railwail e envie sua solicitação com o ID do modelo gpt-4o. 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

    300 % mais caro por unidade

    Comparar GPT-4o 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

    100 % mais caro por unidade

    Comparar GPT-4o 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

    60 % mais caro por unidade

    Comparar GPT-4o vs. Claude Opus 5.5

Usar GPT-4o 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.