> For the complete documentation index, see [llms.txt](https://fiveos.gitbook.io/fiveos-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fiveos.gitbook.io/fiveos-docs/guides/optimize.md).

# Optimize

Big models and textures can slow a FiveM server down. Drop them here and FiveOS makes them smaller while keeping them looking good. Your original files are never changed — you get a new, smaller copy next to them.

![The Optimize tab](/files/2VmiUEhDrn4RKvQy1Alo)

## How to use it

1. Pick what you're shrinking: **props**, **clothing**, **textures**, or **vehicles**.
2. Drag your files onto the middle of the window.
3. Set how much to keep with the slider — start in the middle. More = better looking, less = smaller.
4. Click **OPTIMIZE**.
5. Find the new smaller copy next to your originals and drop it into your server.

Not sure which files are too big? The built-in **txAdmin Optimizer** reads your server's log, finds the oversized files for you, and shrinks just the ones that need it.

## Tips

* Converting a whole singleplayer car? Use the **Vehicles** tab instead — it does this for you with a 3D preview.
* If a file barely got smaller, it may be the textures — shrink those separately under **textures**.

## If it doesn't work

* **Model looks blocky afterwards:** you shrank it too much — move the slider up and try again.
* **Holes in clothing:** turn on **Preserve open boundaries**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://fiveos.gitbook.io/fiveos-docs/guides/optimize.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
