LLM Reference
Microsoft Foundry

Phi-1.5 on Microsoft Foundry

Phi-1 · Microsoft Research

ProvisionedOpen Source

Last refreshed 2026-05-19. Next refresh: weekly.

Why use Phi-1.5 on Microsoft Foundry?

Microsoft Foundry offers Phi-1.5 with pay-as-you-go pricing at $0.07/1M input tokens. Microsoft Foundry is a unified Azure platform-as-a-service offering for enterprise AI operations, model builders, and application development.

Input / 1M
$0.070
Output / 1M
$0.070
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: phi-1.5
Model ID
phi-1.5

Request example

Curated snippets for this provider are not sourced yet. Use Microsoft Foundry documentation with model ID phi-1.5.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Pricing

TypePrice (per 1M)
Input tokens$0.07
Output tokens$0.07

Capabilities

No model capability flags are currently sourced.

About Phi-1.5

Phi-1.5 is a 1.3-billion parameter large language model (LLM) developed by Microsoft, designed to excel in complex reasoning tasks, particularly those requiring common sense, language understanding, and logical reasoning. Unlike many LLMs that heavily depend on web-scraped data, Phi-1.5 primarily uses a high-quality, synthetic dataset comprising about 30 billion tokens. This dataset is curated to resemble "textbook-like" content, concentrating on common sense and general knowledge, and sets the model apart. The Phi-1.5 architecture is a standard Transformer with 24 layers, 32 heads, and a head dimension of 64. It incorporates rotary embeddings and flash-attention for efficiency, utilizing a codegen-mono tokenizer. This model demonstrates impressive performance on various natural language benchmarks, rivaling models five times its size, with notable strengths in multi-step reasoning tasks, such as math word problems and coding challenges. However, Phi-1.5's capabilities are not without limitations, as it may produce inaccurate code or facts and is sensitive to prompt variations. The model's training leverages several data sources, with variations like Phi-1.5-web-only and Phi-1.5-web, providing insights into the impact of different datasets on performance.

FAQ

What does Phi-1.5 cost on Microsoft Foundry?

On Microsoft Foundry, Phi-1.5 costs $0.07 per 1M input tokens and $0.07 per 1M output tokens.

What is the context window for Phi-1.5 on Microsoft Foundry?

Phi-1.5 supports a 2k token context window on Microsoft Foundry.

Who created Phi-1.5?

Phi-1.5 was created by Microsoft Research as part of the Phi-1 model family.

Is Phi-1.5 open source?

Phi-1.5 is open source according to the seed data.

Get Started

Model Specs

Released2023-09-11
Parameters1.3B
Context2k
ArchitectureDecoder Only