Compare

Deepseek Coder 1b Base vs GLM 5

Pricing is only the shared seller matrix below. Best rates and catalog map are separate sections, so no chart is embedded in pricing. Open the calculator for the same workload on each side.

Deepseek

Model

Deepseek Coder 1b Base

Best $0.100 in · $0.100 out

Context window 16K

Pricing
Z Ai

Model

GLM 5

Tool calling

Best $0.600 in · $2.08 out

Context window 203K

Pricing

Deepseek Coder 1b Base is cheaper across the board — 90% cheaper on input and 96% cheaper on output.

Pricing matrix

Shared sellers only. Each row is a host that lists both models. Dollar amounts are per 1M tokens. Lowest in each pair of columns is emphasized.

ProviderDeepseek Coder 1b Base inDeepseek Coder 1b Base outGLM 5 inGLM 5 out
BasetenN/AN/A$0.950$3.15
Fireworks AI$0.100$0.100N/AN/A
OpenrouterN/AN/A$0.720$2.30
Z AiN/AN/A$1.00$3.20

Best listed rates (this pair)

Same "best row in current pricing" logic as model pages: a compact view of the lowest input and output we show for each side. This is not the seller matrix.

Catalog map · Deepseek · Z Ai

Each chart uses real catalog rows that include both list input and list output ($/1M). Larger green dots are the models on this comparison page; accent dots are other active models from that provider.

Deepseek · input vs output

Scatter chart: X = input $/M, Y = output $/M. This page's models are labeled on the green dots; hover others for detail.

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

Z Ai · input vs output

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

Specifications

Each column header is the full model name. Tint marks the favorable value where we compute a winner.

Spec
Deepseek Coder 1b Base
GLM 5
Context window
16,384 tokens
202,752 tokens
Max output tokens
16,384 tokens
128,000 tokens
Vision
No
No
Function calling
No
Yes
Streaming
No
No
Release date
N/A
Feb 2026

Cost calculator

Same requests, input tokens, and output tokens for both columns. Pick the provider row that matches how you buy.

Deepseek Coder 1b Base
Monthly
$45
Annual
$548
GLM 5
Monthly
$492
Annual
$6.0K
Save $447/month with Deepseek Coder 1b Base

When to pick which

Short takeaways: no cards, just the points. Validate with your own workloads.

  • Long-context tasks

    Use GLM 5. Its 202K context window handles large codebases and documents better than 16K.

  • High-volume text generation

    Use Deepseek Coder 1b Base. Output tokens are 96% cheaper, which compounds significantly at scale.

  • Long output (reports, code files)

    Use GLM 5. Its 128K max output limit reduces the need to split requests.

Frequently asked questions

Deepseek Coder 1b Base is cheaper on both input and output tokens.

More comparisons

Other popular head-to-head matchups.