Skip to content

Fireworks AI · chat

phi-2-3b

fireworks/phi-2-3b

Input price
$0.100 / 1M tokens
Output price
$0.100 / 1M tokens
Context window
2K tokens
Lifecycle
stable

phi-2-3b for OpenAI-compatible gateway routing

phi-2-3b is a Fireworks AI chat model in the Ferro Labs live catalog with a 2K tokens context window, 2K tokens maximum output, and capabilities including Streaming.

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

Capabilities

  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from Fireworks AI

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