uttapen

DeepSeek V4 Flash Latest vs Command R7B (12-2024)

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.

FeatureDeepSeek V4 Flash LatestCommand R7B (12-2024)
ProviderDeepSeekCohere
Model id~deepseek/deepseek-v4-flash-latestcohere/command-r7b-12-2024
Context1,310,720 tokens128,000 tokens
Max output393,216 tokens4,000 tokens
Input / 1M tokens14,506 toman10,880 toman
Output / 1M tokens46,420 toman43,519 toman
≈ one 1,000-word request79 toman71 toman
Input caching3,772 toman / 1MNo
Image inputNoNo
File inputNoNo
Tool callingYesNo
JSON outputYesYes
Reasoning modeYesNo

Which one for what?

DeepSeek V4 Flash Latest

  • 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
79 toman per 1,000 words · Model page

Command R7B (12-2024)

  • High-volume work where cost per call decides
71 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": "~deepseek/deepseek-v4-flash-latest",
    "messages": [{"role": "user", "content": "Introduce yourself in one sentence."}],
    "stream": true
  }'

model = "cohere/command-r7b-12-2024"

More comparisons: all pairs · model rankings · full catalogue

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