Rumen microbes are crucial in the anaerobic fermentation of plant polysaccharides to produce volatile fatty acids. However, limited information exists about the specific microbial species and strains in the rumen that affect carcass traits, and it is unclear whether there is a relationship between rumen metabolic functions and these traits. This study investigated the relationship between the rumen microbiome and carcass traits in beef cattle using 16S rRNA amplicon and shotgun sequencing. Metagenomic sequencing was used to compare the rumen microbiome between high-carcass weight (HW) and low-carcass weight (LW) cattle, and high-marbling (HM) and low-marbling (LM) cattle. Prokaryotic communities in the rumen of HW vs. LW and HM vs. LM were separated using 16S rRNA amplicon sequencing. Notably, shotgun metagenomic sequencing revealed that HW cattle had more methane-producing bacteria and ciliate protozoa, suggesting higher methane emissions. Additionally, variations were observed in the abundances of certain glycoside hydrolases and polysaccharide lyases involved in the ruminal degradation of plant polysaccharides between HW and LW. From our metagenome dataset, 807 non-redundant metagenome-assembled genomes (MAGs) of medium to high quality were obtained. Among these, 309 and 113 MAGs were associated with carcass weight and marbling, respectively.