GPT-4.1

Teksts un tērzēšanaJaunsPieejams
no OpenAIModeļa ID: gpt-4-1

OpenAI's newest flagship model. Improved reasoning, instruction following, and coding over GPT-4o.

Cena · 1M ievade/izvade
2,40 $ / 9,60 $
Konteksts
1 000 000 marķieri
Maks. izvade
32 768 marķieri
Ievade → Izvade
Teksts → Teksts
Izstrādātājs
OpenAI
Atjaunināts
2026. gada 23. septembris
01

Spēļu laukums

Izmēģiniet GPT-4.1

Tērzēšana

2,40 $/1M ievade
Izmēģiniet GPT-4.1

Nosūtiet ziņojumu. Atbilde tiek saņemta pilnībā, kad modelis ir pabeigis (bez straumēšanas).

Sistēmas uzvedne
Maks. atbildes garums (marķieri)

Šis palaišanas gadījums

maksimāli 0,0099 $ · 0,99 kredīti rezervēti

Norēķins tiek veikts par faktiskajiem izmantotajiem žetoniem; neizmantotā rezerves daļa tiek atmaksāta.

Jauns šeit?

10 bezmaksas kredīti (0,10 $), reģistrējies ar Google

Pieejams 24 stundas pēc reģistrācijas, līdz 5 palaišanas gadījumi dienā un maksimāli 2 kredīti uz palaišanas gadījumu. Citas pierakstīšanās metodes sākas bez kredītiem. Pietiek 10 šī modeļa palaišanām.

02

Par GPT-4.1

ĪsumāUz 2026. gada 23. septembris

GPT-4.1 ir OpenAI modelis kategorijā Teksts un tērzēšana. Railwail platformā GPT-4.1 maksā 2,40 $ par 1M ievades tokeniem un 9,60 $ par 1M izvades tokeniem. Konteksta logs satur 1 000 000 žetonus, un viena atbilde var būt līdz 32 768 žetonu gara.

Fons

Par OpenAI

Dibināts 2015 · San Francisco, USA

OpenAI was founded in 2015 as a non-profit research lab by Sam Altman, Elon Musk, Greg Brockman, Ilya Sutskever, Wojciech Zaremba and John Schulman. In 2019 it transitioned into a capped-profit company to raise capital from Microsoft, which has invested over $13 billion. OpenAI is the publisher of the GPT series papers (GPT-1 in 2018, GPT-2 in 2019, GPT-3 in 2020, GPT-4 Technical Report in 2023), the InstructGPT paper that introduced RLHF for instruction following, and the GPT-4o System Card. Major products include ChatGPT (launched November 2022, with over 200M weekly active users), the OpenAI API, the o-series reasoning models, Sora for text-to-video and DALL-E for image generation. GPT-4.1 was released in April 2025 as an API-only model family (4.1, 4.1 mini and 4.1 nano) optimised for developers, with major improvements over GPT-4o on coding, instruction following and long-context tasks. The 2025 reported valuation exceeded $300 billion.

Apmeklēt OpenAI

Arhitektūra

Decoder-only Transformer (developer-focused flagship)

GPT-4.1 launched in April 2025 as an API-only successor to GPT-4o aimed primarily at developers and agentic workloads. It is a decoder-only Transformer trained on an updated multi-trillion-token mixture of text, code and image-text pairs, with a knowledge cutoff of June 2024. The model family ships in three sizes (4.1, 4.1 mini, 4.1 nano) sharing the same training recipe but distilled to different capability/latency points. The headline change versus GPT-4o is a 1,047,576-token context window (~1M tokens), validated with new long-context evaluations such as OpenAI's MRCR (Multi-Round Coreference Resolution) and Graphwalks benchmarks. Post-training emphasised coding (SWE-bench Verified moved to 54.6% from 33% on GPT-4o), instruction following on edge-case formats, and reliable behaviour in long agent loops. OpenAI used reinforcement learning against verifiable rewards and large-scale synthetic data generation to push these axes. The model deprecates GPT-4.5 Preview from the API and is positioned as the production workhorse for ChatGPT Enterprise and Team deployments. Vision input is supported in all three sizes, function calling and Structured Outputs are first-class, and pricing is roughly 26% cheaper than GPT-4o at launch.

