Skip to main content

Publisher Overview

As a publisher on Vexrail, you monetize your AI-powered application by serving contextual ad placements inside AI conversations. When your AI app responds to a user, Vexrail can include relevant product recommendations from advertisers -- and you earn revenue from each click.

How Publishing Works

  1. You create a project that represents your AI application and verify its domain.
  2. You generate API keys for authentication.
  3. You integrate the Vexrail API into your AI application using any OpenAI-compatible SDK.
  4. You enable monetization on your project.
  5. When users interact with your AI app, Vexrail serves contextual product recommendations within the responses.
  6. You earn revenue from each click on a promoted product.

Dashboard

Your publisher dashboard gives you an at-a-glance view of:

  • Earnings -- Your total earnings from ad revenue.
  • Total Projects -- The number of publisher projects.
  • Monetization Active -- How many of your projects have monetization enabled.
  • Daily stats -- Performance charts showing impressions, clicks, and earnings over time.
  • Project cards -- Each project with its monetization status.
  • Quick Start Guide -- A four-step guide to help you get up and running.

Integration at a Glance

The Vexrail API is OpenAI-compatible. If your AI application already uses the OpenAI SDK, LangChain, Vercel AI SDK, or OpenRouter, integration requires changing just the base URL and adding authentication headers. There is no need to rewrite your application logic.

Your AI App → Vexrail API (api.vexrail.com) → LLM Provider

Vexrail sits between your application and the LLM. It proxies requests, handles ad placement, and returns the response with contextual promotions when monetization is enabled.

Workflow

Here is the typical workflow for a publisher:

Create Project → Verify Domain → Generate API Keys → Integrate API → Enable Monetization → Start Earning

Each step is covered in detail in the following guides: