Skip to main content
PromptLayer is a devtool that allows you to track, manage, and share your prompt engineering. It provides a platform for versioning prompts, executing them against any LLM provider, and logging all requests with rich metadata for easy exploration and search in the PromptLayer dashboard.

How it Works

PromptLayer provides two primary ways to integrate with your application:
  1. The run() method — Fetch a prompt template from the Prompt Registry, execute it against your configured LLM provider (OpenAI, Anthropic, Google, etc.), and automatically log the result. This is the recommended approach.
  2. The log_request method / REST API — Make LLM requests with your own client code and log them to PromptLayer for tracking and analysis.
All LLM requests are made locally from your machine — your API keys are never sent to PromptLayer servers. PromptLayer simply manages your prompt templates and logs the requests. https://github.com/MagnivOrg/prompt-layer-library

Features

Some of the key features of PromptLayer include:
  • Prompt Registry: Version, manage, and retrieve prompt templates through a visual editor and API.
  • API request logging: PromptLayer records all your LLM requests, allowing you to search and explore request history in the PromptLayer dashboard.
  • Metadata tracking: PromptLayer logs each LLM request with metadata such as the prompt used, the response returned, tags, scores, and any additional parameters.
  • Easy integration: Use the run() method for zero-setup integration, or log_request to add logging to your existing code.
  • Designed for production: PromptLayer is designed to help maintain LLMs in production and aid in the development process. It is prod-ready and will not interfere with your application’s functionality even if it fails.
  • Collaboration: PromptLayer allows you to share your prompt engineering with others, making it easy to collaborate on projects with teammates or share your work with the wider community.

Getting Started

To get started with PromptLayer, you will need to sign up for an account on the PromptLayer website. Once you have created an account, install the SDK and start using the run() method to execute prompts or log_request to log your existing LLM calls. All your requests will be logged and saved to the cloud. You can access this data via the PromptLayer dashboard, which allows you to search and explore your request history, view metadata, and collaborate with others.

Pricing

PromptLayer offers flexible pricing options to suit different needs and usage levels. Here’s an overview of our pricing structure:

Free Plan

  • Perfect for hackers and individual developers
  • Includes 7 days of log retention
  • Up to 5,000 requests
  • Ideal for getting started and exploring PromptLayer’s features

Pro Plan

  • Designed for power users and small teams
  • Priced at $50/month/user
  • Unlimited log retention
  • Up to 100,000 requests
  • Full access to advanced features like evaluations, fine-tuning, and workspaces
  • Collaboration tools for team members

Enterprise Plan

  • Tailored for larger teams and organizations with specific requirements
  • Custom pricing based on needs
  • Includes all Pro features plus:
    • Shared Slack channel for support
    • Self-hosted option available
    • SOC 2 compliance
    • Custom service & data agreements
    • Dedicated evaluation workers
PromptLayer is free for most users. The Free plan provides ample resources for individuals and small projects to leverage PromptLayer’s core functionality without any cost. This allows you to integrate PromptLayer into your workflow, track your API requests, and benefit from its features without financial commitment. For those requiring more advanced features, longer data retention, or higher request volumes, the Pro and Enterprise plans offer enhanced capabilities to support your growing needs. To discuss specific requirements or to learn more about our Enterprise offerings, please contact us at hello@promptlayer.com.

Conclusion

PromptLayer is a powerful devtool that makes it easy to track, manage, and share your GPT prompt engineering. With its easy integration, prod-ready design, and collaboration features, it is an essential tool for anyone working with LLMs in production or development. Sign up for an account on the PromptLayer website to get started today!