Haimaker.ai Logo
OpenAI logo

GPT 4.1 Nano

openai/gpt-4.1-nano
Chat
OpenAI|
Function CallingVision
Context Window
1M
tokens
Max Output
33K
tokens
Input Price
$0.10
/1M tokens
Output Price
$0.40
/1M tokens

Overview

OpenAI's most lightweight GPT-4.1 model for classification, autocompletion, and latency-sensitive tasks with a 1M token context.

Features & Capabilities

Modechat
Context Window1M tokens
Max Output33K tokens
Function CallingSupported
VisionSupported
Reasoning-
Web Search-
Url Context-

API Usage

from openai import OpenAI

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

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

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

Use GPT 4.1 Nano with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from OpenAI