openai logo

OpenAI: GPT-4

Chat
openai/gpt-4
Created May 28, 2023|8,191 context|$30.00/M input tokens|$60.00/M output tokens

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning capabilities. Training data: up to Sep 2021.

Providers for OpenAI: GPT-4

RedPill routes this private model across verified providers with automatic fallbacks. Pricing is unified, so you pay the same price no matter which provider serves your request, while live metrics show first-token latency, speed, and uptime.

Total Context
8,191
Input
$30.00/M
Output
$60.00/M
ProviderFirst TokenSpeedUptime
openai logoopenai
CheckingCheckingChecking

Gateway API

RedPill provides a unified private completion API to all models and providers that you can call directly, or through the OpenAI SDK. Verification can be added without changing your model call pattern.

const response = await fetch("https://api.redpill.ai/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.REDPILL_API_KEY}`,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "openai/gpt-4",
    "messages": [
      {
        "role": "user",
        "content": "What is the meaning of life?"
      }
    ],
    "provider": { "aci_verified": true }
  })
});

console.log("receipt", response.headers.get("x-receipt-id"));
console.log(await response.json());
RedPill

End-to-end encrypted AI through one gateway: private models, verified providers, unified pricing, live performance, and evidence your team can check.