AI GATEWAY for engineers

Analyze and optimize your AI features.

Log requests, add caching, and run experiments. Just two lines of code to get started.

Trusted by innovative engineering teams

How it works

observe
Log requests
query
Analyze usage
OPTIMIZE
Run experiments
Data pipeline from OpenAI to Postgres
easy onboarding

Add 2 lines of code to get started

Warehouse every OpenAI and Anthropic request to your PostgreSQL database. Use logs to analyze, evaluate, and generate datasets.

Website code snippet example of base URL
Code snippet of JSON object
analyze models

Analyze usage & run experiments

We store a customizable JSON object so you can granularly monitor usage, calculate cost, run evaluations, and fine-tune models.

reduce costs

Optimize with caching & batching

Enable caching to reduce costs and latency. Get full transparency into OpenAI's Batch and Files APIs using our built-in proxy support.

code snippet for enabling caching in the header

AI gateway designed for engineers

Customer testimonial: Blaze AI

"We experiment with LLM models, settings, and optimizations. Velvet made it easy to implement logging and caching. And we're storing training sets to eventually fine-tune our own models.

Chirag Mahapatra
Customer testimonial: Revo AI

"Velvet gives us a source of truth for what's happening between the Revo copilot, and the LLMs it orchestrates. We have the data we need to run evaluations, calculate costs, and quickly resolve issues."

Mehdi Djabri
CEO, Revo.pm
Customer testimonial: Find AI

"Our engineers use Velvet daily. It monitors AI features in production, even opaque APIs like batch. The caching feature reduces costs significantly. And, we use the logs to observe, test, and fine-tune."

Philip Thomas
CTO, Find AI
Use velvet

Flexible infrastructure for scale

table icon
Warehouse logs

Log every request to your database. Include custom metadata.

code icon
Analyze usage & costs

We store data as a JSON object so you can granularly query logs.

send icon
Cache requests

Return identical results in milliseconds. Reduce costs and latency.

graph icon
Batch jobs

Unlock extra data so you can query each file inside the batch.

sparkle icon
Evaluate & experiment

Utilize datasets for model evaluations, prompt testing, and fine-tuning.

groupings icon
AI SQL editor

Use an editor that automates SQL on top of large datasets.

AI gateway

Analyze and optimize your AI features

Free up to 100k requests per month.

2 lines of code to get started.

Try Velvet for free

Q & A

Who is Velvet made for?
How do I get started?
Which models and DBs do you support?
What are common use cases?
How much does it cost?

Articles from Velvet

Engineering
Why Find AI logs OpenAI requests with Velvet

AI-powered B2B search engine logged 1,500 requests per second.

Engineering
Create a fine-tuning dataset for gpt-4o-mini

Use Velvet to identify and export a fine-tuning dataset.

Engineering
Cache LLM requests to reduce latency and costs

Return results in milliseconds and don't waste calls on identical requests.