CodeCosts API

Free, open API for AI coding tool pricing data. No auth. CORS-enabled. CC-BY-4.0.

Free No Auth CORS 8 Tools 30+ Tiers

Endpoints

GET /v1/tools
List all tools with full pricing and features.
Filters: ?audience=individual|team|enterprise ?feature=autocomplete|chat|agent ?free=true ?ide=vscode
GET /v1/tools/:id
Get a single tool. Example: /v1/tools/cursor
GET /v1/compare?tools=cursor,github-copilot
Side-by-side comparison with summary stats.
GET /v1/cheapest?budget=20
Find best tools under a monthly budget. Optional: &audience=team

Quick Start

# List all tools
curl https://codecosts-api.pingbase-api.workers.dev/v1/tools

# Get Cursor pricing
curl https://codecosts-api.pingbase-api.workers.dev/v1/tools/cursor

# Compare two tools
curl "https://codecosts-api.pingbase-api.workers.dev/v1/compare?tools=cursor,github-copilot"

# Find tools under $20/mo
curl "https://codecosts-api.pingbase-api.workers.dev/v1/cheapest?budget=20"

JavaScript Example

const res = await fetch('https://codecosts-api.pingbase-api.workers.dev/v1/tools');
const { tools } = await res.json();

// Find cheapest paid tier across all tools
const cheapest = tools
  .flatMap(t => t.tiers.map(tier => ({ tool: t.name, ...tier })))
  .filter(t => t.monthlyUsd > 0)
  .sort((a, b) => a.monthlyUsd - b.monthlyUsd)[0];

console.log(cheapest);
// { tool: "Tabnine", name: "Dev", monthlyUsd: 9, ... }

Data

Covers 8 AI coding tools: GitHub Copilot, Cursor, Claude Code, Windsurf, Amazon Q Developer, Tabnine, JetBrains AI, and Gemini Code Assist.

Data updated monthly. Source: codecosts.pages.dev

Open dataset: ai-coding-tools-pricing on GitHub