Seedance 2.0 20% 할인 | Video Generator에서 만들기 →
openai
openai/gpt-4.1-mini

openai/gpt-4.1-mini

1,047,576 context · $0.40/M input tokens · $1.60/M output tokens

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

가격

사용량 기반 과금

선결제 없이 사용한 만큼만 지불

입력$0.40 / M Tokens
출력$1.60 / M Tokens
Cache Read$0.10 / M Tokens

모델 사용해 보기

openai/gpt-4.1-mini
온라인
openai
안녕하세요! 도움이 되는 AI 어시스턴트입니다. 무엇을 도와드릴까요?

API 사용법

다음 코드 예시를 사용해 API와 연동하세요:

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-mini",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

모델 소개

Openai gpt-4.1-mini

openai gpt-4.1-mini


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 1047576 context window for long document handling
  • Competitive pricing at $0.4/$1.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$0.4
Output$1.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-mini


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-mini",
    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-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

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

정보

제공자openai
유형llm

지원 기능

입력
텍스트이미지
출력
텍스트
컨텍스트1,047,576
최대 출력32,768
Vision✓ 지원
Function Calling✓ 지원

API 접근 가이드

Base URLhttps://llm.wavespeed.ai/v1
API 엔드포인트chat/completions
모델 IDopenai/gpt-4.1-mini

GPT 4.1 Mini API

openai/gpt-4.1-mini

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

입력

$0.4 /M

출력

$1.6 /M

컨텍스트

1048K

최대 출력

33K

Vision

지원

도구 사용

지원

WaveSpeedAI에서 GPT 4.1 Mini 체험

통합 API를 통해 GPT 4.1 Mini 액세스 — OpenAI 호환, 콜드 스타트 없음, 투명한 가격.

GPT 4.1 Mini에 대해 자주 묻는 질문

GPT 4.1 Mini API 비용은 얼마인가요?+

WaveSpeedAI 가격: 입력 토큰 100만 개당 $0.40, 출력 토큰 100만 개당 $1.60. 프롬프트 캐싱과 배치 처리는 별도로 청구되며 긴 반복 작업에서 실질 비용을 줄여 줍니다.

GPT 4.1 Mini의 컨텍스트 윈도우는 얼마나 되나요?+

GPT 4.1 Mini은 요청당 최대 1048K 컨텍스트 토큰과 최대 33K 출력 토큰을 지원합니다.

GPT 4.1 Mini은 OpenAI 호환인가요?+

네. WaveSpeedAI는 OpenAI 호환 엔드포인트 https://llm.wavespeed.ai/v1을 통해 GPT 4.1 Mini을 제공합니다. 공식 OpenAI SDK의 base URL을 이 주소로 변경하고 WaveSpeedAI API 키를 사용하면 코드 변경 없이 사용할 수 있습니다.

GPT 4.1 Mini을 어떻게 시작하나요?+

WaveSpeedAI에 로그인하고 Access Keys에서 API 키를 만든 다음, 위에 표시된 모델 ID로 https://llm.wavespeed.ai/v1/chat/completions에 요청을 보내세요. 신규 계정은 GPT 4.1 Mini을 평가할 수 있는 무료 크레딧을 받습니다.

관련 LLM API