Skip to content

Hypothesize-Tech/costkatana-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

39 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CostKatana for Cursor

Version Downloads Rating

๐Ÿš€ Save Money on AI Costs While Coding in Cursor

Stop guessing how much your AI usage costs. Cost Katana tracks every AI request you make in Cursor and helps you optimize your spending without sacrificing code quality.

โœจ What You Get

๐Ÿ’ฐ Know Your Costs

  • Real-time tracking of every AI request you make
  • Detailed cost breakdown showing exactly what you're spending
  • Support for all models - GPT-4, Claude, Gemini, and more
  • Historical spending to see your usage patterns

๐ŸŽฏ Optimize Your Prompts

  • Smart suggestions to reduce token usage
  • Cost-effective alternatives for your prompts
  • Quality scoring to ensure you're not sacrificing results
  • Template library with proven, cost-optimized prompts

๐Ÿง  Make Smarter Choices

  • Model recommendations based on your task and budget
  • Performance insights showing which models work best for you
  • Cost forecasting to predict future spending
  • Personalized tips based on your usage patterns

๐ŸŽฎ Get Started in 3 Steps

1. Install the Extension

  • Open Cursor
  • Go to Extensions (Ctrl+Shift+X)
  • Search for "Cost Katana AI Optimizer"
  • Click Install

2. Connect Your Account

  • Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
  • Type "Cost Katana: Connect to Backend"
  • Enter your API key or use magic link signup

3. Start Saving Money

  • Track a request: Use "Cost Katana: Track AI Usage" after any AI interaction
  • Get recommendations: Use "Cost Katana: Get Model Recommendations" before starting a task
  • Optimize prompts: Select text and use "Cost Katana: Optimize Prompt"

๐ŸŽฏ What You Can Do

Track Your Usage

After you use AI in Cursor:

  1. Press Ctrl+Shift+P
  2. Run "Cost Katana: Track AI Usage"
  3. Select your model and enter your prompt/response
  4. See exactly how much it cost and get optimization tips

Get Better Model Recommendations

Before starting a coding task:

  1. Press Ctrl+Shift+P
  2. Run "Cost Katana: Get Model Recommendations"
  3. Choose your task type and budget
  4. Get personalized model suggestions with cost estimates

Optimize Your Prompts

When you have a prompt that might be expensive:

  1. Select the prompt text in your editor
  2. Press Ctrl+Shift+P
  3. Run "Cost Katana: Optimize Prompt"
  4. Get a more cost-effective version that maintains quality

Analyze Your Code

For optimization opportunities:

  1. Press Ctrl+Shift+P
  2. Run "Cost Katana: Analyze Code"
  3. Get suggestions for more efficient AI usage patterns

View Your Analytics

To see your spending patterns:

  1. Press Ctrl+Shift+P
  2. Run "Cost Katana: Show Analytics"
  3. View charts and insights about your AI usage

๐Ÿ’ก Pro Tips

Save Money on Common Tasks

  • Code reviews: Use Claude 3.5 Haiku instead of Claude 4 Opus (90% cost savings)
  • Simple questions: Try GPT-3.5-turbo instead of GPT-4o (80% cost savings)
  • Documentation: Use Gemini 2.5 Flash for technical writing (60% cost savings)

Optimize Your Workflow

  • Batch similar requests to reduce API overhead
  • Use templates for common tasks to ensure consistency
  • Set up alerts to get notified when spending exceeds your budget
  • Review weekly reports to identify optimization opportunities

Get the Most Value

  • Experiment with models to find the best cost/quality balance for your needs
  • Use the AI agent for complex optimization questions
  • Share templates with your team for consistent, cost-effective prompts
  • Monitor performance to ensure cost savings don't hurt code quality

๐Ÿ”ง Settings You Can Customize

In Cursor settings, you can configure:

{
  "costKatana.backendUrl": "https://api.costkatana.com/api",
  "costKatana.apiKey": "your-api-key-here",
  "costKatana.autoTrack": true,
  "costKatana.showNotifications": true
}

๐Ÿ“Š Supported AI Models

OpenAI Models

  • GPT-4o, GPT-4o-mini, GPT-4.1, GPT-4.5-preview, GPT-3.5-turbo

Anthropic Models

  • Claude 3.5 Sonnet, Claude 3.5 Haiku, Claude 4 Opus, Claude 4 Sonnet
  • o1, o1-mini, o3, o3-mini, o4-mini

Google Models

  • Gemini 2.0 Pro, Gemini 2.5 Flash, Gemini 2.5 Pro

Other Models

  • Deepseek R1, V3, V3.1
  • Grok 2, 3 Beta, 3 Mini, 4
  • Cursor Small

๐ŸŽฏ Real Examples

Example 1: Code Review

Before: Using Claude 4 Opus for every code review ($0.15 per review) After: Using Claude 3.5 Haiku for simple reviews ($0.015 per review) Savings: 90% cost reduction

Example 2: Bug Fixing

Before: Long, detailed prompts to GPT-4o ($0.30 per request) After: Optimized prompts to GPT-3.5-turbo ($0.06 per request) Savings: 80% cost reduction

Example 3: Documentation

Before: Using expensive models for simple documentation After: Using Gemini 2.5 Flash for technical writing Savings: 60% cost reduction

๐Ÿš€ Advanced Features

AI Agent for Complex Questions

  • Ask "How can I optimize my AI usage for React development?"
  • Get personalized recommendations based on your specific needs
  • Receive step-by-step optimization strategies

Template Library

  • Access pre-optimized prompts for common tasks
  • Save your own templates for team use
  • Track template performance and costs

Predictive Analytics

  • Get alerts when spending might exceed your budget
  • Identify trends in your AI usage patterns

๐Ÿ”’ Your Privacy & Security

  • Your code stays private - we never see your actual code
  • Secure API keys - stored locally and encrypted
  • No sensitive data - only usage metrics are tracked
  • You control your data - delete your account anytime

๐Ÿ“ž Need Help?

๐Ÿ’ฐ Start Saving Today

Join thousands of developers who are already saving money on AI costs while maintaining code quality. Install Cost Katana and see the difference in your next billing cycle!


Stop overpaying for AI. Start optimizing with Cost Katana! ๐Ÿš€

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors