LLM Inference Speed Benchmarks on 876 AWS Instance Types

We benchmarked 2,000+ cloud server options (precisely 876 at AWS so far) for LLM inference speed, covering both prompt processing and text generation across six models and 16-32k token lengths … so you don’t have to spend the $10k yourself :blush:

The related design decisions, technical details, and results are now live in the linked blog post, along with references to the full dataset – which is also public and free to use :clinking_beer_mugs:

I’m eager to receive any feedback, questions, or issue reports regarding the methodology or results! :folded_hands:


Related discussions:

Bookmarking this

That’s pretty good feedback, thank you u/__lost__star :blush:

The fact that there are 876 instance types is somehow depressing.

Wow, fantastic work. Inspiring and useful.

Still prefer it Azures naming system

Actually, we track 922 instance types at AWS, but we were not able to run the LLM benchmarks on all: 46 instance types were missed due to a low amount of memory to load even the smallest LLM, or unsupported CPU architecture (e.g. i386), or quota limits :zipper_mouth_face:

Thanks so much, u/totheendandbackagain :person_bowing:

Have you considered using ModernBert or DeBerta instead of that small llm? We had a recent study that showed how easy it was get very good results using these transformer models with just a little bit of training.

I’m not sure if I get your question right, but this benchmarking effort was to check on LLM inference speed specifically. We have not considered using encoder-only models. On the other hand, we evaluated six LLMs on the servers: from the indeed small 135M params up to 70B.

Doing god’s work. Bless you