Skip to content
Rapid Router
← All models

Phi 3 Medium 4K Instruct

microsoft/phi-3-medium-4k-instruct

Microsoft model · Served by DeepInfra · live on the gateway · :free available

Input / 1M
$0.140
Output / 1M
$0.140

Pricing

Input tokens$0.140 per 1M
Output tokens$0.140 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits

Make a request

curl https://rapidrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "microsoft/phi-3-medium-4k-instruct",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

Frequently asked

How do I call Phi 3 Medium 4K Instruct through an OpenAI-compatible API?

Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to microsoft/phi-3-medium-4k-instruct. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.

Is there a free version of Phi 3 Medium 4K Instruct?

Yes. Call microsoft/phi-3-medium-4k-instruct:free and the request is paid for from Rapid Router's sponsored daily pool, within the free tier's daily request limit.

More Phi models