trnrt

RunanywhereAI

An open inference engine for large language models on AWS Trainium chips from RunAnywhere, using custom NKI megakernels to serve an OpenAI-compatible API with up to a million tokens of context from one instance.

PythonCreated

What is RunanywhereAI/trnrt?

TrnRT is an open LLM inference engine for AWS Trainium, built by RunAnywhere. The README says GLM-5.3-Flash is the first supported model and that more open models are on the way. The project is aimed at serving models on Trainium hardware rather than on GPUs, and the README links to a blog post about the work.

The README reports results on the InferenceX AgentX benchmark, which replays real coding-agent sessions. It compares one engine on eight Trainium2 chips with 8-GPU H200 and H100 nodes. Trainium comes out ahead on tokens per dollar up to 16 concurrent users, and the H200 comes out ahead at 24 and 32 users. The README also states where the Trainium setup is slower per user, and costs use AWS Capacity Block list prices.

It suits engineers evaluating inference costs on AWS, and teams that want to weigh Trainium against GPU serving using the published numbers.

awsglminferencellmllm-servingmegakernelsneuronnki