phi-2
transformerssafetensorsphitext-generationnlpcodeenlicense:mittext-generation-inferenceendpoints_compatibledeploy:sagemakerdeploy:azureregion:us
Contexto
2,048 tokens
Output máx
1,024 tokens
Lançado
13/12/2023
Provedores
1
Overview
phi-2 is a large language model developed by Microsoft. It supports 2,048 tokens context and is available through 1 API provider(s).
Key Highlights
- Unknown / Not disclosed
Brand
Microsoft
Organization
País: USA
View all models, pricing and details from Microsoft.
Specifications
Basic Information
| Modelo | phi-2 |
| Marca | Microsoft |
| Version | 2 |
| Model Type | transformers |
| Status | stable |
| Lançado | 13/12/2023 |
| Popularidade | 763042 |
Architecture
| Parameter Size | 2.8B |
| Architecture Type | phi |
| Attention Mechanism | causal-mha |
| Tokenizer | Unknown / Not disclosed |
| Vocabulary Size | Unknown / Not disclosed |
Context & I/O
| Contexto | 2,048 tokens |
| Output máx | 1,024 tokens |
| Modalities | Unknown / Not disclosed |
| Languages | en |
Capabilities
| Vision | No |
| Audio | No |
| Reasoning | No |
| Function Call | No |
| MCP | No |
| JSON Mode | No |
| Embedding | No |
Training Data
| Training Dataset | Unknown / Not disclosed |
| Estimated Data Size | Unknown / Not disclosed |
| Knowledge Cutoff | Unknown / Not disclosed |
Inference & Deployment
| API Access | Yes |
| VRAM Estimate | Unknown / Not disclosed |
| Quantization Support | Unknown / Not disclosed |
| Hardware Requirements | Unknown / Not disclosed |
Safety & Compliance
| Safety Evaluations | Unknown / Not disclosed |
| Content Policy | Unknown / Not disclosed |
| Region Restrictions | Unknown / Not disclosed |
License & Pricing
| License | mit |
| Commercial Use | Unknown / Not disclosed |
| Open Source | Yes |
Provider & Pricing
| Provedor | Input | Output | Cache | Batch | Website |
|---|---|---|---|---|---|
| microsoft | 0,000 €/1M | 0,000 €/1M | - | - | Visitar website |
Alterações de preço
Nenhuma alteração de preço registrada.
Benchmarks
No benchmark data available.
Changelog
- Page created / data imported23/09/2026
- Last updated23/09/2026
FAQ
What is phi-2?
phi-2 is a large language model developed by Microsoft.
Who developed phi-2?
phi-2 was developed by Microsoft. You can learn more on the brand page or official website.
What is the context length of phi-2?
phi-2 supports up to 2,048 tokens of context.
How much does phi-2 API cost?
API pricing for phi-2 starts at 0,000 €/1M per 1M input tokens and 0,000 €/1M per 1M output tokens. See the pricing table above for provider-specific rates.