GPT-4

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 adva

OpenAI · more OpenAI models · all models

Pricing and specs

Model IDroutexor/gpt-4
ProviderOpenAI
Input, per 1M tokens$30
Output, per 1M tokens$60
Price sourceReference price from OpenRouter's listing, not the provider's own page. A direct call on your key can cost a different amount.
Context window8K tokens
Max output4K tokens
CapabilitiesStreaming, Tools, JSON

Your provider bills these tokens on your account. A listing is not a promise that your key has access to this model.

Call it

curl https://api.routexor.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTEXOR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"routexor/gpt-4","messages":[{"role":"user","content":"Say hello briefly."}],"max_tokens":64}'

Add your OpenAI key in the dashboard first. This call is billed by OpenAI. See the docs for which request paths are supported.