Phi-4 is a 14B-parameter model from Microsoft Research, designed for complex reasoning tasks and efficient operation in low-memory or rapid-response scenarios. Trained on a mix of high-quality synthetic and curated data, it is optimized for English language inputs and demonstrates strong instruction following and safety standards.
$0.028market price $0.056
$0.056market price $0.112
Throughput is how fast the model writes (tokens per second, higher is better). Time to first token is how long before the answer starts (lower is better).
Share of requests served without a server error. Client errors (4xx) do not count.
Not enough throughput data
Not enough TTFT data
Works with the OpenAI SDK pointed at our base URL. Every parameter is in the API reference.
Tokens processed per day on NagaAI.
Phi-4 is a 14B-parameter model from Microsoft Research, designed for complex reasoning tasks and efficient operation in low-memory or rapid-response scenarios.
On NagaAI, Phi-4 costs $0.028 per 1M input tokens and $0.056 per 1M output tokens. You pay only for what you use, with no subscription.
Phi-4 reads up to 16.4k tokens in one request, counting the prompt and the answer together.
Yes. Phi-4 can call your functions as tools and can answer in a JSON schema you give it.
It takes text as input and returns text.
Create an API key, copy the model ID from the top of this page and send requests with the OpenAI or Anthropic SDK pointed at NagaAI. The API section on this page has a ready example.