Anthropic is nearing a $1 trillion valuation, topping rival OpenAI and making it the most valuable artificial intelligence startup, as the two competitors head toward their initial public offerings. The San Francisco-based AI company announced a new round of $65 billion Series H financing on Thursday, bringing it to a $965 billion valuation. The latest round was led by Altimeter Capital, Dragoneer, Greenoaks, and Sequoia Capital, and included $15 billion of prior commitments, $5 billion of which came from Amazon. In just the last few months, Anthropic has nearly tripled its worth from $380 billion in February, CNBC reported. Meanwhile, rival OpenAI, which was considered the heavyweight in the fight to dominate AI— and was the more talked-about company just a year ago —now trails behind, valued at $852 billion (which includes $122 billion funding it raised in March). Anthropic’s dizzying rise is in large part due to its AI assistant Claude Code coding software.…