Seedream 5.0 Pro yayında | Görsel Üretici'de deneyin →
openai
openai/gpt-4.1

openai/gpt-4.1

Yayın tarihi: 2025-04-15

1,047,576 context · $2.00/M input tokens · $8.00/M output tokens

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

Fiyatlandırma

Kullandıkça öde

Ön ödeme yok, yalnızca kullandığınız kadar ödeyin

Giriş$2.00 / M Tokens
Çıkış$8.00 / M Tokens
Cache Read$0.50 / M Tokens

Modeli dene

openai/gpt-4.1
Çevrimiçi
openai
Merhaba! Yardımcı bir yapay zeka asistanıyım. Size nasıl yardımcı olabilirim?
Bu modeli yerel bir coding agent içinde kullanmaya hazır mısınız?Agent setup

API Kullanımı

API'mizle entegre etmek için aşağıdaki kod örneklerini kullanın:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-4.1",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Model Tanıtımı

Openai gpt-4.1

openai gpt-4.1


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 1047576 context window for long document handling
  • Competitive pricing at $2.2/$8.8 per million tokens

Key Features

  • Context Window: 1047576 tokens
  • Max Output: 32768 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderOpenai
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window1047576 tokens
Max Output32768 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$2.2
Output$8.8

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: openai/gpt-4.1


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-4.1",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "openai/gpt-4.1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: openai/gpt-4.1
  • Provider: Openai

Bilgi

Sağlayıcıopenai
Türllm

Desteklenen İşlevsellik

Giriş
MetinGörsel
Çıkış
Metin
Bağlam1,047,576
Maks. Çıkış32,768
Vision✓ Destekleniyor
Function Calling✓ Destekleniyor

API Erişim Kılavuzu

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDopenai/gpt-4.1

GPT 4.1 API

openai/gpt-4.1

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

Giriş

$2 /M

Çıkış

$8 /M

Bağlam

1048K

Maks. Çıkış

33K

Vision

Destekleniyor

Araç Kullanımı

Destekleniyor

GPT 4.1'i WaveSpeedAI'da deneyin

Birleşik API'miz aracılığıyla GPT 4.1'e erişin — OpenAI uyumlu, soğuk başlatma yok, şeffaf fiyatlandırma.

GPT 4.1 hakkında sık sorulan sorular

GPT 4.1 API ücreti ne kadar?+

WaveSpeedAI fiyatlandırması: milyon giriş tokenı başına $2.00 ve milyon çıkış tokenı başına $8.00. Prompt caching ve toplu işleme ayrı faturalanır ve uzun, tekrar eden yüklerde etkin maliyeti düşürür.

GPT 4.1'in bağlam penceresi nedir?+

GPT 4.1 istek başına 1048K bağlam tokenını ve 33K çıkış tokenını destekler.

GPT 4.1 OpenAI uyumlu mu?+

Evet. WaveSpeedAI, GPT 4.1 modelini https://llm.wavespeed.ai/v1 adresindeki OpenAI uyumlu endpoint üzerinden sunar. Resmi OpenAI SDK'sını WaveSpeedAI API anahtarınızla bu base URL'ye yöneltin — başka kod değişikliği gerekmez.

GPT 4.1'e nasıl başlarım?+

WaveSpeedAI'a giriş yapın, Access Keys'te bir API anahtarı oluşturun, ardından yukarıda gösterilen model id ile https://llm.wavespeed.ai/v1/chat/completions adresine bir istek gönderin. Yeni hesaplar GPT 4.1'i değerlendirmek için ücretsiz krediler alır.

İlgili LLM API'leri

GPT-4.1 | OpenAI 1M Context LLM API Pricing | WaveSpeedAI