LLM ReferenceLLM Reference
Fireworks AI

Phi-3 Vision on Fireworks AI

Phi-3 · Microsoft Research

ServerlessOpen Source

Last refreshed 2026-04-15. Next refresh: weekly.

Why use Phi-3 Vision on Fireworks AI?

Fireworks AI offers Phi-3 Vision with pay-as-you-go pricing at $0.20/1M input tokens. Fireworks AI offers a generative AI platform as a service, focusing on rapid product iteration and cost-efficient AI deployment.

Compare Phi-3 Vision across 3 providers to find the best fit for your use case
Input / 1M
$0.20
Output / 1M
$0.20
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export FIREWORKS_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["FIREWORKS_API_KEY"],
Model ID
phi-3-vision

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["FIREWORKS_API_KEY"],
    base_url="https://api.fireworks.ai/inference/v1"
)
response = client.chat.completions.create(
    model="phi-3-vision",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Fireworks model IDs use "accounts/fireworks/models/{model-name}" format, e.g. "accounts/fireworks/models/llama4-scout-instruct-basic" or "accounts/fireworks/models/deepseek-r1".
  • The examples expect FIREWORKS_API_KEY; rename it only if your application config maps the new variable.

Compare Phi-3 Vision Across Providers

ProviderInput (per 1M)Output (per 1M)
Microsoft Foundry$0.28$0.84
Fireworks AI$0.20$0.20
NVIDIA NIM

Pricing

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

Capabilities

Vision

About Phi-3 Vision

Phi-3 Vision is a sophisticated multimodal AI model from Microsoft, designed to adeptly integrate language and vision capabilities. Unlike traditional language models, it processes both text and images and can perform tasks such as optical character recognition, chart analysis, and image interpretation. Its architecture features an image encoder, a text-image connector, a projector for mapping image features, and the Phi-3 Mini language model. Despite its relatively small size of 4.2 billion parameters, it competes with larger models and suits devices with limited computational power. Phi-3 Vision's ability to handle up to 128K tokens supports complex multimodal reasoning. It draws upon high-quality and synthetic data for training while incorporating essential safety measures.

FAQ

What does Phi-3 Vision cost on Fireworks AI?

On Fireworks AI, Phi-3 Vision costs $0.2 per 1M input tokens and $0.2 per 1M output tokens.

What is the context window for Phi-3 Vision on Fireworks AI?

Phi-3 Vision supports a 128,000 token context window on Fireworks AI.

How does Fireworks AI compare to other Phi-3 Vision providers?

Phi-3 Vision is available from 3 providers. The cheapest input pricing is $0.2/1M tokens from Fireworks AI.

Who created Phi-3 Vision?

Phi-3 Vision was created by Microsoft Research as part of the Phi-3 model family.

Is Phi-3 Vision open source?

Phi-3 Vision is open source according to the seed data.

Get Started

Model Specs

Released2024-05-21
Parameters4.2B
Context128K
ArchitectureDecoder Only

GPU-Hour Providers(1)