Using Composer 2.5 on Cursor

Implementation guide · Composer · Cursor (Anysphere)

Serverless

Cursor exposes Composer 2.5 through model ID composer-2-5. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-06-30. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Cursor and generate an API key.
  2. 2
    Use the Cursor SDK or REST API to call composer-2-5 — see the documentation for request format.
  3. 3
    You'll be billed $0.50/1M input, $2.50/1M output tokens. See full pricing.

Code Examples

See Cursor documentation for integration details.

Pricing on Cursor

TypePrice (per 1M)
Input tokens$0.50
Output tokens$2.50

Capabilities

JSON / Tool useCode Execution

About Composer 2.5

Cursor's agentic coding model released May 18, 2026. Built on Moonshot AI's Kimi K2.5 open-source checkpoint with targeted RL using textual feedback and 25× more synthetic training tasks than Composer 2. Designed for long-horizon software engineering tasks: multi-file edits, terminal command execution, codebase-wide semantic search, and autonomous task planning. Uses Cursor's compaction-in-the-loop context management for long coding sessions. Available on all Cursor plans; accessed through the Cursor IDE (not a standalone API). Standard pricing: $0.50/M input, $2.50/M output; Fast (default): $3.00/M input, $15.00/M output.

Model Specs

Released2026-05-18
Context1m

Provider

Cursor

Anysphere

San Francisco, California, United States