Skip to content
OptimeterOpen in Optimeter

Connect Other AI service with usage per token (for example Mistral) to Optimeter

These are the ways to get the cost of Other AI service with usage per token (for example Mistral) into Optimeter, best first. They are the same steps the guide in the app shows.

Upload in Optimeter's format

For a service that is not in the list: fill in Optimeter's template and upload it, once a month. Mistral: its Admin API key can also write, so Optimeter does not ask for it.

3 steps, about 12 min. Every month.

  1. Enter the source name

    In Optimeter

    Write the service's name in lower case, for example mistral. The same name is used every month.

  2. Download the template and fill it in

    In Optimeter

    Download the template (only the header row) and read the column guide: one line per column with an example value. Fill in one row per day and key.

  3. Upload the file

    In Optimeter

    Upload the file. Optimeter shows what would be saved before anything is saved.

Common mistakes

The file has other columns than the template.
Start from the template and do not change the column headers.
The same service shows twice.
The source name was written differently. Use exactly the same source name every time.

Send to Optimeter's API

Your own system sends the usage to Optimeter with an Optimeter key. Done once.

3 steps, about 5 min. Once.

What Optimeter may read: The Optimeter key can only send usage to your organization in Optimeter. It is shown once and stored only as a checksum.

  1. Create an Optimeter key

    In Optimeter

    Create the key here in the step. It is shown only once; store it in your system.

  2. Copy the example

    In Optimeter

    Copy the example: the address, the header Authorization: Bearer $OPTIMETER_KEY and one post in JSON with your source name.

  3. Send a test post

    In Optimeter

    Send the example with ?dry_run=1 in the address. The guide shows the answer, for example that one post would be created. The test post is never saved.

Common mistakes

The same service shows twice.
The source name was written differently. Use exactly the same source name in every post.