{"data":{"id":"deepinfra/microsoft/phi-4","provider_id":"deepinfra","name":"microsoft/phi-4","modalities":["text"],"context_window":16384,"family":"phi-4","status":"active","description":"Phi-4 is a model built upon a blend of synthetic datasets, data from filtered public domain websites, and acquired academic books and Q&A datasets. The goal of this approach was to ensure that small capable models were trained with data focused on high quality and advanced reasoning.","architecture":null,"supported_parameters":["chat"],"created_at":null,"canonical_slug":"microsoft/phi-4","catalog_source":"deepinfra","host_id":"deepinfra","host_name":"DeepInfra","creator_id":"microsoft","creator_name":"Microsoft","cheapest_provider":null,"cheapest_provider_name":null,"cheapest_price":null,"savings_pct":null,"savings_basis":null,"provider":{"id":"deepinfra","name":"DeepInfra","website":"https://deepinfra.com","categories":["text","image","audio","video"],"docs_url":"https://deepinfra.com/pricing","notes":"Secondary live feed from DeepInfra's public models API. Prices are DeepInfra's rates, not the origin lab's. Does not block the OpenRouter sync.","role":"host"},"prices":[{"id":60264,"model_id":"deepinfra/microsoft/phi-4","unit":"token","input_per_1m_usd":0.07,"output_per_1m_usd":0.14,"flat_usd":null,"currency":"USD","effective_at":"2026-10-08","source_url":"https://deepinfra.com/microsoft/phi-4","notes":"DeepInfra public models API. Token and character rates are already USD per 1M. Per-image and per-second rates are stored as flat USD. Discount, when present, is not applied.","last_verified_at":"2026-10-08T17:11:32.756Z","source":"deepinfra","confidence":"official","cache_read_per_1m_usd":null,"cache_write_per_1m_usd":null,"cache_write_1h_per_1m_usd":null,"pricing_detail":null,"long_context_override":false}]}}