Side by side.
Live figures from the catalog; prices are what a request costs from your balance.
| What you get | Claude Sonnet 5.5claude-sonnet-5-5 | Gemini 3.1 Pro Previewgemini-3.1-pro-preview |
|---|---|---|
| Maker | Claude Sonnet 5.5Anthropic | Gemini 3.1 Pro PreviewGoogle |
| Input, per 1M tokens | Claude Sonnet 5.5$1.20 | Gemini 3.1 Pro Preview$1.20 |
| Output, per 1M tokens | Claude Sonnet 5.5$3.00 | Gemini 3.1 Pro Preview$7.20 |
| Context | Claude Sonnet 5.51M | Gemini 3.1 Pro Preview1M |
| Calls tools | Claude Sonnet 5.5Yes | Gemini 3.1 Pro PreviewYes |
| Reads images | Claude Sonnet 5.5Yes | Gemini 3.1 Pro PreviewYes |
| A chat turn | Claude Sonnet 5.50.39¢ | Gemini 3.1 Pro Preview0.6¢ |
| An agent step | Claude Sonnet 5.53¢ | Gemini 3.1 Pro Preview3.8¢ |
| Share of coding requests today | Claude Sonnet 5.50.2% | Gemini 3.1 Pro Preview— |
Which to pick
Claude Sonnet 5.5 is the cheaper of the two: an agent step costs about 3¢ against 3.8¢ on Gemini 3.1 Pro Preview, 1.3 times as much.
Gemini 3.1 Pro Preview holds more at once: 1M tokens of context against 1M.
Price and context are not quality. The way to know which writes better code for your project is to run the same task on both: in Code each project keeps its own model, and your Nerdly key reaches both in your own editor.
Each model on its own
- Claude Sonnet 5.5: price, context and setup lines
- Gemini 3.1 Pro Preview: price, context and setup lines
- The best AI models for coding, by use, with live prices
- More comparisons
Questions.
Something else? Email hello@nerdly.us
Run the same task on both.
Each project in Code keeps its own model; one key reaches both in your editor.
Open Code