Documentation

AI-Powered Prompt Optimization

PromptScout's advanced optimization feature uses AI to enhance your prompts, improving their effectiveness for any LLM.

What is Prompt Optimization?

Prompt optimization is a multi-step process that analyzes and enhances your prompts using specialized AI models. This feature helps you create more effective prompts by improving their structure, adding relevant context, incorporating LLM-specific constraints, and refining the clarity and specificity.

The optimization process leverages two powerful APIs:

  • Brave Search API - Enhances prompts with relevant context and performs final refinement
  • Tavily API - Analyzes prompt structure and adds LLM-specific constraints

How the Optimization Process Works

1

Structure Analysis

Analyzes the prompt structure and improves formatting and organization

2

Context Enhancement

Adds relevant context based on the prompt description

3

LLM-Specific Constraints

Adds constraints to make the prompt work better with the target LLM

4

Final Refinement

Performs a final clarity and specificity pass to ensure the prompt is effective

Optimization Results

After optimization, you'll receive:

  • The optimized prompt with all improvements applied
  • A list of specific improvements made to your prompt
  • The optimization techniques applied during the process
  • One-click copy functionality to use your optimized prompt

Subscription Tiers and Usage Limits

The prompt optimization feature is available with usage limits based on your subscription tier.

PlanMonthly OptimizationsPrice
Free5$0
Premium50$9.99/month
EnterpriseUnlimitedContact sales

Using Your Own API Keys

If you need more optimizations than your subscription allows, you can use your own API keys for unlimited optimizations.

Benefits of using your own API keys:

  • Unlimited prompt optimizations without counting against your monthly quota
  • Available on all plans, including the Free tier
  • Direct control over your API usage and costs

Note: You are responsible for any charges from the API providers when using your own keys.

Setting Up Your Own API Keys

To use your own API keys for prompt optimization, follow these steps:

1

Obtain API Keys

Get API keys from:

2

Add Keys to Your Profile

Go to your Profile Settings → API Keys tab and add both the Brave and Tavily API keys.

3

Use Your Keys When Optimizing

When using the prompt optimization feature, check the "Use my own API keys" option.

Key Security

Your API keys are securely stored with encryption and are never shared with third parties. We only use them to make API requests on your behalf when you choose to use your own keys for optimization.

Using the Prompt Optimization Feature

To optimize a prompt:

2

Fill in your prompt content, description, and select a target LLM

3

If you want to use your own API keys, check the "Use my own API keys" option

4

Click the "Optimize Prompt" button and wait for the optimization process to complete

5

Review the optimization results, which include the optimized prompt, improvements made, and techniques applied

Related Articles

Creating Your First Prompt

Learn how to create and save your first prompt in PromptScout

Read article

API Key Setup

How to set up and manage your API keys for prompt optimization

Read article

Pricing Plans

Compare pricing plans and features including prompt optimization limits

Read article