Skip to content

Vercel AI Gateway ยท chat

mercury-coder-small

vercel_ai_gateway/inception/mercury-coder-small

Input price
$0.250 / 1M tokens
Output price
$1.00 / 1M tokens
Context window
32K tokens
Lifecycle
stable

mercury-coder-small for OpenAI-compatible gateway routing

mercury-coder-small is a Vercel AI Gateway chat model in the Ferro Labs live catalog with a 32K tokens context window, 16K tokens maximum output, and capabilities including Streaming.

Token pricing is listed as $0.250 / 1M tokens for input tokens and $1.00 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as vercel_ai_gateway/inception/mercury-coder-small 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": "vercel_ai_gateway/inception/mercury-coder-small", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from Vercel AI Gateway

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