Skip to content

Z-Code vs Phi-4

Z-Code is cheaper on output tokens, while Z-Code offers a larger context window. Choose Z-Code or Phi-4 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecZ-CodePhi-4
ProviderZeldocAzure
Input / 1M tokens$0.00$0.13
Output / 1M tokens$0.00$0.50
Context window262K128K
Parameters
Open weightsNoYes
ReleasedApr 2026Dec 2024

FAQ

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.