Skip to content

GPT-4

Tools
openai/gpt-4

Text · 8K context · May 2023 · 1 upstreams

GPT-4 is OpenAI's original large multimodal-family language model, with an 8K-token window. It solves harder problems than earlier GPT models, with broader knowledge and stronger reasoning.

Needs your own keyTo use GPT-4, add a key from OpenRouter. AnyRouter adds no fee.
context
8K
input / 1M (list)
$30.00
output / 1M (list)
$60.00
routes
1
speed, 24h
No data yet

Upstreams

1
  1. 1OpenRouterBYOKnot addedBilled to your key

Quick start

curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/gpt-4",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'

Details

Owner
OpenAI
Kind
Chat
Released
May 2023
Context
8K
Data policy
Provider retention
Endpoint
/api/v1/chat/completions