Skip to content

Heroku AI ยท chat

claude-4-sonnet

heroku/claude-4-sonnet

Input price
Not listed
Output price
Not listed
Context window
Not listed
Lifecycle
stable

claude-4-sonnet for OpenAI-compatible gateway routing

claude-4-sonnet is a Heroku AI chat model in the Ferro Labs live catalog with a Not listed context window, Not listed maximum output, and capabilities including Function Calling, JSON Mode, and Streaming.

Token pricing is listed as input price not listed and output price not listed. Route calls through the Ferro Labs AI Gateway by sending model as heroku/claude-4-sonnet to the OpenAI-compatible chat completions endpoint. The catalog lists this model as stable for normal gateway routing.

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": "heroku/claude-4-sonnet", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Function Calling
  • JSON Mode
  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from Heroku AI

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