Model

GPT-4.1.
Same key.

by OpenAI

Call GPT-4.1 with the same key and base_url as the rest of the catalog. Billed per token from your prepaid balance.

openai/gpt-4.1Try it in the console
Price per 1M tokens
Inputprompt tokens$2.00
Outputcompletion tokens$8.00
Cache readcached prompt tokens$0.50

What Utopixel charges your balance, per 1M tokens, base tier.

Quick facts
Model id
openai/gpt-4.1
Provider
OpenAI
Context
1.05M
Max output
33K
Modalities
image, text, file to text
Knowledge cutoff
2024-06-30
APIs
OpenAI SDKAnthropic SDK
Billing
Prepaid balance, usage.cost on every response
About this model

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...

Request

Call GPT-4.1 today.

Same request shape across the catalog. Swap the base_url, keep your SDK, set model to the id.

OpenAI SDKbase_url https://utopixel.online/api/v1
main.pyopenai
1import os
2from openai import OpenAI
3
4client = OpenAI(
+ base_url="https://utopixel.online/api/v1",
6 api_key=os.environ["UTOPIXEL_API_KEY"],
7)
8r = client.chat.completions.create(
9 model="openai/gpt-4.1",
10 messages=[{"role": "user", "content": "Hello"}],
11)
12print(r.usage.cost)
Anthropic SDKbase_url https://utopixel.online/api
main.pyanthropic
1import os
2import anthropic
3
4client = anthropic.Anthropic(
+ base_url="https://utopixel.online/api",
6 api_key=os.environ["UTOPIXEL_API_KEY"],
7)
8m = client.messages.create(
9 model="openai/gpt-4.1",
10 max_tokens=1024,
11 messages=[{"role": "user", "content": "Hello"}],
12)
cURL
1curl https://utopixel.online/api/v1/chat/completions \
2 -H "Authorization: Bearer $UTOPIXEL_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{"model": "openai/gpt-4.1", "messages": [{"role": "user", "content": "Hello"}]}'
Availability

Where to call it.

Latency appears once a channel has enough measured requests.

RouteContextInput / MOutput / MCache read / M
Utopixel
OpenAI ChatAnthropic Messages
1.05M$2.00$8.00$0.50
Supported parameters
max_completion_tokensmax_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
01Cost example

What a call
costs you.

Tokens times the Utopixel price. Drag the sliders to match your traffic. Every response returns its own usage.cost.

Cost example, GPT-4.1

Per requestPer month
Total per month$520.00
02Fallback

Use GPT-4.1
as a backup.

Put GPT-4.1 in a models array. If the first model's upstream errors, Utopixel sends the same request to the next one. You pay only for the call that answers.

See fallback docs
request.jsonPOST /v1/chat/completions
1{
- "model": "google/gemini-4-carbon",
+ "models": [
+ "google/gemini-4-carbon",
+ "openai/gpt-4.1"
+ ],
7 "messages": [ ... ]
8}
google/gemini-4-carbonattempt 1, upstream error502
openai/gpt-4.1attempt 2, answered200
Similar models

Same key, other picks.

Prices per 1M tokens, input and output. Swap the model id, nothing else changes.

Start building in minutes.

One API key for the models of OpenAI, Google, DeepSeek, Moonshot AI, Qwen, xAI, Z.ai, Meta, Amazon, AionLabs, Anthropic, Baidu, ByteDance Seed, Cohere, Elorian, Fireworks AI, IBM, inclusionAI, Inference.net, KT, Liquid AI, Meituan, Meta, MiniMax, Mistral AI, Moondream, Motif Technologies, Nex AGI, NVIDIA, Particle AI, Perceptron, Prism ML, Reflection AI, Reka, Relace, Ricursive AI, Sakana AI, StepFun, Tencent, Thinking Machines, Unbiased, Upstage, Writer and Xiaomi. Start free, no card needed.