Best mysql config for my server I have dedicated server, CPU is too high (80%-100%) and memory only use 9gb

RAM 32 gb and CPU Dual Xeon E5-2670(8core and 16 thread)

I have 25000 users that use my android application

My database table only innodb. What is best config?

sorry for bad English

mysql5.7
High CPU almost always means inefficient queries.  The fix may be as simple as a better index (possibly composite), or rephrasing a SELECT.  Find out what queries are most commonly running and let's discuss them.

About the only tunable that might be incorrect is innodb_buffer_pool_size, which needs to be about 70% of available RAM.

You might be able to catch slow queries by using SHOW FULL PROCESSLIST; repeatedly.  But the slowlog is better.  See here.