openai-responses/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 GPT-4.5 across coding (54.6% SWE-bench Verified), instruction compliance (87.4% IFEval), and multimodal understanding benchmarks. It is 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.
Specifications
Benchmarks
Released 2025-04Resolving real GitHub issues from 12 popular Python repositories.
Graduate-level physics, chemistry & biology questions designed to resist Googling.
Massive Multitask Language Understanding across 57 academic subjects.
Scores are sourced from official model cards, Artificial Analysis, and public leaderboards. Benchmarks measure specific skills and do not capture every aspect of model quality β always test on your own workload.
Pricing
Requesty charges exactly what the upstream provider charges β no markup, no per-request fees. Prompt caching and smart routing can reduce effective cost by 30-80%.
Quickstart
Drop-in compatible with the OpenAI SDK. Change the base URL, swap in your Requesty API key, and set the model to azure/openai-responses/gpt-4.1@swedencentral.
123456789101112131415from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="azure/openai-responses/gpt-4.1@swedencentral", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)
Other Microsoft Azure AI models
Frequently asked questions
How much does openai-responses/gpt-4.1 cost?
What is the context window of openai-responses/gpt-4.1?
How does openai-responses/gpt-4.1 perform on benchmarks?
What can openai-responses/gpt-4.1 do?
How do I use openai-responses/gpt-4.1 with the OpenAI SDK?
What region is this deployment?
Access openai-responses/gpt-4.1 through Requesty
One API key, 400+ models, OpenAI-compatible. No markup on provider prices, automatic failover, and smart caching built-in.

