Cursor Basics
Gemini 3.1 Pro: Pricing and Visual Coding
Gemini 3.1 Pro is Google's frontier model in Cursor for work that combines images and code, especially UI implementation from design mockups and visual code analysis. It has a 200k standard context window and 1M maximum. Cursor lists $2 per million input tokens, $0.20 cached input, and $12 output, with higher rates when input exceeds 200k.
On this page
What is Gemini 3.1 Pro in Cursor?
Gemini 3.1 ProGoogle's frontier model in Cursor for work that combines images and code, especially UI implementation and visual code analysis. Press Enter for the full definition. is Google's current Pro model in Cursor. Cursor rates it medium for speed and cost and frontier for intelligence. Its distinguishing feature is native work across images and code, which Cursor calls out for UI and UX implementation from mockups, frontend development, and visual code understanding. That is a narrower and more useful reason to choose it than the generic label frontier.
Use it when the image is part of the evidence, not decoration. A screenshot showing a responsive failure, a design mockup with measurable spacing, or a visual reference paired with an existing component gives the model something concrete to compare. The model can still do ordinary repository work, but another option may be cheaper when the task has no visual input or large-context need.
- Model ID
- gemini-3.1-pro
- Provider
- Context
- 200k standard, 1M maximum
- Visual capability
- Processes images alongside code
- Cursor rating
- Medium speed, medium cost, frontier intelligence
- Usage pool
- Third-party Other ModelsCursor's pool of supported third-party models from providers such as Anthropic, Google and OpenAI, with separate plan access and usage from Cursor Models. Press Enter for the full definition.
Cursor model documentation, checked August 14, 2026.
This exact topic is a hands-on Lesson: Mode, Model and Cost Coupling — about 6 minutes, free to read.
How should you use Gemini 3.1 Pro for UI work?
Give the model the visual source, the relevant route or component, and an explicit acceptance condition. Point to the exact region in a screenshot when possible. Ask it to inspect the implementation before editing, then verify the result with the browser and a new capture. This turns the task into a visual comparison backed by code rather than a prompt asking for something to feel polished.
- 1Attach the mockup or screenshot and identify the state, viewport, and component it represents.
- 2Name the route and any files already known to own the UI.
- 3State measurable constraints such as dimensions, alignment, content order, or interaction behavior.
- 4Ask the agent to edit, run the application, and inspect the result in the browser.
- 5Review the final screenshot, diff, responsive states, and automated checks before accepting the change.
Visual understanding does not guarantee visual correctness. A screenshot cannot show keyboard behavior, loading states, reduced motion, or a layout at every width. Include those checks when they matter and keep a person in the final review for brand judgment. Gemini can make the first pass and test what the browser exposes; it cannot infer an unstated design system policy.
When does Gemini 3.1 Pro use its 1M context window?
Cursor lists 200k as the model's standard context window and 1M as its maximum. The higher ceiling can support a broad repository analysis, several design artifacts, or a long tool-driven session. It should not be the default input size. Large unrelated context can hide the file that matters and raises cost before the agent writes a line of code.
Start with the feature slice and expand when a search result or dependency points outward. If the task truly needs more than 200k, record why. Cursor says input and output pricing increases when input exceeds that threshold, so crossing it changes both the amount of context and the rate applied to the request.
Gemini 3.1 ProGoogle's frontier model in Cursor for work that combines images and code, especially UI implementation and visual code analysis. Press Enter for the full definition.'s model page states that pricing rises once input exceeds 200k tokens. Do not budget a 1M request by multiplying the standard $2 input and $12 output rows alone.
Check the live long-context rates in Cursor's pricing table before a workflow depends on that ceiling.
How much does Gemini 3.1 Pro cost in Cursor?
Gemini 3.1 ProGoogle's frontier model in Cursor for work that combines images and code, especially UI implementation and visual code analysis. Press Enter for the full definition. draws from the third-party Other ModelsCursor's pool of supported third-party models from providers such as Anthropic, Google and OpenAI, with separate plan access and usage from Cursor Models. Press Enter for the full definition. pool. Cursor lists standard rates of $2 per million input tokens, $0.20 per million cache reads, and $12 per million output. The cache-write cell is blank, so treat it as unpublished rather than free. Other Models access starts with Pro. Cursor StartAn India-only individual plan centered on Cursor Models, with cloud and mobile access but without Other Models, Auto, Bugbot, Automations or the Agent SDK. Press Enter for the full definition. includes only the Cursor ModelsCursor's plan and usage pool for models it labels as Cursor Models, kept separate from the third-party Other Models pool. Press Enter for the full definition. pool, so it does not include Gemini 3.1 Pro.
- Rate
- Input
- Standard price per million tokens
- $2
- Rate
- Cache write
- Standard price per million tokens
- Not listed
- Rate
- Cache read
- Standard price per million tokens
- $0.20
- Rate
- Output
- Standard price per million tokens
- $12
| Rate | Standard price per million tokens |
|---|---|
| Input | $2 |
| Cache write | Not listed |
| Cache read | $0.20 |
| Output | $12 |
Standard rates from Cursor's Gemini 3.1 Pro model page, checked August 14, 2026. Long-context rates apply above 200k input.
Cached input is one tenth of the fresh-input rate, so a stable thread that reuses the same project context can be much cheaper than repeated fresh sessions. Switching models breaks the cache. Teams and Enterprise may also pay Cursor's separate Token Rate on directly selected third-party models and eligible Auto routes, so the model table is only one part of the effective account cost.
Should you choose Gemini 3.1 Pro or Gemini 3.7 Flash?
Choose 3.1 Pro when the task needs Google's Pro reasoning or the visual coding strengths Cursor names on its model card. Choose 3.7 Flash when throughput and output cost matter more and the reasoning demand is bounded. Flash costs $0.75 input and $3.50 output against Pro's $2 and $12, with both listing cache reads at one tenth of fresh input.
- Workload
- UI implementation from a detailed mockup
- Starting choice
- Gemini 3.1 ProGoogle's frontier model in Cursor for work that combines images and code, especially UI implementation and visual code analysis. Press Enter for the full definition.
- Why
- Cursor explicitly positions it for images alongside code
- Workload
- Large visual code investigation
- Starting choice
- Gemini 3.1 ProGoogle's frontier model in Cursor for work that combines images and code, especially UI implementation and visual code analysis. Press Enter for the full definition.
- Why
- Frontier tier with up to 1M context
- Workload
- High-volume coding with bounded reasoning
- Starting choice
- Gemini 3.7 FlashGoogle's latest speed-tier model in Cursor for high-throughput coding, with a 1M maximum context window and a 90% cached-input discount. Press Enter for the full definition.
- Why
- Lower input and output rates
- Workload
- A short routine edit
- Starting choice
- ComposerCursor's own fast coding model, tuned for the editor and priced well below frontier models; the recommended day-to-day model for executing a plan. Press Enter for the full definition. or another lower-cost model
- Why
- Neither Gemini tier may be necessary
| Workload | Starting choice | Why |
|---|---|---|
| UI implementation from a detailed mockup | Gemini 3.1 ProGoogle's frontier model in Cursor for work that combines images and code, especially UI implementation and visual code analysis. Press Enter for the full definition. | Cursor explicitly positions it for images alongside code |
| Large visual code investigation | Gemini 3.1 ProGoogle's frontier model in Cursor for work that combines images and code, especially UI implementation and visual code analysis. Press Enter for the full definition. | Frontier tier with up to 1M context |
| High-volume coding with bounded reasoning | Gemini 3.7 FlashGoogle's latest speed-tier model in Cursor for high-throughput coding, with a 1M maximum context window and a 90% cached-input discount. Press Enter for the full definition. | Lower input and output rates |
| A short routine edit | ComposerCursor's own fast coding model, tuned for the editor and priced well below frontier models; the recommended day-to-day model for executing a plan. Press Enter for the full definition. or another lower-cost model | Neither Gemini tier may be necessary |
Use a checked project task to settle the choice when the rows overlap.
Model selection should follow evidence from the result. Run the same bounded task in fresh sessions, then compare the screenshot or artifact, final diff, checks, redirects, elapsed time, and usage. A small price difference can disappear after one failed attempt, while a stronger model that produces the same result buys nothing.
Which Cursor tools can Gemini 3.1 Pro use?
Gemini 3.1 ProGoogle's frontier model in Cursor for work that combines images and code, especially UI implementation and visual code analysis. Press Enter for the full definition. can search files and folders, use web search, read and edit files, run shell commands, control the browser, generate images, ask clarifying questions, and fetch rules inside Cursor. The model reads images when the surface provides them. Tool availability still depends on the current product, approvals, sandbox, credentials, and team policy.
Give high-impact tools a clear boundary. A browser test and screenshot are useful evidence; a production deployment or external write is a separate authorized action. The model's ability to call a tool does not decide whether that action belongs in the task.
For visual tasks, store the input image and the final capture with the review. The pair makes the model's interpretation checkable later and gives a regression report a stable reference. Without both artifacts, a reviewer is left comparing the current screen against a remembered mockup or a chat description that may omit the detail that drove the edit.
A team default should also reflect source material. If most work starts from screenshots and design files, Gemini's image handling gets used. If nearly every task is plain backend code, the same strength can sit idle while the team pays a Pro-tier output rate.
Frequently asked questions
What is Gemini 3.1 Pro best for in Cursor?
Cursor highlights UI and UX coding from design mockups, frontend development, visual code understanding, and broad analysis that benefits from up to 1M tokens of context.
How much does Gemini 3.1 Pro cost?
Standard rates are $2 per million input tokens, $0.20 cache read, and $12 output. Cursor does not list a cache-write rate, and long-context pricing increases above 200k input. It is an Other Models option on Pro and higher plans, not Cursor Start.
Does Gemini 3.1 Pro accept images?
Yes. Cursor says it processes images alongside code and positions it for implementation and analysis from visual references.
Does Gemini 3.1 Pro have a 1M context window?
Its model card lists 200k standard context and a 1M maximum. Requests above 200k are subject to higher input and output rates.
When should I choose Gemini 3.1 Pro instead of Gemini 3.7 Flash?
Choose 3.1 Pro when its frontier intelligence and specific visual-coding position fit the task, especially UI implementation from mockups or visual code analysis. Choose 3.7 Flash for fast, lower-cost work with bounded reasoning. Cursor lists 3.7 Flash at $0.75 input and $3.50 output, below 3.1 Pro's $2 and $12.
Sources & last verified
Cursor ships frequently. Facts verified against primary sources on August 14, 2026.
Keep reading
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.