LLaMA-Mesh
LLaMAFeaturedOthertext

LLaMA-Mesh

Updated Jun 7, 2026
Parameters
8B
Context
8,192
License
Other
Updated
Jun 7, 2026

Will it run on your hardware?

Pick your GPU memory - see which quantizations fit, and the cheapest card for the rest

Runs on your 24 GB - best at Q4_K_M
1 of 1 quantizations fit LLaMA-Mesh with real runtime overhead.
Q4_K_M
4.6 GB
fits tight too big

Need an exact figure for your context length? Use the VRAM calculator.

Run it locally

Copy-paste - running in under a minute

vLLMOpenAI-compatible API
vllm serve bartowski/LLaMA-Mesh-GGUF

New to this? Start with Ollama · serve to many users with vLLM.

Deep dive

Notes, sources, and the full write-up

LLaMA-Mesh

LLaMA-Mesh is a groundbreaking text-to-3D generation model. Based on LLaMA architecture, it generates 3D mesh models (OBJ format) directly from text descriptions - no separate renderer needed. At just 8B parameters with GGUF quantization, it runs on consumer GPUs.

How it works

LLaMA-Mesh fine-tuned LLaMA to output 3D mesh vertices and faces as text tokens, enabling the model to generate complete 3D meshes directly in a single forward pass.

Usage

from transformers import AutoTokenizer, AutoModelForCausalLM
 
tokenizer = AutoTokenizer.from_pretrained("Zengyi/LLaMA-Mesh")
model = AutoModelForCausalLM.from_pretrained("Zengyi/LLaMA-Mesh")
 
prompt = "A 3D model of a racing car"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=2000)
 
mesh_obj = tokenizer.decode(outputs[0])
# Save as .obj file
with open("output.obj", "w") as f:
    f.write(mesh_obj)

When to use

  • Game development - quick 3D asset prototyping
  • 3D printing - generate printable models
  • Architecture - concept modeling
  • E-commerce - product visualization
  • Education - 3D geometry exploration

Limitations

  • Mesh quality improves with prompt engineering
  • Complex scenes may need refinement
  • Output resolution limited by context window

Frequently asked

Quick answers to common questions

How much VRAM does LLaMA-Mesh need?

LLaMA-Mesh with 8B parameters needs significant VRAM depending on quantization. Use our VRAM calculator for an exact estimate.

Is LLaMA-Mesh better than other LLaMA models?

LLaMA-Mesh has 8B parameters with 8,192 context - a strong choice for text-to-3d, mesh-generation.

What license is LLaMA-Mesh under?

LLaMA-Mesh is released under the Other license, making it suitable for most commercial and personal projects.

What hardware runs LLaMA-Mesh well?

With 8B parameters, LLaMA-Mesh requires adequate VRAM. High-end GPUs like the RTX 4090 (24GB), RTX 5090 (32GB), or Mac Studio with unified memory are good options. Check our hardware directory for specific recommendations.

What is the best quantization for LLaMA-Mesh?

Q4_K_M is the recommended sweet spot - ~98% of FP16 quality at ~27% of the size. Step up to Q5_K_M or Q8_0 only if you have spare VRAM. Use our VRAM calculator to compare.

What models compete with LLaMA-Mesh?

LLaMA-Mesh competes with other models in its class. Browse our model directory for comparisons, benchmarks, and community reviews to find the best fit.

Compare & pair with

Similar models and recommended hardware

Recommended hardware

Nearby options

Similar models and compatible hardware by spec

Comments coming soon

Configure NEXT_PUBLIC_GISCUS_REPO_ID and NEXT_PUBLIC_GISCUS_CATEGORY_ID at giscus.app to enable.