# More number of spheres increasing glTF file size

I am new to blender, I'm trying to build a block which has 100s of spheres(you can say molecules of metal block) and continously vibrating. Currently I am using around 100 molecules for just 1/4th of metal block and the exported(.glb) file size is few MBs if I add more spheres to cover the entire block file size will be even more.

Is there any better way to optimize the spheres keeping their size and animation same.

2. gltf-transform CLI or JavaScript tool provides a dedup command to detect and fix duplicated data. An additional instance command applies the glTF EXT_mesh_gpu_instancing extension, which can further optimize the rendering of these types of models, but not all glTF viewers support the extension.