uttapen

Llama Guard 4 12B vs Ling 3.0 Flash Fin

Both sit behind the same key and the same code on uttapen — the only thing that changes is the model string, so you can run each of them against your own workload without touching anything else. On cost, Ling 3.0 Flash Fin comes out about 1.5× cheaper.

FeatureLlama Guard 4 12BLing 3.0 Flash Fin
ProviderMetainclusionAI
Model idmeta-llama/llama-guard-4-12binclusionai/ling-3.0-flash-fin
Context163,840 tokens262,144 tokens
Max output16,384 tokens235,929 tokens
Input / 1M tokens52,223 toman17,408 toman
Output / 1M tokens52,223 toman52,223 toman
≈ one 1,000-word request136 toman91 toman
Input cachingNo3,482 toman / 1M
Image inputYesNo
File inputNoNo
Tool callingNoYes
JSON outputYesYes
Reasoning modeNoYes

Which one for what?

Llama Guard 4 12B

  • Reading screenshots, invoices, and scanned forms
  • High-volume work where cost per call decides
136 toman per 1,000 words · Model page

Ling 3.0 Flash Fin

  • Multi-step problems, maths, and tracking down a bug
  • Whole documents or a codebase in a single request
  • Agents that call your own APIs and database
  • High-volume work where cost per call decides
91 toman per 1,000 words · Model page

Run both with the same code

Swap the model value between the two ids and send the same request twice; what each answer cost comes back in the X-Uttapen-Cost-Toman header.

curl https://api.uttapen.ir/v1/chat/completions \
  -H "Authorization: Bearer sk-up-…" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/llama-guard-4-12b",
    "messages": [{"role": "user", "content": "Introduce yourself in one sentence."}],
    "stream": true
  }'

model = "inclusionai/ling-3.0-flash-fin"

More comparisons: all pairs · model rankings · full catalogue

base_url = https://api.uttapen.ir/v1