# Free train 3D models for three.js (GLB, CC BY)
https://paprika3d.com/docs/models/trains

24 free trains for three.js from the 170 in the paprika3d asset library (CC BY), as meshopt GLB files: each with its author, license, credit line, triangles and file size, and the asset_search call that fetches it.

**Put one in your game:** install paprika3d and your coding agent fetches any model below into your three.js project, with its credit line and the code that loads it, then opens the page and looks at the scene to check it. In Cursor, Codex or any MCP client, add the server `npx -y paprika3d serve`; in Claude Code it is a plugin, two commands on the [install page](https://paprika3d.com/docs/install?ref=models).

## What the library holds

The paprika3d asset library holds 170 trains among its 57,676 models. All of them are licensed CC BY 4.0, which asks you to credit the author wherever you use the model; each card below carries the credit line to paste.

162 of the 170 pass the library's quality checks: textured (or drawn in vertex colours, for a low-poly or voxel model), not flat, at most 15 MB, with a name, a description and a real-world height. Among those, the median model has 16,400 triangles, with the middle half between 5,830 and 41,100, and the median file is 0.25 MB, with nine in ten at most 0.9 MB. The median one stands 3.5 m tall at real size. None carries a texture over 1024 px. 9 are animated and 3 rigged. The most common styles are stylized (62), realistic (44) and low-poly (34).

**Get one of these trains into your project with one prompt.** Add paprika3d to your coding agent, then ask it for "a train locomotive model": its `asset_search` tool finds one in this library, downloads it with its credit line and writes the three.js code that loads it at real size.

```bash
npx -y paprika3d serve
```

That is the MCP server, for Cursor, Codex, VS Code, Claude Code and any other MCP client; Claude Code also has it as a plugin, with the skills. Needs Node and Google Chrome. Every agent, step by step: [Install](https://paprika3d.com/docs/install).

## Trains in a three.js scene

Trains are long, so they are built in cars: a locomotive and the coaches or wagons behind it, each its own model. To run them on a track, lay the track as a `THREE.CatmullRomCurve3` and place each car at a distance along it with `getPointAt` and `getTangentAt`, the next car one car-length further back, so the whole train bends through curves.

The realistic locomotives carry detailed undersides and bogies that the camera rarely sees; from a high view, a lighter model reads the same. Stations, signals and track pieces in the library sit at real size with the trains, so a model railway lines up without rescaling. A tram suits a city scene, a steam engine a period one; mixing the two styles looks wrong.

## Fetch one and load it

With the paprika3d plugin in Claude Code, or its MCP server in any other agent, the agent searches the library in words or picks a model by the id on its card. `pick` downloads the file into the project's `assets/` folder (`public/assets/` under vite), adds the credit line to `assets/CREDITS.md` and answers with the code that loads it at real size. Give `cwd`, the project folder, as with every paprika3d tool.

```text
asset_search {"query": "train locomotive", "cwd": "."}
asset_search {"pick": "4f6ba80449614626bd84217ec421571c", "cwd": "."}
```

Every file is a binary glTF (.glb) compressed with meshopt, so GLTFLoader needs the meshopt decoder that ships with three.js. The origin sits at the bottom centre of each model, so it stands on the floor where you place it:

```js
import * as THREE from 'three';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
import { MeshoptDecoder } from 'three/addons/libs/meshopt_decoder.module.js';

const loader = new GLTFLoader().setMeshoptDecoder(MeshoptDecoder);
const gltf = await loader.loadAsync('assets/old-tram-4f6ba8.glb');
scene.add(gltf.scene);
```

## 24 trains to start from

Chosen from the 162 that pass the checks: the ones agents picked most through `asset_search` first, then the ones whose name says what they are, then lighter files, with at most 2 per author. Each CC BY card ends with its credit line: paste it into your credits, as the license requires.

![old tram](https://paprika3d.com/media/assets/4f6ba80449614626bd84217ec421571c.webp)

**[old tram](https://sketchfab.com/3d-models/4f6ba80449614626bd84217ec421571c)** by [Rob](https://sketchfab.com/RobynJacks)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 8,710 triangles · 0.685 MB · realistic · 3.5 m tall<br>`asset_search {"pick": "4f6ba80449614626bd84217ec421571c"}`

<small>Credit: "old tram" by Rob (https://sketchfab.com/3d-models/4f6ba80449614626bd84217ec421571c) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![GpolymergenoCCforHubs01](https://paprika3d.com/media/assets/e5f3168bff1e47ba996647fcf2755bae.webp)

**[GpolymergenoCCforHubs01](https://sketchfab.com/3d-models/e5f3168bff1e47ba996647fcf2755bae)** by [tzuhuaniln](https://sketchfab.com/tzuhuaniln)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 7,400 triangles · 0.086 MB · realistic · 3.8 m tall<br>`asset_search {"pick": "e5f3168bff1e47ba996647fcf2755bae"}`

<small>Credit: "GpolymergenoCCforHubs01" by tzuhuaniln (https://sketchfab.com/3d-models/e5f3168bff1e47ba996647fcf2755bae) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Ns6300](https://paprika3d.com/media/assets/aa72fee029794007bf197ea5b1387f8f.webp)

**[Ns6300](https://sketchfab.com/3d-models/aa72fee029794007bf197ea5b1387f8f)** by [Evangeline](https://sketchfab.com/EvametryE)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 9,099 triangles · 0.221 MB · realistic · 4 m tall · animated<br>`asset_search {"pick": "aa72fee029794007bf197ea5b1387f8f"}`

<small>Credit: "Ns6300" by Evangeline (https://sketchfab.com/3d-models/aa72fee029794007bf197ea5b1387f8f) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![X2200](https://paprika3d.com/media/assets/f31daa00bbf54bbe81790c3f7d9016aa.webp)

**[X2200](https://sketchfab.com/3d-models/f31daa00bbf54bbe81790c3f7d9016aa)** by [voxellation](https://sketchfab.com/continentialvoxels)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 61,204 triangles · 0.393 MB · realistic · 4.2 m tall<br>`asset_search {"pick": "f31daa00bbf54bbe81790c3f7d9016aa"}`

<small>Credit: "X2200" by voxellation (https://sketchfab.com/3d-models/f31daa00bbf54bbe81790c3f7d9016aa) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![NYCT R33 Redbird Subway car](https://paprika3d.com/media/assets/6ba95918a2854e7ea4213609bd965dfb.webp)

**[NYCT R33 Redbird Subway car](https://sketchfab.com/3d-models/6ba95918a2854e7ea4213609bd965dfb)** by [NanoRay](https://sketchfab.com/NanoRay)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 37,863 triangles · 0.234 MB · realistic · 3.5 m tall<br>`asset_search {"pick": "6ba95918a2854e7ea4213609bd965dfb"}`

<small>Credit: "NYCT R33 Redbird Subway car" by NanoRay (https://sketchfab.com/3d-models/6ba95918a2854e7ea4213609bd965dfb) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![tram](https://paprika3d.com/media/assets/4f0939ed8ce341ea9021fd3299538525.webp)

**[tram](https://sketchfab.com/3d-models/4f0939ed8ce341ea9021fd3299538525)** by [Igor Tretyakov](https://sketchfab.com/vdv77)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 60,915 triangles · 0.531 MB · stylized · 3.5 m tall<br>`asset_search {"pick": "4f0939ed8ce341ea9021fd3299538525"}`

<small>Credit: "tram" by Igor Tretyakov (https://sketchfab.com/3d-models/4f0939ed8ce341ea9021fd3299538525) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Train Vapeur](https://paprika3d.com/media/assets/06d80aebc46a48feba8be98f1bbc5d82.webp)

**[Train Vapeur](https://sketchfab.com/3d-models/06d80aebc46a48feba8be98f1bbc5d82)** by [perceval-66](https://sketchfab.com/perceval-66)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 71,888 triangles · 2.46 MB · stylized · 4 m tall<br>`asset_search {"pick": "06d80aebc46a48feba8be98f1bbc5d82"}`

<small>Credit: "Train Vapeur" by perceval-66 (https://sketchfab.com/3d-models/06d80aebc46a48feba8be98f1bbc5d82) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Space Western Locomotive](https://paprika3d.com/media/assets/b013d907293d4785923da94afaa01bfe.webp)

**[Space Western Locomotive](https://sketchfab.com/3d-models/b013d907293d4785923da94afaa01bfe)** by [AlexFB](https://sketchfab.com/AlexFB)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 74,493 triangles · 0.632 MB · sci-fi · 4.5 m tall · animated · rigged<br>`asset_search {"pick": "b013d907293d4785923da94afaa01bfe"}`

<small>Credit: "Space Western Locomotive" by AlexFB (https://sketchfab.com/3d-models/b013d907293d4785923da94afaa01bfe) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Railway Station Chervona](https://paprika3d.com/media/assets/c64088609be04bb78091e8d346c3f469.webp)

**[Railway Station Chervona](https://sketchfab.com/3d-models/c64088609be04bb78091e8d346c3f469)** by [vladikzhel](https://sketchfab.com/vladikzhel)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 3,648 triangles · 0.411 MB · stylized · 12 m tall<br>`asset_search {"pick": "c64088609be04bb78091e8d346c3f469"}`

<small>Credit: "Railway Station Chervona" by vladikzhel (https://sketchfab.com/3d-models/c64088609be04bb78091e8d346c3f469) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Train Engine](https://paprika3d.com/media/assets/6b64945d2875424884066fa974a23291.webp)

**[Train Engine](https://sketchfab.com/3d-models/6b64945d2875424884066fa974a23291)** by [sageandginger](https://sketchfab.com/sageandginger)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 6,866 triangles · 0.119 MB · stylized · 3.5 m tall<br>`asset_search {"pick": "6b64945d2875424884066fa974a23291"}`

<small>Credit: "Train Engine" by sageandginger (https://sketchfab.com/3d-models/6b64945d2875424884066fa974a23291) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Cartoon Train](https://paprika3d.com/media/assets/cadb1e5edea443fca7f7d9d0cb82beaf.webp)

**[Cartoon Train](https://sketchfab.com/3d-models/cadb1e5edea443fca7f7d9d0cb82beaf)** by [Uğur Yakışık](https://sketchfab.com/UgurYksk)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 9,739 triangles · 0.114 MB · low-poly · 2.8 m tall<br>`asset_search {"pick": "cadb1e5edea443fca7f7d9d0cb82beaf"}`

<small>Credit: "Cartoon Train" by Uğur Yakışık (https://sketchfab.com/3d-models/cadb1e5edea443fca7f7d9d0cb82beaf) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Wooden Train Toy](https://paprika3d.com/media/assets/3078ed18f3c444f3aadb9f7b48f1e1b5.webp)

**[Wooden Train Toy](https://sketchfab.com/3d-models/3078ed18f3c444f3aadb9f7b48f1e1b5)** by [Mattyew](https://sketchfab.com/mattyu)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 6,467 triangles · 0.16 MB · stylized · 0.2 m tall<br>`asset_search {"pick": "3078ed18f3c444f3aadb9f7b48f1e1b5"}`

<small>Credit: "Wooden Train Toy" by Mattyew (https://sketchfab.com/3d-models/3078ed18f3c444f3aadb9f7b48f1e1b5) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Locomotive](https://paprika3d.com/media/assets/8c9d2dbf58ae4bd89957c968263af132.webp)

**[Locomotive](https://sketchfab.com/3d-models/8c9d2dbf58ae4bd89957c968263af132)** by [ScratchFCS9](https://sketchfab.com/ScratchFCS9)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 4,093 triangles · 0.26 MB · voxel · 3.5 m tall<br>`asset_search {"pick": "8c9d2dbf58ae4bd89957c968263af132"}`

<small>Credit: "Locomotive" by ScratchFCS9 (https://sketchfab.com/3d-models/8c9d2dbf58ae4bd89957c968263af132) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![LowPoly Toy Train](https://paprika3d.com/media/assets/dc53315bc20f455eb6a0f1b650f8db41.webp)

**[LowPoly Toy Train](https://sketchfab.com/3d-models/dc53315bc20f455eb6a0f1b650f8db41)** by [YAN1MAVE](https://sketchfab.com/YAN1MAVE)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 9,917 triangles · 0.153 MB · low-poly · 0.3 m tall<br>`asset_search {"pick": "dc53315bc20f455eb6a0f1b650f8db41"}`

<small>Credit: "LowPoly Toy Train" by YAN1MAVE (https://sketchfab.com/3d-models/dc53315bc20f455eb6a0f1b650f8db41) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Train , low-poly locomotive](https://paprika3d.com/media/assets/0eea1fa85cfa40769ce8e0cbb98e1d05.webp)

**[Train , low-poly locomotive](https://sketchfab.com/3d-models/0eea1fa85cfa40769ce8e0cbb98e1d05)** by [NIKCORE](https://sketchfab.com/NIKCORE)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 21,512 triangles · 0.153 MB · low-poly · 4.3 m tall<br>`asset_search {"pick": "0eea1fa85cfa40769ce8e0cbb98e1d05"}`

<small>Credit: "Train , low-poly locomotive" by NIKCORE (https://sketchfab.com/3d-models/0eea1fa85cfa40769ce8e0cbb98e1d05) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Block Train](https://paprika3d.com/media/assets/331f1a9a533c4e83aa207396d758105d.webp)

**[Block Train](https://sketchfab.com/3d-models/331f1a9a533c4e83aa207396d758105d)** by [Just BK](https://sketchfab.com/JustBK)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 32,724 triangles · 0.173 MB · stylized · 0.2 m tall<br>`asset_search {"pick": "331f1a9a533c4e83aa207396d758105d"}`

<small>Credit: "Block Train" by Just BK (https://sketchfab.com/3d-models/331f1a9a533c4e83aa207396d758105d) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Toy Train Textured](https://paprika3d.com/media/assets/33fe30f69f7b4fa0acf13152ebea8547.webp)

**[Toy Train Textured](https://sketchfab.com/3d-models/33fe30f69f7b4fa0acf13152ebea8547)** by [Mishas3D](https://sketchfab.com/Mishas3D)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 12,586 triangles · 0.242 MB · stylized · 0.25 m tall<br>`asset_search {"pick": "33fe30f69f7b4fa0acf13152ebea8547"}`

<small>Credit: "Toy Train Textured" by Mishas3D (https://sketchfab.com/3d-models/33fe30f69f7b4fa0acf13152ebea8547) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Japanese train concept LowPoly](https://paprika3d.com/media/assets/0f9f96db01444945a4754d08b1631579.webp)

**[Japanese train concept LowPoly](https://sketchfab.com/3d-models/0f9f96db01444945a4754d08b1631579)** by [LEX_GFX](https://sketchfab.com/boltex360)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 2,537 triangles · 0.097 MB · low-poly · 3.5 m tall<br>`asset_search {"pick": "0f9f96db01444945a4754d08b1631579"}`

<small>Credit: "Japanese train concept LowPoly" by LEX_GFX (https://sketchfab.com/3d-models/0f9f96db01444945a4754d08b1631579) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Steam Train](https://paprika3d.com/media/assets/29910176fa8e42fba97fdc011fd840cc.webp)

**[Steam Train](https://sketchfab.com/3d-models/29910176fa8e42fba97fdc011fd840cc)** by [supamas](https://sketchfab.com/jayspm)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 17,120 triangles · 0.546 MB · realistic · 4.3 m tall<br>`asset_search {"pick": "29910176fa8e42fba97fdc011fd840cc"}`

<small>Credit: "Steam Train" by supamas (https://sketchfab.com/3d-models/29910176fa8e42fba97fdc011fd840cc) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Train - Low Poly](https://paprika3d.com/media/assets/f705408836d24c8792ae4459236c3212.webp)

**[Train - Low Poly](https://sketchfab.com/3d-models/f705408836d24c8792ae4459236c3212)** by [Bharad](https://sketchfab.com/Bharad)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 1,082 triangles · 0.021 MB · low-poly · 3.5 m tall<br>`asset_search {"pick": "f705408836d24c8792ae4459236c3212"}`

<small>Credit: "Train - Low Poly" by Bharad (https://sketchfab.com/3d-models/f705408836d24c8792ae4459236c3212) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Scifi Tram (LowPoly and one texture)](https://paprika3d.com/media/assets/0ecb6fb5abf949a2a356931cd251c803.webp)

**[Scifi Tram (LowPoly and one texture)](https://sketchfab.com/3d-models/0ecb6fb5abf949a2a356931cd251c803)** by [IBRA](https://sketchfab.com/Brahim.Ait.Hamou)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 258 triangles · 0.049 MB · sci-fi · 3.5 m tall<br>`asset_search {"pick": "0ecb6fb5abf949a2a356931cd251c803"}`

<small>Credit: "Scifi Tram (LowPoly and one texture)" by IBRA (https://sketchfab.com/3d-models/0ecb6fb5abf949a2a356931cd251c803) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![LP train](https://paprika3d.com/media/assets/60fb29654ba54544ba300359b6b9d52e.webp)

**[LP train](https://sketchfab.com/3d-models/60fb29654ba54544ba300359b6b9d52e)** by [ZachWilkins1997](https://sketchfab.com/ZachWilkins1997)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 692 triangles · 0.09 MB · low-poly · 0.4 m tall<br>`asset_search {"pick": "60fb29654ba54544ba300359b6b9d52e"}`

<small>Credit: "LP train" by ZachWilkins1997 (https://sketchfab.com/3d-models/60fb29654ba54544ba300359b6b9d52e) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Stylized Toy Train](https://paprika3d.com/media/assets/7e6c696592ee4cb3b7fab42325420079.webp)

**[Stylized Toy Train](https://sketchfab.com/3d-models/7e6c696592ee4cb3b7fab42325420079)** by [Sasha.Vladyka](https://sketchfab.com/Sasha.Vladyka)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 26,125 triangles · 0.374 MB · stylized · 0.2 m tall<br>`asset_search {"pick": "7e6c696592ee4cb3b7fab42325420079"}`

<small>Credit: "Stylized Toy Train" by Sasha.Vladyka (https://sketchfab.com/3d-models/7e6c696592ee4cb3b7fab42325420079) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

![Old train toy](https://paprika3d.com/media/assets/7a4d057b2716469ca833e659c005eee6.webp)

**[Old train toy](https://sketchfab.com/3d-models/7a4d057b2716469ca833e659c005eee6)** by [Alin.Sirbu](https://sketchfab.com/Alin.Sirbu)<br>[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 22,926 triangles · 0.407 MB · stylized · 0.15 m tall<br>`asset_search {"pick": "7a4d057b2716469ca833e659c005eee6"}`

<small>Credit: "Old train toy" by Alin.Sirbu (https://sketchfab.com/3d-models/7a4d057b2716469ca833e659c005eee6) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Optimized for the web by paprika3D.</small>

## Related

- [Free car 3D models for three.js (GLB, CC BY)](https://paprika3d.com/docs/models/cars)
- [Free truck 3D models for three.js (GLB, CC BY)](https://paprika3d.com/docs/models/trucks)
- [Free bridge 3D models for three.js (GLB, CC BY)](https://paprika3d.com/docs/models/bridges)
- [Free building 3D models for three.js (GLB, CC BY)](https://paprika3d.com/docs/models/buildings)

Counts from the library's catalog on 2026-11-30. The models are their authors' work under the license on each card; paprika3d converted them for the web.

Updated 2026-11-30.
