Models / Microsoft

phi-4

Open weights · MITby MicrosoftReleased Dec 11, 2024

phi-4 is made by Microsoft. It takes text in and answers in text, with a context window of 16,384 tokens.

Start using phi-4 in 3 steps

Read the docs
  1. Get an API keyFree to create. It works for every model in the catalogue.Get an API key
  2. Add creditsPay as you go. Credits work on every model.Add credits
  3. Point your client at TīrthaAny OpenAI-compatible client works. Use your key and this base URL, and name the model.
    base_url: "https://api.tirtha.ai/v1" api_key: "YOUR_TIRTHA_KEY" model: "catalog/phi-4"

At a glance

MakerMicrosoft
Acceptstext
Context16,384 tokens
Max output16,384 tokens
LicenceMIT
ReleasedDec 11, 2024

Tested on Tīrtha Bench

Not on the public set yet: we have not run phi-4 on the public 800-task tool-call set. The bench shows every model we have run so far.

What it supports

From the maker

Facts here are read from the maker's published card; claims and benchmarks on that card are the maker's own, not measured by Tīrtha.

Licence

Weights: MIT. Read the licence.