OpenRouter: GPT-4
stableGPT-4 is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.
openai-gpt-4gpt-4released Nov 6, 2023
Context
8.2K
tokens
Max output
4.1K
tokens
Input
$30.00
per 1M
Output
$60.00
per 1M
Activity
Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.
Providers
ProviderContextInput /MOutput /M
Pricing
| Item | Price | Unit |
|---|---|---|
| Input | $30.00 | per 1M tokens |
| Output | $60.00 | per 1M tokens |
Performance
Reliability
Compare
Compare usage and performance
Place this model beside up to three other catalog models.
Capabilities
Capabilities
Modalities
Input
Output
Details
- Model ID
- openai-gpt-4
- Family
- gpt-4
- Status
- stable
- Knowledge
- -
- Released
- Nov 6, 2023
Gateway Config
- API
- 2024-01-01
- Auth
- OPENROUTER_API_KEY
- Discovery
- dynamic
- Provider type
- meta
Quick Start
index.ts
Endpoint
Base URL
https://openrouter.ai/api/v1Chat completions
https://openrouter.ai/api/v1/chat/completionsModel
openai-gpt-4Auth env
OPENROUTER_API_KEYGPT-4 FAQ
How much does the GPT-4 API cost?
Through OpenRouter, GPT-4 costs $30.00 per 1M input tokens and $60.00 per 1M output tokens.
What is the context window of GPT-4?
GPT-4 accepts up to 8.2K tokens of context and returns up to 4.1K output tokens on OpenRouter.
Which providers offer GPT-4?
GPT-4 is available from OpenAI and OpenRouter. Everstack can route between them with automatic fallback when one is unavailable.
What can GPT-4 do?
GPT-4 supports chat and function calling. It accepts text input.
How do I call GPT-4 through Everstack?
Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @openrouter/openai-gpt-4. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.
