llmreference

Using Composer 2 on Cursor

Implementation guide · Composer · Cursor (Anysphere)

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 — 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.

About Cursor

Cursor provides a code-first development environment with integrated AI coding models, context-aware agentic workflows, and plan-based token usage for built-in model access. It is not primarily a model provider API, so model access is typically via the Cursor platform.

Cursor is an AI-powered coding platform and IDE from Anysphere, focused on agentic software engineering workflows.

Pricing on Cursor

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

Capabilities

Function CallingTool UseCode Execution

About Composer 2

Cursor's coding model released March 19, 2026. Fine-tuned from Moonshot AI's Kimi K2.5 checkpoint via continued pretraining and large-scale RL on long-horizon coding tasks. Scores 61.3 on CursorBench, 61.7 on Terminal-Bench 2.0 (vs. Claude Opus 4.6's 58.0), and 73.7 on SWE-bench Multilingual. Technical report: arxiv.org/abs/2603.24477. Available on all Cursor plans. Standard: $0.50/M input, $2.50/M output; Fast: $1.50/M input, $7.50/M output.

Model Specs

Released2026-03-19
Context200K

Provider

Cursor

Anysphere

San Francisco, California, United States