Model reference · open weights

TinyLlama

TinyLlama is an open-weight language model from TinyLlama, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

LLMs TinyLlama 1 variants 1.9M downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What TinyLlama is

TinyLlama-1.1B https://github.com/jzhang38/TinyLlama The TinyLlama project aims to pretrain a 1.1B Llama model on 3 trillion tokens. With some proper optimization, we can achieve this within a span of "just" 90 days using 16 A100-40G GPUs 🚀🚀. The training has started on 2023-09-01. We adopted exactly the same architecture and tokenizer as Llama 2. This means TinyLlama can be plugged and played in many open-source projects built upon Llama. Besides, TinyLlama is compact with only 1.1B parameters. This compactness allows it to cater to a multitude of applications demanding a restricted computation and memory footprint. This Model This is the chat model finetuned on top of TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T. We follow HF's Zephyr's training recipe. The model was " initially fine-tuned on a variant of the UltraChat dataset, which contains a diverse range of synthetic dialogues generated by ChatGPT. We then further aligned the model with 🤗 TRL's DPOTrainer on the openbmb/UltraFeedback dataset, which contain 64k prompts and model completions that are ranked by GPT-4." How to use You will need the transformers=4.34 Do check the TinyLlama github page for more information.

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

MakerTinyLlama
TypeLanguage models
Parameters (lead)1.1B
Context2k tokens
Variants1
Runs withtransformers
Released2023-12-30
Popularity1.9M downloads / month
Likes1,755
LicenceOpen weights

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
TinyLlama-1.1B-Chat-v1.01.1BBF16~2.5 GBWeights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys tinyllama for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (tinyllama below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"tinyllama","messages":[{"role":"user","content":"Hello"}]}'

Details

Languages, data & research

Languages

en

Trained / evaluated on

cerebras/SlimPajama-627B bigcode/starcoderdata HuggingFaceH4/ultrachat_200k HuggingFaceH4/ultrafeedback_binarized

Tags

transformers safetensors llama text-generation conversational en dataset:cerebras/SlimPajama-627B dataset:bigcode/starcoderdata dataset:HuggingFaceH4/ultrachat_200k dataset:HuggingFaceH4/ultrafeedback_binarized text-generation-inference endpoints_compatible deploy:sagemaker deploy:azure

Licence

Open weights

Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want TinyLlama on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More language models

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms