GPT-4.1

Текст и разговорНовоДоступно
од OpenAIID модела: gpt-4-1

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

Цена · 1М улаз/излаз
2,40 US$ / 9,60 US$
Контекст
1.000.000 токена
Макс. излаз
32.768 токена
Унос → излаз
Текст → Текст
Програмер
OpenAI
Ажурирано
23. септембар 2026.
01

Плејграунд

Пробајте GPT-4.1

Разговор

2,40 US$/1М ул
Пробајте GPT-4.1

Пошаљи поруку. Одговор стиже у целости када је модел готов (без стриминга).

Системски промпт
Макс. дужина одговора (токени)

Овај покрет

највише 0,0099 US$ · 0,99 кредита резервисано

Наплаћују се стварно потрошени токени; неискоришћени део резервације се враћа.

Нов си овде?

10 бесплатних кредита (0,10 US$) када се пријавиш са Google

Употребљиво 24 сати после пријаве, до 5 покрета дневно и највише 2 кредита по покрету. Други начини пријаве почињу без кредита. Довољно за 10 покретања овог модела.

02

О GPT-4.1

УкраткоСтање: 23. септембар 2026.

GPT-4.1 је модел од OpenAI из категорије Текст и разговор. На Railwail-у, GPT-4.1 кошта 2,40 US$ по 1М улазних токена и 9,60 US$ по 1М излазних токена. Контекстни прозор садржи 1.000.000 токена, а један одговор може бити дугачак до 32.768 токена.

Позадина

О OpenAI

Основано 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.

Посетите OpenAI

Архитектура

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.

Параметри
Undisclosed (estimated multi-hundred billion parameters dense)
Контекст
1.047.576 токена

Могућности

  • 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.

Обука и лиценца

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).

Лиценца: Proprietary commercial license via OpenAI API and Azure OpenAI Service. Not available through the ChatGPT consumer product.

Тестирање безбедности: 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.

Позната ограничења

  • 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

Цене

Цене у америчким доларима. Употреба се наплаћује из унапред припремљених кредита.
Улаз2,40 US$ / 1М токена
Излаз9,60 US$ / 1М токена
  • Наплаћује се број токена који сваки захтев заиста користи.
  • 1 кредит = 0,01 US$

Калкулатор трошкова

Калкулатор цена

/ захтев
/ захтев

Укупно

0,72 US$

72 кредита

По захтеву

0,0072 US$ · 0,72 кредита

Сваки захтев се заокружује на 0,01 кредита.

04

API

Позови GPT-4.1 са твојим Railwail API кључем. Користи овај ID модела у захтеву:
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
  }'
Поставите ваш кључ као RAILWAIL_API_KEYНаправи API кључ
05

Спецификације

ID модела
gpt-4-1
Програмер
OpenAI
Категорија
Текст и разговор
Унос
Текст
Излаз
Текст
Контекстни прозор
1.000.000 токена
Макс. излаз
32.768 токена
Наплата
По потрошњи (токени или GPU време)
Величина модела
Undisclosed (estimated multi-hundred billion parameters dense)
Лиценца
Proprietary commercial license via OpenAI API and Azure OpenAI Service. Not available through the ChatGPT consumer product.
Унос у каталог ажуриран
23. септембар 2026.

Ознаке

  • popular
  • coding
  • reasoning
06

Примери промпта

Примери из Railwail каталога. Нису генерисани уживо на овој страници.
  • System Design

    Design a URL shortener service. What are the key components and how would you handle 10 million requests per day?
    Прикажи пример одговора

    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'.
    Прикажи пример одговора

    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

Области примене

За шта се користи

  • 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

Често постављана питања

Шта је GPT-4.1?

GPT-4.1 је модел од OpenAI у категорији Текст и разговор. На Railwail-у га можете позвати са API кључем кроз Railwail API.

Колико кошта GPT-4.1 на Railwail-у?

На Railwail-у, GPT-4.1 кошта 2,40 US$ по 1М улазних токена и 9,60 US$ по 1М излазних токена. Наплаћује се оно што свака захтева заиста користи. Коришћење се плаћа из унапред припремљених кредита; 1 кредит је једнак 0,01 US$.

Колики је контекстни прозор од GPT-4.1?

Контекстни прозор од GPT-4.1 садржи 1.000.000 токена. Један одговор може бити дугачак до 32.768 токена.

Колико је брз GPT-4.1?

За GPT-4.1 на Railwail-у још нема довољно измерених покретања да би се наводило време извршавања. Зависи од уноса, поставки и оптерећења код пружаоца услуге.

Да ли је GPT-4.1 бољи од Claude Fable 5.1?

То зависи од задатка. GPT-4.1 (OpenAI) и Claude Fable 5.1 (Anthropic) су оба модела у категорији Текст и разговор. Страница за поређење приказује њихове цене и спецификације упоредо.

Упоредите GPT-4.1 и Claude Fable 5.1

Како да користим GPT-4.1 кроз API?

Направите Railwail API кључ и пошаљите ваш захтев са ID модела gpt-4-1. Примери кода за curl, Python и JavaScript налазе се у API одељку ове странице.

09

Упоредиви модели

Сви у овој категорији

Користи GPT-4.1 преко API-ја

Један API кључ за сваки модел на Railwail. Употреба се наплаћује из унапред припремљених кредита, 1 кредит = 0,01 US$.