DeepSeek R1 Is Now Available on Azure AI Foundry and GitHub
azure.microsoft.com
azure.microsoft.com
I have tried it on "Azure AI foundry" through their serverless API with a paid subscription.
It takes 80s to answer a basic question that was answered in 7s by OpenAI gpt-4o. And there was not that much thought process, it was just super slow to output each token.
I guess this slowness is explained by the pricing, they are still figuring out how to run the inference for this model:
> DeepSeek R1 use is currently priced at $0, and use is subject to rate limits which may change at any time. Pricing may change, and your continued use will be subject to the new price. The model is in preview; a new deployment may be required for continued use.
There is also a hard limitation of 4k tokens as input context (context window on DeepSeek model is 120k tokens), which prevents using it for RAG use-cases:
> Message: Request body too large for deepseek-r1 model. Max size: 4000 tokens.
Also the documentation and python type hints of their inference lib have a lot of straight up errors in it (they are confusing the class attributes `model=` and `model_name=` at many places in the docs, spoiler: the good one to use is `model_name=`, even if the type hints recommend to use `model=`).
I have also tried with more stable models like Mistral Large, but the streaming feeling is really bad, they are sending whole sentences at a time, with multiple seconds of wait between each sentence. Does not feel smooth at all compared to any other provider out there.
Would not recommend Azure AI foundry for production use (or any use to be honest). Does not worth the pain to navigate the documentation. We will be using directly DeepSeek API, or fireworks.ai, or together.ai.
r1 api can spit out 63 tokens per second
~143 billion lifetime tokens.
~$313 million for a lifetime supply of tokens.
For my use, it is better than $20 a month o1 and being able to see the chain of thought is absolutely incredible.
I have learned as much this week from seeing the chain of thought as I have from what it actually outputs.
Yes, but the keep thing is it performs nearly as well as models that are 100x as expensive.
The lower price drastically changes possible utility. For example, I've been rocking RooCode since R1 came out. R1 can do about 95% of the tasks Claude can, but at 1% of the cost. I might burn $10 to $20 per hour on Claude tokens. While spending less than $1 on Deepseek when doing the same task.
This is news, because Microsoft seems happy to not be tied to OpenAI so heavily.
This could also safe a huge amount of money for their Office 365 Copilot initiative.
I figure Microsoft started analyzing these models ASAP in their labs to catch up with OpenAI, Google, Anthropic etc.
By also hosting this model, they will help normalize the use of them from which they immensely benefit.
So it'd take a minute or two to type out one of those answers where it's got about 4 or 5 beefy paragraphs of thought and a decent sized paragraph for it's answer. I'll put it this way, I can type 120 WPM and it puts out text a bit faster than I could write it.
Input's a LOT faster though, I was asking these models to analyze a document so my input was like 2200 tokens, they all did well over 100 tokens a second on input.
I'm trying to square the excitement over DeepSeek with its good -but not dominant- performance in evals.
The excitement is probably a bit much but it's not just about the eval results themselves but the baggaged attached with them.
I was planning on spending the $200 for a month but had been thinking of prompts to try it out.
DeepSeek already answered them all for free so I am not just going to light $200 on fire for fun.
Also R1 (and its distilled models) expose their CoT & web interface has a websearch option too.
With the 14b distilled models, I found multiple math-related prompts where it gives the right answers almost immediately but then wastes 10 minutes making self-verification mistakes (e.g. "Write Python3 code that computes the modular inverse of a mod 2^32")
- Single digit TPS on rare chance it responds, and frequent complete hangs (1 out of maybe 20 requests even complete)
- 4k input token cap (vs native 128k context window)
- No pricing
- Unstated rate limits
It genuinely seems like they spun up a single H100 cluster to enable the headline of this post and help form a narrative then left it at that. Definitely not meant to genuinely provide access to R1 in any serious way.
Is there a free version of DeepSeek R1 that's completely US based, so we're not sending data to China? I guess you can use this to deploy it, but I'm asking for an application that would be safer to use if you're concerned about Chinese influence.
`ollama run deepseek-r1:671b`
will do that
You mean $100k in GPUs?
Granted, that's still expensive, but it is within the realm of something a hobbyist could put together.
(I work at Microsoft but am not on the clock as I write this, and keep my personal projects separate)