CS2 Autoexec Generator
Build a custom autoexec.cfg tailored to your priorities. Choose a preset or tweak individual settings, then download the ready-to-use config file.
Choose Your Preset
Maximum FPS
Strip away visual effects for maximum frames per second
Competitive
Optimised for ranked matchmaking with balanced visuals
Low Latency
Minimize network delay and reduce perceived lag
Practice/Warmup
Server commands for aim training and grenade practice
Streaming
Balanced performance with clean visuals for content creation
Beginner Friendly
Sensible defaults with helpful visual cues enabled
Customise Settings
Network
Audio
Visuals
HUD
Generated Autoexec.cfg
What Each Setting Does
Rate controls the maximum bytes per second your client requests from the server. Setting this to 786432 (the maximum) ensures you receive the most game data possible — essential on modern internet connections. Lower values were historically needed for slow connections but are rarely beneficial today.
Interp ratio (cl_interp_ratio) determines how many server ticks of interpolation buffer your client uses. A value of 1 reduces input lag by minimizing the buffer, but requires a stable connection. Use 2 if you experience packet loss or play on high-ping servers.
fps_max caps your frame rate. Setting it to 0 (unlimited) is generally recommended if your PC can maintain high framerates. Some players cap it slightly above their monitor refresh rate (e.g., fps_max 300 on a 240Hz monitor) to reduce power consumption and heat.
Frequently Asked Questions
- What is an autoexec.cfg in CS2?
- An autoexec.cfg is a configuration file that automatically executes console commands every time CS2 launches. It ensures your preferred settings are always applied, even if the game resets them. Place it in your CS2 cfg folder.
- Where do I put my autoexec.cfg?
- Place autoexec.cfg in: Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/. Create the file if it doesn't exist. The file must be named exactly "autoexec.cfg" and end with the command "host_writeconfig".
- Will an autoexec improve my FPS?
- Yes, FPS-focused commands like disabling unnecessary visual effects (cl_forcepreload 1, r_drawtracers_firstperson 0) and optimizing rendering can improve frame rates by 10-30% depending on your hardware.
- Is using an autoexec allowed in competitive?
- Absolutely. Autoexec files only adjust client-side settings that you could change manually through the console or settings menu. They do not provide any unfair advantage and are used by virtually every professional player.
- What commands should every autoexec have?
- Essential commands include: rate 786432 (max network bandwidth), cl_interp_ratio 1 (network interpolation), sensitivity and crosshair settings, and host_writeconfig at the end to save changes.