Skip to content

DeepInfra ยท chat

claude-3-7-sonnet-latest

deepinfra/anthropic/claude-3-7-sonnet-latest

Input price
$3.30 / 1M tokens
Output price
$16.5 / 1M tokens
Context window
200K tokens
Lifecycle
stable

claude-3-7-sonnet-latest for OpenAI-compatible gateway routing

claude-3-7-sonnet-latest is a DeepInfra chat model in the Ferro Labs live catalog with a 200K tokens context window, 200K tokens maximum output, and capabilities including Streaming.

Token pricing is listed as $3.30 / 1M tokens for input tokens and $16.5 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as deepinfra/anthropic/claude-3-7-sonnet-latest 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": "deepinfra/anthropic/claude-3-7-sonnet-latest", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from DeepInfra

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