compare/Deepseek-Math-7b-InstructvsDeepseek-Coder-6.7b-Base-Awq

Deepseek-Math-7b-Instruct vs Deepseek-Coder-6.7b-Base-Awq

Pricing, context window, capabilities, and release date — pulled from each provider's public docs. Both are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.

RUN BOTH LIVE

Paste a prompt. Watch them race.

Both models stream in parallel through your own AIgateway key. Tokens, latency, and cost update as they arrive.

Sign in to runLive streaming uses your own key. It's free to sign up.
 Deepseek-Math-7b-Instruct
deepseek/deepseek-math-7b-instruct
Deepseek-Coder-6.7b-Base-Awq
hf/thebloke/deepseek-coder-6.7b-base-awq
ProviderDeepSeekHugging Face
FamilyDeepSeekDeepSeek
Modalitytexttext
Context window4,096 tok4,096 tok
Max output4,096 tok4,096 tok
Released2024-02-272023-11-03
Input price$0.050 /1M
Output price$0.100 /1M
Cache read
Tools
Streamingyesyes
Vision
JSON mode
Reasoning
Prompt caching
Deepseek-Math-7b-Instruct
deepseek/deepseek-math-7b-instruct
Full spec →

DeepSeekMath-Instruct 7B is a mathematically instructed tuning model derived from DeepSeekMath-Base 7B. DeepSeekMath is initialized with DeepSeek-Coder-v1.5 7B and continues pre-training on math-related tokens sourced from Common Crawl, together with natural language and code data for 500B tokens.

Strengths
  • General-purpose chat
  • Open-weight
Deepseek-Coder-6.7b-Base-Awq
hf/thebloke/deepseek-coder-6.7b-base-awq
Full spec →

Deepseek Coder is composed of a series of code language models, each trained from scratch on 2T tokens, with a composition of 87% code and 13% natural language in both English and Chinese.

Strengths
  • General-purpose chat
  • Long context
  • Tool use
SWITCH BETWEEN THEM

One key, both models, one line different.

# pip install aigateway-py openai
# aigateway-py: sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK: chat/embeddings/images/audio — drop-in compat per our SDK's own guidance.
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

# Try Deepseek-Math-7b-Instruct
client.chat.completions.create(
    model="deepseek/deepseek-math-7b-instruct",
    messages=[{"role":"user","content":"hello"}],
)

# Try Deepseek-Coder-6.7b-Base-Awq — same client, same key
client.chat.completions.create(
    model="hf/thebloke/deepseek-coder-6.7b-base-awq",
    messages=[{"role":"user","content":"hello"}],
)
Get an AIgateway keyAdd a third model

Compare with another

Deepseek-Math-7b-Instruct vs Deepseek-Coder-6.7b-Instruct-Awq
deepseek/deepseek-math-7b-instruct · hf/thebloke/deepseek-coder-6.7b-instruct-awq
Deepseek-Coder-6.7b-Base-Awq vs Deepseek-Coder-6.7b-Instruct-Awq
hf/thebloke/deepseek-coder-6.7b-base-awq · hf/thebloke/deepseek-coder-6.7b-instruct-awq