Portkey logo

Portkey + Memtro

What are we spending on each model, and which prompt version is live?

Portkey shows you how your AI gateway is used. It reads requests, cost, tokens, latency, errors and cache hit rate over time, split by model, provider, workspace or a metadata key. It also reads gateway configs, prompts and their versions, collections, workspaces and the audit log. When asked and granted, it can record feedback on a trace and create, change, publish or delete a prompt. It can also create, change or delete a config, create a workspace and invite a person. Workspaces, invitations and the audit log need an Admin key. Memtro never reads request logs.

In Memtro

What you can do with Portkey in Memtro

Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right Portkey tool, reads what it needs, and answers with the source cited.

What it does

  1. 01Shows requests, cost, tokens, latency at p50, p90 and p99, errors and cache hit rate over any period.
  2. 02Splits a period's requests and cost by model, provider, workspace or the values of a metadata key.
  3. 03Reads gateway configs, prompt templates with their versions, collections, workspaces and the audit log.
  4. 04When asked and granted, records a feedback score on the requests in a trace.
  5. 05When asked and granted, creates, changes or deletes prompts and configs, or sets a prompt's live version, which every caller then gets.
  6. 06When asked and granted, creates a workspace or invites a person, and Portkey emails them the invitation.

Acts when asked

When you ask it to

These tools change something in Portkey. The model is told to use them only when you ask for exactly that, and an administrator grants each one by name to the teams that may use it; a personal connection acts only after its owner allows it.

  1. 01Record feedback (a score) on a request trace
  2. 02Create a prompt template
  3. 03Change a prompt, saving a new version
  4. 04Set which version of a prompt is live
  5. 05Delete a prompt
  6. 06Create a gateway config
  7. 07Change a gateway config that live traffic uses
  8. 08Delete a gateway config
  9. 09Create a workspace
  10. 10Invite a person to the organisation with a role
In practice

Ask it like you would a colleague

Once Portkey is connected, these are the kinds of things people ask. Plain questions, no syntax. If the answer lives partly in another system you have connected, Memtro looks there too.

Portkey logoPortkey + Memtro
  • How much did we spend on gpt-4o last week?

  • Which model had the highest error rate this month?

  • What was our cache hit rate over the last 30 days?

  • Which prompts are in the support collection?

  • Who changed the production config this week?

01

Spend by model

Priya Sharma, head of platform at Acme Ltd, asked which models drove last month's AI spend. Memtro split cost and requests by model from Portkey's analytics and named the most expensive one.

02

Promoting a prompt version

Tom Reilly, an engineer at Northwind, asked Memtro to make the latest version of the triage prompt live. With the action granted, Memtro set it as the default, and every caller of the prompt got that version from then on.

Teams

Where it fits

The teams that lean on Portkey most, a question each of them asks, and what they connect beside it.

Better together

Works with

A record in Portkey is rarely the whole story. Connect the systems that hold the rest and Memtro checks them together, then remembers what it learned so the next question starts further along.

Also in Engineering and operations

Using something else for the same job, or both? Each connector has its own tools; connect as many as you like.

Setup

How to connect

Connect withAPI key
  1. 1

    In Portkey open API Keys. Create an Admin API key for the whole organisation (Owner or Admin), or a Workspace API key for one workspace.

  2. 2

    In Memtro open Connections → Portkey and paste the API key.

  3. 3

    An administrator grants the prompt, config, workspace and invitation actions by name to the teams that may use them. A Workspace key's scopes also limit what it may change.

  4. 4

    Ask: how much did we spend on gpt-4o last week?

Also works from

Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The Portkey tools are the same everywhere.

FAQ

Questions

Can Memtro change anything in Portkey?+

Only when you ask, and only what it has been granted: record feedback (a score) on a request trace; create a prompt template; change a prompt, saving a new version; set which version of a prompt is live; delete a prompt; create a gateway config; change a gateway config that live traffic uses; delete a gateway config; create a workspace; invite a person to the organisation with a role. Every other tool reads, searches or lists. The Connections page labels the tools that act, an administrator grants each one by name to the teams that may use it, and a personal connection acts only after its owner allows it.

Who can use a Portkey connection?+

A personal connection serves only your own requests. A shared connection serves the organisation: everyone, or only the teams an admin chooses. Admins can always add shared connections; other members need the permission.

Does Memtro store my Portkey data?+

Credentials are encrypted at rest. Tool results are cached briefly so agent loops do not repeat identical calls, and the facts the model extracts are saved to your organisation's memory with provenance (system, record and link) so they can be checked and superseded.

How do I connect Portkey?+

API key. In Portkey open API Keys. Create an Admin API key for the whole organisation (Owner or Admin), or a Workspace API key for one workspace.

Connect Portkey in a few minutes

Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time