A flagship large language model from OpenAI, optimized for advanced instruction following, real-world software engineering, and long-context reasoning. Supports a 1 million token context window and outperforms GPT-4o and GPT-4.5 in coding (54.6% SWE-bench Verified), instruction compliance (87.4% IFEval), and multimodal understanding. Tuned for precise code diffs, agent reliability, and high recall in large document contexts, making it ideal for agents, IDE tooling, and enterprise knowledge retrieval.
$1.00market price $2.00
$0.25market price $0.50
$4.00market price $8.00
How fast the model answers over every route we serve it from: throughput is tokens written per second, time to first token is how soon the answer starts, end-to-end latency is the whole request.
Share of requests served without a server error. Client errors (4xx) do not count.
Works with the OpenAI SDK pointed at our base URL. Every parameter is in the API reference.
Tokens processed per day on NagaAI.
A flagship large language model from OpenAI, optimized for advanced instruction following, real-world software engineering, and long-context reasoning.
On NagaAI, GPT-4.1 costs $1 per 1M input tokens and $4 per 1M output tokens. You pay only for what you use, with no subscription.
GPT-4.1 reads up to 1.0M tokens in one request, counting the prompt and the answer together.
Yes. GPT-4.1 can call your functions as tools and can answer in a JSON schema you give it.
It takes text, images and files as input and returns text.
Create an API key, copy the model ID from the top of this page and send requests with the OpenAI or Anthropic SDK pointed at NagaAI. The API section on this page has a ready example.