Phi-3 Mini 128K
Advancing the state-of-the-art in AI and computing.
Cheapest of 5 routes · Fireworks AI
About
Phi-3 Mini-128K-Instruct, developed by Microsoft, is a 3.8 billion-parameter large language model renowned for its lightweight, open-source architecture. Despite its modest size, it excels in reasoning tasks, particularly in math and logic, and showcases strong code generation capabilities. A standout feature is its remarkable ability to handle up to 128,000 tokens, allowing it to process extensive text documents and codebases efficiently. While it has limitations in factual knowledge and focuses primarily on English, it strikes a balance between performance and efficiency, making it ideal for resource-constrained environments.
Top use-case fit: coding, agents, and build tasks
Coding
Q/$ AClassification
Q/$ BProvider price ladder
Compare all 5Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Fireworks AI | $0.100 | $0.100 | Provisioned |
| Replicate API | $0.050 | $0.250 | Serverless |
| Microsoft Foundry | $0.300 | $0.900 | ServerlessProvisioned |
| Baseten API | - | - | ServerlessPartial |
Available via routers & gateways(7)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
Azure AI Foundry Model Router
RouterMicrosoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Capabilities
No model capability flags are currently sourced.
Benchmark peer barsfor Coding
Benchmark scores(7)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| Google-Proof Q&A | 50.8 | diamondObserved 2026-03-06 | — | Source |
| HellaSwag | 90.2 | 10-shotObserved 2026-03-06 | — | Source |
| HumanEval | 75.9 | pass@1Observed 2026-03-06 | — | Source |
| Massive Multitask Language Understanding | 76.5 | 5-shotObserved 2026-03-06 | — | Source |
| MMLU PRO | 43.9 | —Observed 2026-04-14 | — | Source |
| Grade School Math 8K | 84.9 | —Observed 2026-05-28 | — | Source |
| AI2 Reasoning Challenge | 78.6 | —Observed 2026-05-28 | — | Source |
Migration checks
No linked migration route is available for this model yet.
Advancing the state-of-the-art in AI and computing.
Cheapest of 5 routes · Fireworks AI