GPT-4.1

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

InputFileImageText
OutputText
Input / Outputclub$2.12 / $8.48per 1M tokens · USD
Context window1Mtoken
Maximum output32.8Ktoken

Pricing

Current model usage rates. Choose your plan to see its published prices.

Pricing
UsagePricing
InputUS$2.12/ 1M token
Cache readUS$0.53/ 1M token
OutputUS$8.48/ 1M token

Membership and model usage are billed separately. Compare plans

Capabilities

Input
FileImageText
Output
Text
Context window
1,047,576 token
Maximum output
32,768 token

Providers

Model supply available through Vecbase.

Via OpenRouter

Access is subject to your account’s permissions and model availability.

Frequently asked questions

What is GPT-4.1, and who develops it?

GPT-4.1 is a model from OpenAI. Its model ID on Vecbase is 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...

How much does GPT-4.1 cost on Vecbase?

For GPT-4.1, the Club plan lists USD 2.12 per 1 million input tokens and USD 8.48 per 1 million output tokens, as of 10/22/2026, 9:25:16 PM UTC. See the pricing table for cache rates, input-length tiers and other usage types. Membership fees are separate.

How many tokens fit in GPT-4.1’s context window?

GPT-4.1 has a context window of 1,047,576 tokens. Input and output must fit within the limits of the API you use.

What is the maximum output length for GPT-4.1?

GPT-4.1 can generate up to 32,768 tokens per response. Your API or request settings may set a lower limit.

Can GPT-4.1 call tools in an agent workflow?

Yes. GPT-4.1 supports tool calling. Your application provides the tool definitions and runs the tools the model requests.

Does GPT-4.1 support structured outputs?

Yes. GPT-4.1 supports structured output. Set the required format in your API request and check the returned data before using it.

Which input and output formats does GPT-4.1 support?

GPT-4.1 accepts File, Image, and Text and produces Text.

Which providers make GPT-4.1 available through Vecbase?

Vecbase offers GPT-4.1 through OpenRouter. Availability may vary by provider.

Which model ID should an agent use to request GPT-4.1?

Use openai/gpt-4.1 as the model identifier for GPT-4.1. See Vecbase’s API documentation for authentication, required inputs and supported request formats.

What does an agent need to access GPT-4.1 through Vecbase?

To use GPT-4.1, you need an authenticated account with the required permissions, sufficient balance and the relevant capability enabled. See the documentation for setup.

Is a release date available for GPT-4.1?

We do not yet have a confirmed release date for GPT-4.1.

Which models can I compare with GPT-4.1 on Vecbase?

You can compare GPT-4.1 with GPT Mini Latest (openai/gpt-mini-latest), GPT-5.5 (openai/gpt-5.5), and GPT-5.6 Luna (openai/gpt-5.6-luna). Check their capabilities and prices to find the best fit for your task.