Parametri
Undisclosed (estimated multi-hundred billion parameters dense)
Konteksts
1 047 576 marķieri

Iespējas

  • 1,047,576 token context window (~1M tokens)
  • Major coding improvement: 54.6% on SWE-bench Verified at launch
  • Strong instruction following on edge-case formats and negative constraints
  • Reliable behaviour over long agent loops
  • Vision input across all three model sizes (4.1, mini, nano)
  • Function calling, parallel tool calls and Structured Outputs
  • Knowledge cutoff June 2024 (later than GPT-4o)
  • About 26% cheaper than GPT-4o at launch
  • Diff-style file editing and applied-diff coding workflows
  • Improved multilingual non-English benchmark performance
  • Best for: coding agents, IDE copilots, large-document analysis, production assistants.

Apmācība un licence

Pretrained on a multi-trillion-token web-scale mixture of text, code repositories, books, licensed datasets and image-text pairs. Knowledge cutoff is June 2024. Post-training combined supervised fine-tuning, RLHF and reinforcement learning against verifiable rewards (especially for code).

Licence: Proprietary commercial license via OpenAI API and Azure OpenAI Service. Not available through the ChatGPT consumer product.

Drošības pārbaudes: Evaluated under OpenAI's Preparedness Framework v2 across CBRN, cyber, persuasion and autonomy axes. External red-teamers and OpenAI's Safety Advisory Group reviewed before launch.

Zināmi ierobežojumi

  • API-only, no ChatGPT consumer access initially
  • 1M context window is supported but quality degrades on cross-document recall vs nominal capacity
  • Higher cost than GPT-4o mini for cost-sensitive use cases
  • Still hallucinates citations and exact quotes
  • No native audio I/O (use GPT-4o for voice)
03

Cenas

Cenas ASV dolāros. Izmantošana tiek aprēķināta no iepriekš apmaksātiem kredītiem.
Ievade2,40 $ / 1M marķieru
Izvade9,60 $ / 1M marķieru
  • Tiek norēķināti marķieri, ko katra pieprasījuma faktiskā izmantošana.
  • 1 kredīts = 0,01 $

Izmaksu kalkulators

Cenu kalkulators

/ pieprasījums
/ pieprasījums

Kopā

0,72 $

72 kredīti

Uz pieprasījumu

0,0072 $ · 0,72 kredīti

Katrs pieprasījums tiek noapaļots līdz 0,01 kredītiem.

04

API

Izsauciet GPT-4.1 ar savu Railwail API atslēgu. Izmantojiet šo modeļa ID pieprasījumā:
curl https://railwail.com/api/v1/chat/completions \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4-1",
    "messages": [
      {
        "role": "user",
        "content": "Explain what a vector database is in two sentences."
      }
    ],
    "max_tokens": 1024
  }'
Iestatiet savu atslēgu kā RAILWAIL_API_KEYIzveidot API atslēgu
05

Specifikācijas

Modeļa ID
gpt-4-1
Izstrādātājs
OpenAI
Ievade
Teksts
Izvade
Teksts
Konteksta logs
1 000 000 marķieri
Maks. izvade
32 768 marķieri
Norēķini
Pēc lietojuma (tokeni vai GPU laiks)
Modeļa izmērs
Undisclosed (estimated multi-hundred billion parameters dense)
Licence
Proprietary commercial license via OpenAI API and Azure OpenAI Service. Not available through the ChatGPT consumer product.
Kataloga ieraksts atjaunināts
2026. gada 23. septembris

Tagi

  • popular
  • coding
  • reasoning
06

Paraugu uzvednes

