Skip to content

feat: add Mistral AI as a new provider#607

Open
welcoMattic wants to merge 1 commit intosteipete:mainfrom
welcoMattic:main
Open

feat: add Mistral AI as a new provider#607
welcoMattic wants to merge 1 commit intosteipete:mainfrom
welcoMattic:main

Conversation

@welcoMattic
Copy link

Add support for tracking Mistral AI platform usage via the admin console billing API. This is a cookie-based provider (similar to OpenCode/Cursor) that fetches monthly token consumption and computes costs from the response pricing data.

Authentication uses Ory Kratos session cookies (ory_session_*) with CSRF token support. Supports both automatic browser cookie import (Chrome by default) and manual cookie header entry.

Closes #220

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 11d5459c03

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Add support for tracking Mistral AI platform usage via the admin console
billing API. This is a cookie-based provider (similar to OpenCode/Cursor)
that fetches monthly token consumption and computes costs from the
response pricing data.

Authentication uses Ory Kratos session cookies (ory_session_*) with CSRF
token support. Supports both automatic browser cookie import
(Chrome by default) and manual cookie header entry.

Closes steipete#220

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding Mistral as Provider

1 participant