AI Rate Card

OpenAI: GPT-4.1 · fastrouter

GPT-4.1 is OpenAI's latest flagship model showcasing significant advances in coding, instruction following, and long-context understanding. It processes up to 1 million tokens (approximately 750,000 words) in a single context window, with knowledge updated to June 2024. Performance benchmarks demonstrate substantial improvements over GPT-4o, including 54.6% completion on SWE-bench Verified coding tasks (21.4% increase) and 38.3% on MultiChallenge instruction following (10.5% increase). The model excels at real-world software engineering with reduced extraneous edits (from 9% to 2%), superior code exploration capabilities, and enhanced long-document comprehension. GPT-4.1 provides improved agentic reliability while maintaining a lower price point than its predecessors, making it particularly valuable for development environments, document analysis, and enterprise knowledge systems.

Base modelAll models on this baseAll models of the providerto the provider

Input, $/1M $2.00

Output, $/1M $8.00

Cache read $0.50

Cache write —

Context 1 047 576

Max output 32 768

Accepts files, images, text

Last checked 04.11.2026 12:00:14 UTC

Source provider's page

Price alerts

Sign in to follow the price

API

OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.

API base URL
https://go.fastrouter.ai/api/v1
Endpoint
https://go.fastrouter.ai/api/v1/chat/completions
Model id
openai/gpt-4.1
curl
curl https://go.fastrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/gpt-4.1", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'
Python
import requests

r = requests.post(
    "https://go.fastrouter.ai/api/v1/chat/completions",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
      "model": "openai/gpt-4.1",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ],
      "max_tokens": 256
    },
)
print(r.json())
JavaScript
const r = await fetch("https://go.fastrouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
  body: JSON.stringify({
    "model": "openai/gpt-4.1",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ],
    "max_tokens": 256
  }),
});
console.log(await r.json());
Request (JSON)
{
  "model": "openai/gpt-4.1",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "max_tokens": 256
}
Response (JSON)
{
  "id": "chatcmpl-...",
  "object": "chat.completion",
  "model": "openai/gpt-4.1",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hi! How can I help?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 12,
    "total_tokens": 21
  }
}

The address is taken from the provider's model list; check it against the provider's documentation.

Provider's API documentation

Source: AI Rate Card, https://airatecard.com/en/c/offer%3Afastrouter%7Copenai/gpt-4.1, prices checked 2026-11-04; seller's page: https://fastrouter.ai/models/openai/gpt-4.1

Technical details

ID: offer:fastrouter|openai/gpt-4.1