Skip to content

Azure AI Foundry ยท chat

Phi-4 (Azure AI Foundry)

azure_foundry/phi-4

Input price
Not listed
Output price
Not listed
Context window
16K tokens
Lifecycle
stable

Phi-4 (Azure AI Foundry) for OpenAI-compatible gateway routing

Phi-4 (Azure AI Foundry) is a Azure AI Foundry chat model in the Ferro Labs live catalog with a 16K tokens context window, 4K tokens 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 azure_foundry/phi-4 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": "azure_foundry/phi-4", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Function Calling
  • JSON Mode
  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from Azure AI Foundry

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