Skip to content

OpenAI · chat

gpt-4-0613

openai/gpt-4-0613

Input price
$30.0 / 1M tokens
Output price
$60.0 / 1M tokens
Context window
8K tokens
Lifecycle
deprecated

gpt-4-0613 for OpenAI-compatible gateway routing

gpt-4-0613 is a OpenAI chat model in the Ferro Labs live catalog with a 8K tokens context window, 4K tokens maximum output, and capabilities including Function Calling, JSON Mode, and Prompt Caching, and more.

Token pricing is listed as $30.0 / 1M tokens for input tokens and $60.0 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as openai/gpt-4-0613 to the OpenAI-compatible chat completions endpoint. The catalog marks this model as deprecated; plan a migration before routing new workloads.

OpenAI-compatible usage example

curl https://api.ferrolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/gpt-4-0613", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Function Calling
  • JSON Mode
  • Prompt Caching
  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from OpenAI

Catalog prices may change. Verify current provider terms before purchasing.