Back to the models list Active on this gateway

Openai: gpt-4.1-nano

gpt-4.1-nano is a small, highly efficient language model from OpenAI’s GPT‑4.1 family, designed for low-latency, low-cost use cases and lightweight deployments. It trades off some of the depth and breadth of reasoning and creativity found in larger GPT‑4.1 variants in order to run faster and more cheaply, including on resource-constrained environments. Typical uses include simple chatbots, on-device assistants, basic content generation, and straightforward classification or extraction tasks where speed and cost matter more than maximum accuracy or advanced reasoning. It fits into OpenAI’s tiered lineup as an entry-level, production-friendly model suitable for high-volume, everyday applications.

Modalities
Context 1M tokens
Quota cost Standard (1×)
Added September 23, 2026

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Input $0,12 / 1M tokens ≈ $0,00012 / 1K tokens
Output $0,48 / 1M tokens ≈ $0,00048 / 1K tokens

Included in plans

Titanium Gold Silver

Statistics

Live performance and usage of this model, aggregated across all users.

No usage recorded yet

Detailed statistics appear here as soon as this model starts receiving requests.

API

Call this model from any OpenAI-compatible client using your API token.

curl
curl https://apiex.cloud/api/v1/chat/completions \
  -H "Authorization: Bearer $NEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-4.1-nano",
  "messages": [
    {
      "role": "user",
      "content": "Explain quantum entanglement in one paragraph."
    }
  ],
  "temperature": 0.7
}'
Authentication

Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — its access to models is set automatically from your active plans and redeemed codes, and you can set its rate limit and IP restrictions.

Supported parameters
Parameter Type Description
modelstring, requiredThis model's ID, exactly as shown above.
messagesarray, requiredConversation history as role/content objects (system, user, assistant).
temperaturenumber, optionalSampling randomness, typically 0–2.
max_tokensinteger, optionalUpper limit on tokens generated in the reply.
top_pnumber, optionalNucleus-sampling threshold, as an alternative to temperature.
streamboolean, ignoredResponses are always returned in full so the exact cost can be billed; streaming is not available.

Replace YOUR_API_KEY with a token from your account, then see the full API reference for every parameter.

Frequently asked questions

What is gpt-4.1-nano?

gpt-4.1-nano is a small, highly efficient language model from OpenAI’s GPT‑4.1 family, designed for low-latency, low-cost use cases and lightweight deployments. It trades off some of the depth and breadth of reasoning and creativity found in larger GPT‑4.1 variants in order to run faster and more cheaply, including on resource-constrained environments. Typical uses include simple chatbots, on-device assistants, basic content generation, and straightforward classification or extraction tasks where speed and cost matter more than maximum accuracy or advanced reasoning. It fits into OpenAI’s tiered lineup as an entry-level, production-friendly model suitable for high-volume, everyday applications.

How much does gpt-4.1-nano cost?

Input tokens are priced at $0,12 per 1,000,000 tokens and output tokens at $0,48 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

What is the context length of gpt-4.1-nano?

gpt-4.1-nano supports a context window of up to 1,047,576 tokens.

Does gpt-4.1-nano support image input?

Yes, gpt-4.1-nano accepts image input in addition to text.

Which provider is gpt-4.1-nano from?

gpt-4.1-nano is developed by Openai and made available on this gateway through our routing infrastructure.

When was gpt-4.1-nano added to this gateway?

gpt-4.1-nano has been available on this gateway since September 23, 2026.

Is gpt-4.1-nano currently available?

Yes, gpt-4.1-nano is active and can be used right now through this gateway.

Explore more models