← All models
Phi 4
Microsoft Research Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. 16,384 token context window, maximum output of 16,384 tokens. Includes independent benchmarks from Artificial Analysis.
chatstreamingjson mode
Details
- Accepts
- text
- Context window
- 16K tokens
Pricing
- Input
- 8.75 cr / 1M tokens
- Output
- 17.5 cr / 1M tokens
Prices in credits (1 credit = $0.01).
Data schema
approximateInput
| Field | Type | Description |
|---|---|---|
| promptrequired | string | The text prompt. |
Output
| Field | Type | Description |
|---|---|---|
| text | string | Generated text (choices[0].message.content). |