impulse

Ernie 4.5 21B A3B Pt

API id ernie-4p5-21b-a3b-pt
Input / 1M
$0.10
at Fireworks AI
Output / 1M
$0.10
at Fireworks AI
Context window
131K
tokens
Max output
4K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at Fireworks AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.10$0.10

What it costs a month

At Fireworks AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$37.50
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$51.60
  • Coding agent1,000 requests a day, 40K in / 2K out$126
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$264
Use your own numbers

Where to run it

1 host serve Ernie 4.5 21B A3B Pt. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Fireworks AIInference
ernie-4p5-21b-a3b-pt
$0.10 / $0.10

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Fireworks AI.

Smaller Independent models

No cheaper Independent model keeps its key capabilities.

Other frontier labs

No cheaper match from another frontier lab.

Open-weight picks

  • GLM 5.3 Flash
    Zhipu AI · on CLF AI Gateway
    $0.06 / $0.20
    Has every key capability
    5% less
  • Ling 3.0 Flash
    Independent · on DeepInfra
    $0.06 / $0.18
    Has every key capability
    10% less
  • Nemotron 3 Nano 30B A3B
    NVIDIA · on DeepInfra
    $0.05 / $0.20
    Has every key capability
    13% less
  • Granite 4.2 8B
    IBM · on W&B Inference
    $0.06 / $0.15
    Has every key capability
    18% less

Call it

Using Fireworks AI's API.

Python
from litellm import completion

response = completion(
    model="fireworks_ai/ernie-4p5-21b-a3b-pt",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Ernie 4.5 21B A3B Pt cost?

On Fireworks AI, Ernie 4.5 21B A3B Pt costs $0.10 per million input tokens and $0.10 per million output tokens.

Which APIs offer Ernie 4.5 21B A3B Pt?

Ernie 4.5 21B A3B Pt runs on 1 API: Fireworks AI.

What is Ernie 4.5 21B A3B Pt's context window?

131K tokens, with up to 4K tokens in one reply.

Is Ernie 4.5 21B A3B Pt being retired?

No retirement date is scheduled for it on any API we track.

What are cheaper alternatives to Ernie 4.5 21B A3B Pt?

Models that cost less and keep most of what it can do: GLM 5.3 Flash on CLF AI Gateway (5% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Ernie 4.5 21B A3B Pt's API model id?

Use ernie-4p5-21b-a3b-pt with Fireworks AI.

Sources

Raw catalog entry for ernie-4p5-21b-a3b-pt on Fireworks AI
{
  "max_input_tokens": 131072,
  "max_output_tokens": 4096,
  "input_cost_per_token": 1e-7,
  "output_cost_per_token": 1e-7,
  "litellm_provider": "fireworks_ai",
  "mode": "chat"
}