Skip to content

GPT-4onOpenRouter

openai/gpt-4

BYOK · Add your own OpenRouter key to use this route. OpenRouter bills it, not your AnyRouter credits.

Your key
context
8K
input / 1M (list)
$30.00
output / 1M (list)
$60.00
speed, 24h
No data yet
uptime
No data yet

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."
    }
  ],
  "provider": {
    "only": [
      "openrouter-byok"
    ]
  }
}'
anyr claude --model openai/gpt-4

Uses your API key. Works with more tools

Details

Provider
OpenRouter
Billing
Your own key (BYOK), not charged to your credits
Max output
4K tokens
Data policy
Provider retention