GPT-4.1

Κείμενο & συνομιλίαΝέοΔιαθέσιμο
από OpenAIΑναγνωριστικό μοντέλου: gpt-4-1

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

Τιμή · 1M εισόδου / εξόδου
2,40 $ / 9,60 $
Περιεχόμενο
1.000.000 tokens
Μέγ. έξοδος
32.768 tokens
Είσοδος → Έξοδος
Κείμενο → Κείμενο
Προγραμματιστής
OpenAI
Ενημερώθηκε
23 Σεπτεμβρίου 2026
01

Playground

Δοκιμάστε GPT-4.1

Συνομιλία

2,40 $/1M in
Δοκιμάστε GPT-4.1

Στείλτε ένα μήνυμα. Η απάντηση φτάνει πλήρης όταν το μοντέλο τελειώσει (χωρίς streaming).

System prompt
Μέγ. μήκος απάντησης (tokens)

Αυτή η εκτέλεση

το πολύ 0,0099 $ · 0,99 πιστωτικές μονάδες προεπιλεγμένες

Χρεώνονται τα tokens που χρησιμοποιήθηκαν πραγματικά· το αχρησιμοποίητο μέρος της προεπιλογής επιστρέφεται.

Νέος εδώ;

10 δωρεάν πιστωτικές μονάδες (0,10 $) όταν εγγραφείς με Google

Χρησιμοποιήσιμο 24 ώρες μετά την εγγραφή, έως 5 εκτελέσεις ανά ημέρα και το πολύ 2 πιστωτικές μονάδες ανά εκτέλεση. Άλλες μέθοδοι σύνδεσης ξεκινούν χωρίς πιστωτικές μονάδες. Αρκετό για 10 εκτελέσεις αυτού του μοντέλου.

02

Σχετικά με το GPT-4.1

ΣύντομαΗμερομηνία: 23 Σεπτεμβρίου 2026

Το GPT-4.1 είναι ένα μοντέλο του OpenAI στην κατηγορία Κείμενο & συνομιλία. Στο Railwail, το GPT-4.1 κοστίζει 2,40 $ ανά 1M tokens εισόδου και 9,60 $ ανά 1M tokens εξόδου. Το παράθυρο περιεχομένου περιέχει 1.000.000 tokens, και μια απάντηση μπορεί να είναι έως 32.768 tokens.

Φόντο

Σχετικά με 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 tokens

Δυνατότητες

  • 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 $ / 1M tokens
Έξοδος9,60 $ / 1M tokens
  • Χρέωση με βάση τα tokens που χρησιμοποιεί πραγματικά κάθε αίτημα.
  • 1 πιστωτική μονάδα = 0,01 $

Αριθμομηχανή κόστους

Αριθμομηχανή τιμών

/ αίτημα
/ αίτημα

Σύνολο

0,72 $

72 πιστωτικές μονάδες

Ανά αίτημα

0,0072 $ · 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 tokens
Μέγ. έξοδος
32.768 tokens
Χρέωση
Κατά χρήση (tokens ή χρόνος 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 key μέσω του Railwail API.

Πόσο κοστίζει το GPT-4.1 στο Railwail;

Στο Railwail, το GPT-4.1 κοστίζει 2,40 $ ανά 1M tokens εισόδου και 9,60 $ ανά 1M tokens εξόδου. Χρεώνεστε για αυτό που χρησιμοποιεί πραγματικά κάθε αίτημα. Η χρήση πληρώνεται από προπληρωμένες πιστωτικές μονάδες· 1 πιστωτική μονάδα ισούται με 0,01 $.

Ποιο είναι το παράθυρο περιεχομένου του GPT-4.1;

Το παράθυρο περιεχομένου του GPT-4.1 περιέχει 1.000.000 tokens. Μια απάντηση μπορεί να είναι έως 32.768 tokens.

Πόσο γρήγορο είναι το 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 key και στείλτε το αίτημά σας με το ID μοντέλου gpt-4-1. Παραδείγματα κώδικα για curl, Python και JavaScript βρίσκονται στην ενότητα API αυτής της σελίδας.

09

Συγκρίσιμα μοντέλα

Όλα σε αυτήν την κατηγορία

Χρησιμοποιήστε το GPT-4.1 μέσω του API

Ένα κλειδί API για κάθε μοντέλο στο Railwail. Η χρήση χρεώνεται από προπληρωμένα πιστωτικά, 1 πιστωτικό = 0,01 $.