Piemēri no Railwail kataloga. Tie netika ģenerēti tiešraidē šajā lapā.
  • System Design

    Design a URL shortener service. What are the key components and how would you handle 10 million requests per day?
    Rādīt parauga atbildi

    A URL shortener at 10M req/day needs: 1) An API layer behind a load balancer to accept long URLs and return short codes. 2) A base62 encoding scheme (a-z, A-Z, 0-9) generating 6-character codes, yielding 56 billion unique URLs. 3) A distributed key-value store like Redis for fast lookups with a persistent database (PostgreSQL) as the source of truth. 4) A caching layer (CDN + Redis) since reads vastly outnumber writes. 5) Rate limiting per IP/API key to prevent abuse. At ~115 req/sec average, a few application servers with horizontal scaling can handle the load comfortably.

  • Instruction Following

    Write exactly 3 sentences about black holes. Each sentence must contain exactly 10 words. Do not use the word 'space'.
    Rādīt parauga atbildi

    Black holes form when massive stars collapse under their gravity. Light cannot escape the intense gravitational pull they create. Scientists study these mysterious objects using powerful telescopes and math.

07

Lietošanas gadījumi

Kam to izmanto

  • Autonomous coding agents
  • IDE copilots and pair programmers
  • Long-document and codebase analysis
  • Customer support over 1M token transcripts
  • Enterprise RAG and chat assistants
  • Tool-using agents in production
08

Bieži uzdotie jautājumi

Kas ir GPT-4.1?

GPT-4.1 ir OpenAI izstrādāts modelis Teksts un tērzēšana kategorijā. Railwail platformā varat to izsaukt ar API atslēgu, izmantojot Railwail API.

Cik maksā GPT-4.1 Railwail?

Railwail platformā GPT-4.1 maksā 2,40 $ par 1M ievades tokeniem un 9,60 $ par 1M izvades tokeniem. Jums tiek ņemta maksa par to, ko katra pieprasījuma izpilde faktiski izmanto. Izmantošana tiek apmaksāta no iepriekš nopirkto kredītu; 1 kredīts = 0,01 $.

Kāds ir GPT-4.1 konteksta logs?

GPT-4.1 konteksta logs satur 1 000 000 žetonus. Viena atbilde var būt līdz 32 768 žetonu gara.

Cik ātrs ir GPT-4.1?

Railwail platformā GPT-4.1 vēl nav pietiekami daudz izmērītu izpilžu, lai norādītu izpildes laiku. Tas ir atkarīgs no ievades, iestatījumiem un sniedzēja slodzes.

Vai GPT-4.1 ir labāks par Claude Fable 5.1?

Tas ir atkarīgs no uzdevuma. GPT-4.1 (OpenAI) un Claude Fable 5.1 (Anthropic) ir abi modeļi Teksts un tērzēšana kategorijā. Salīdzināšanas lapā to cenas un specifikācijas ir parādītas blakus.

Salīdzināt GPT-4.1 un Claude Fable 5.1

Kā es varu izmantot GPT-4.1 caur API?

Izveidojiet Railwail API atslēgu un nosūtiet savu pieprasījumu ar modeļa ID gpt-4-1. Koda piemēri curl, Python un JavaScript ir šīs lapas API sadaļā.

09

Salīdzināmi modeļi

Visi šajā kategorijā
  • 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.

    12,00 $/1M ievade

    400 % dārgāk uz vienību

    Salīdzināt GPT-4.1 un 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.

    6,00 $/1M ievade

    150 % dārgāk uz vienību

    Salīdzināt GPT-4.1 un 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.

    4,80 $/1M ievade

    100 % dārgāk uz vienību

    Salīdzināt GPT-4.1 un Claude Opus 5.5

Izmantojiet GPT-4.1 caur API

Viena API atslēga visiem Railwail modeļiem. Izmantošana tiek aprēķināta no iepriekš apmaksātiem kredītiem, 1 kredīts = 0,01 $.