Strapi AI with your own AI provider key

Strapi AI adds assistance in the Content-type Builder, Internationalization and Media Library, and the Enterprise BYOK plugin lets you route translations and media metadata through your own OpenAI-compatible provider.

On this page

What Strapi AI with your own key does for editors and builders

Teams that want AI help inside Strapi but must control which provider and models see their content can use Strapi AI for assistance in the admin panel and bring their own provider key for the features that need one. Strapi AI adds features in three places: the Content-type Builder, Internationalization and the Media Library. In the Content-type Builder, builders get help shaping content types. In Internationalization, editors get help producing localized content. In the Media Library, teams get help with media metadata. Strapi AI can be enabled or disabled in the admin panel configuration, so a team can switch it off for an environment where content must not leave the organization's controls. Confirm the current setting names and defaults in the admin panel configuration documentation before you plan a rollout, because the feature set changes with Strapi releases.

The Enterprise Bring your own AI key plugin, @strapi-enterprise/plugin-byok, is the piece that lets your own provider power AI translations and media metadata generation. According to the Strapi documentation, it requires an Enterprise plan license and is available from version 5.57.0, and it works with a provider that offers an OpenAI-compatible API. Teams need this plugin when the question is not whether to use AI but which provider, which models and which data-processing terms apply. Teams that only need the Content-type Builder assistance or do not require provider control should check whether the built-in options meet their review requirements first. Before committing, confirm with your security and legal reviewers which data leaves the Strapi instance, where the provider processes it, and how the provider's retention terms match your policy. Ask Strapi and your provider for the current documentation on these points.

Plan the decision as a governance question with an owner. Someone must own the provider contract, the model list and the key rotation process, and editors need to know which content is sent for translation or metadata generation. Set the feature toggles per environment so that staging and production follow the same review. Record which roles can trigger AI actions, and test those permissions with a non-admin editor account before go-live. Because the plugin depends on your Enterprise license and a specific Strapi version, include both in your upgrade plan, and retest the AI features after each Strapi 5 minor update, since releases ship often and changes can affect the admin panel.

Which AI setup fits your organization

Strapi AI is the built-in set of AI features that Strapi adds to the Content-type Builder, Internationalization and the Media Library. It can be turned on or off in the admin panel configuration, so teams that do not want AI features can keep them disabled, and teams that want them can enable them without building their own provider connection. This setup suits organizations whose review focuses on the feature set rather than on a specific model endpoint. Confirm with Strapi which provider and data path the built-in features use before approving them, because your own data handling terms depend on it.

  • Configuration control: Turn the features on or off in the admin panel configuration and record which setting your environment uses.
  • No key management: Your team does not create, rotate or store a model provider key for these features.
  • Provider relationship: The model provider is chosen and operated by Strapi, so your organization has no provider account to manage.
  • Plan requirements: Ask Strapi to confirm which plan includes these features in your deployment, since the BYOK plugin has its own license requirement.
  • Data location: Ask Strapi where prompts and content are processed and whether any data leaves your infrastructure.

Before approval, check the data path, the admin panel setting in each environment and whether editors have been told which AI features are active.

Strapi AI features and the plan or setting each needs

This table maps each Strapi AI capability to where it is configured and what license or setting it needs. Read it as a checklist: confirm the plan first, then the admin panel setting, then the BYOK plugin. Items marked for verification are not confirmed in the supplied documentation and should be checked in the Strapi docs before you plan around them.

CapabilityWhere it is configuredPlan or setting needed
Content-type Builder assistanceStrapi AI features in the admin panel configurationVerify whether this runs through BYOK or Strapi's own AI service
AI translations in InternationalizationInternationalization feature with Strapi AI enabledEnterprise license and the BYOK plugin for provider calls
Media Library metadata generationMedia Library with Strapi AI enabledEnterprise license and the BYOK plugin for provider calls
Enable or disable Strapi AIAdmin panel configurationVerify the exact setting name and whether a restart is needed
Bring your own AI key pluginInstalled as @strapi-enterprise/plugin-byok from version 5.57.0Requires an Enterprise plan license
Model provider connectionBYOK plugin settings with your provider keyProvider must offer an OpenAI-compatible API
Model selectionBYOK plugin settingsVerify which models and endpoints the plugin accepts
Community or Growth plan use of BYOKNot covered in supplied materialVerify with Strapi before assuming any BYOK access

Setting up Strapi AI and the BYOK plugin

This sequence takes a Strapi project from license and version checks to a reviewed production rollout of AI translation and media metadata. Each step ends with a check, so the team knows what passed before it moves on.

  1. Confirm the Enterprise license and Strapi version

    Check that your organization holds a Strapi Enterprise plan license, since the BYOK plugin requires one, and that the project runs Strapi 5.57.0 or later. The Strapi lead or platform owner reads the Strapi version from the project's package file and confirms the license holder with the account owner. Done when you have a written record of the version and license, and the instance starts cleanly on a Node.js version that Strapi 5 supports.

  2. Install the BYOK plugin package

    In a development environment, add the @strapi-enterprise/plugin-byok package using the install method in the BYOK plugin docs and the package manager your project already uses. Rebuild the admin panel and restart the server so the plugin loads. Done when the plugin appears in the admin panel, and the lock file records a version at or above 5.57.0. Keep this change out of production until the later tests pass.

  3. Register the OpenAI-compatible provider endpoint

    Ask your AI provider for the endpoint, the API key and the list of models it offers through an OpenAI-compatible API. Enter the endpoint and key using the settings the BYOK plugin docs describe, and store the key in your secrets manager, not in source control or shared notes. Confirm with the provider which models support text translation and image input for media metadata. Done when a test request from the settings screen returns a response.

  4. Enable the Strapi AI features you need

    Strapi AI adds features to the Content-type Builder, Internationalization and the Media Library, and you can turn each one on or off in the admin panel configuration. The product owner and the content lead decide which features the editorial team needs, and the platform team applies only those settings. Done when the Content-type Builder, Internationalization and Media Library show only the AI options you approved for a test user with the intended role.

  5. Test translation on a non-production instance

    Create a second locale on a test instance, add a sample entry with localized fields, and run an AI translation from the Internationalization screen. Use illustrative content with no personal or confidential data. A bilingual reviewer checks the output for accuracy, tone and terminology, and the team confirms the translated entry stays in draft until someone publishes it. Done when the reviewer signs off the sample output and the provider's usage logs show the request.

  6. Test media metadata generation

    Upload a small set of non-sensitive test images to the Media Library and generate metadata for them. The content lead reviews the generated alt text, captions and descriptions for accuracy and for anything that could be inappropriate or misleading. Confirm that the generated values change only the test files. Done when the reviewer accepts the output or records what the model must be told to avoid, and the team has a list of issues to resolve before production.

  7. Record the configuration and approve production rollout

    Write a short runbook that names the provider, endpoint, models, enabled AI features, the roles allowed to use them, and the kinds of content that will be sent to the provider. Ask the security and privacy owners to review the data flow and the provider's data handling terms before production use. Include how the team rotates the API key and disables the plugin. Done when the approvers sign the runbook and the same configuration is applied to production.

Protecting keys, content and editorial accountability

Strapi AI sends content to a provider that you choose and pay for, so the key, the content sent and the people who trigger AI actions all need controls. The cards below cover the decisions that connect those controls to editorial sign-off.

Store the provider key outside content

The provider key authenticates every AI call the BYOK plugin makes, so treat it as a production secret. Keep it in your secrets manager or environment configuration rather than in content, plugin settings you share in exports, or source control. Confirm in the plugin docs where the key is stored, who can read it from the admin panel, and how you rotate it without a code change. Ask whether the key is scoped to a project or budget you can revoke on its own.

BYOK plugin docs

Map what leaves your infrastructure

When a translation or metadata action runs, the text or media details you select are sent to the provider endpoint you configured. Before enabling the feature, list which content types, fields, locales and media folders can reach that path. Draft content, personal data and unreleased material may need to be excluded. Confirm with the provider and your legal team whether their data handling and retention terms fit your classification rules, and whether the endpoint is hosted in a region you approve.

Restrict who can trigger AI actions

Admin roles decide who can run translations and generate media metadata, so review them as you would any action that spends money and changes content. Give AI permissions only to editors who need them, and keep them separate from roles that publish. Test the restriction with a non-privileged account in a staging instance. Also check whether the Content-type Builder AI features are available to roles that should not change schemas, because a schema change affects every editor.

Log and review AI output

AI translations and metadata can be wrong in ways that are hard to spot, such as a mistranslated legal term or an inaccurate image description. Record which entries and fields were produced or changed by AI, and keep the admin activity trail available for review. Enterprise audit logs record admin actions and keep them for a default period of 90 days, so decide whether shipping those logs to your SIEM is needed for longer retention. Confirm exactly which AI events the logs capture.

Require human approval before publishing

Tie AI output to a named human decision by placing a review stage between generation and publication. Review workflows are an Enterprise feature, so confirm your plan covers them before you design the process. Define which stage an AI-generated translation must pass, who may approve it, and whether approval is needed for each locale. Test that an AI-generated entry cannot skip the stage through a direct publish or release, since that gap is what turns an assistant into an unreviewed publisher.

Assign ownership for AI decisions

Accountability needs a named owner for the provider contract, the model choice, the list of permitted content and the approval rules. Write these down before rollout, and review them when you change models or providers, since an OpenAI-compatible endpoint can still behave differently across models. Ask your provider what changes they notify you about and how long they keep request data. Ownership is what lets your compliance team answer questions about AI-assisted content later.

How an editor's AI request reaches your provider

The request starts when an editor triggers a translation or media metadata action in the Strapi admin panel. The Strapi server running the Bring your own AI key plugin, which requires an Enterprise plan license, builds the call and sends it to the OpenAI-compatible endpoint you configure, either a provider account or a gateway you run. Generated text or metadata then returns through the same path to the editor, who reviews it before anything is saved or published. Check where the endpoint sits, which credentials the plugin holds, and what your provider logs and retains.

Editor requests travel through Strapi to the provider endpoint you control, and results return for review.

Questions teams ask before enabling Strapi AI with their own key

What does it cost to run Strapi AI with our own provider key?

The cost comes from three places: the Strapi Enterprise license that the BYOK plugin requires, charges from your AI provider for the tokens or requests it processes, and the internal or partner effort to configure and govern it. Strapi lists Enterprise pricing as custom, so the license figure comes only from a Strapi quote. Provider charges depend on the model you choose and on how much content you translate or describe, and they recur with usage. Setup and governance work is largely one-time, although model changes, prompt reviews and access reviews recur. Ask for a written quote that separates the license, the provider usage you expect to pay, and the fixed-scope work, with each line stated on its own.

How long does it take to reach a pilot with Strapi AI?

The duration depends on whether your Strapi instance already runs on version 5.57.0 or later, because the BYOK plugin, @strapi-enterprise/plugin-byok, starts at that release. Other factors include whether the Enterprise license is in place, how quickly a provider account and API credentials are approved, and how many content types and locales the pilot covers. A narrow pilot on one content type and one or two locales is usually simpler to approve than a broad rollout. No fixed duration is given here, so ask any partner or your own team to state the steps and dependencies in the written scope before work starts.

What does our team need to provide before the work starts?

Four inputs are needed before configuration begins:

  • A Strapi Enterprise license that covers the BYOK plugin, since the plugin requires an Enterprise plan.
  • An account with a provider that offers an OpenAI-compatible API, with the models you plan to use approved for your data.
  • Named content owners who can review AI translations and generated media metadata for each locale.
  • Security sign-off on where prompts and content are sent, how keys are stored and who can change the configuration.

Missing any of these usually stops the pilot at the approval step rather than at the technical step.

Can an internal team enable and run Strapi AI alone?

Yes, an internal platform team can enable and run it if it has Strapi administration skills, access to the Enterprise license and provider account, and time to review output quality. Strapi AI can be turned on or off in the admin panel configuration, so the first enablement is a configuration task rather than a build project. The harder part is governance: deciding which content types are sent to the model, who approves translations, how provider keys are rotated and how misuse is detected. Teams that lack a security reviewer or an editorial owner often bring in a partner for the governance design and the test plan.

Does enabling Strapi AI send our content to a third party?

When translations or media metadata generation run through the BYOK plugin, the content you select is sent to the AI provider you configured, so the provider becomes part of your data flow. Whether that is acceptable depends on your data classification, the provider's contract terms and where its processing happens. Confirm with the provider which data is retained and for how long, and document the content types that will be sent. Strapi AI can be disabled in the admin panel configuration if a content type or environment should stay out of scope.

How do we ask a partner for a fixed-scope quote?

Send the partner a written brief that names the Strapi version, the Enterprise license status, the content types and locales in scope, the provider and models you intend to use, and the outputs you need, such as translations, media metadata or both. Ask for the scope, deliverables, acceptance criteria and timeline in writing before work starts. DeployOpen plans most engagements as fixed-scope work, and it does not publish a price list, so a quote follows from the written scope. Ask for the quote to list configuration, governance design, testing and handover as separate items, and state which items recur after go-live.

What should we verify in our own environment before go-live?

Start by confirming that your Strapi version and Enterprise license support the BYOK plugin, then confirm that your provider's endpoint is OpenAI-compatible and that your chosen model is approved for the content involved. Test translations and media metadata on non-production content, check how editors can accept or reject output, and review the admin roles that can change AI settings. Record the configuration so it can be reviewed later. Confirm each of these points with Strapi's documentation and your provider, since the supplied facts do not cover every provider setting.

Which AI features does Strapi AI add beyond translations?

Strapi AI adds features to three areas of the admin panel: the Content-type Builder, Internationalization and the Media Library. The BYOK plugin is what connects the translation and media metadata generation to your own provider, so the Content-type Builder features are not a substitute for the plugin setup. Confirm the exact feature list for your version in the admin panel configuration documentation before you write it into a scope, because features change across releases.

What a DeployOpen Strapi AI rollout includes

A DeployOpen Strapi AI rollout is a fixed-scope engagement with the scope, deliverables and timeline agreed in writing before work starts. The first step confirms the facts the rest of the work depends on: the Strapi version in use, whether it is at or above 5.57.0 where the BYOK plugin is available, and whether the organization holds an Enterprise plan license that covers @strapi-enterprise/plugin-byok. Those checks are done with the client's Strapi account and license records, not assumed from the project setup.", "Next, the client and DeployOpen agree on the provider and models. The plugin needs a provider with an OpenAI-compatible API, so the decision covers which endpoints the content will reach, where those endpoints are hosted, what the provider's data handling terms say, and which models are approved for translation and media metadata. DeployOpen then configures the plugin inside the client's infrastructure and runs translation and metadata generation on a sample set of content chosen by the editorial team, with reviewers scoring accuracy, tone and alt text quality against the client's own style rules.", "The rollout also reviews secrets and permissions. That means where the provider key is stored, who can read or rotate it, which admin roles can enable Strapi AI features in the Content-type Builder, Internationalization and the Media Library, and whether the setup can be switched off in the admin panel configuration. The final deliverable is written documentation for the client's compliance team: configuration record, data flow, key ownership, role matrix, test results and the steps to disable or change the provider. Ask each vendor for the written scope, the acceptance criteria and what the documentation package will contain before you sign."]}

How DeployOpen works on this

DeployOpen is a Chainscore Labs company that plans, implements, integrates and supports self-hosted open-source platforms inside your own infrastructure. For Strapi AI with your own AI provider key, we scope the configuration, build and test it against your provider and models, and hand over documentation your compliance and engineering teams can review.

How we scope

  • Written scope lists which Strapi AI features are enabled in the admin panel and which are excluded.
  • We confirm your Strapi edition and whether the Enterprise BYOK plugin license is in place before build starts.
  • Scope names the content types, locales and media workflows where AI translations and metadata generation apply.
  • We record your OpenAI-compatible provider, model list and the data each AI feature may send externally.

How we build

  • We install and configure the BYOK plugin in your Strapi 5 project from the version your team has approved.
  • API keys are stored as secrets in your infrastructure, with access limited to the roles that need them.
  • We set admin permissions so only approved editors can trigger AI translations and media metadata generation.
  • Configuration is tracked in version control and promoted through your development, staging and production environments.

How we hand over

  • You receive a written configuration record covering enabled features, provider endpoint, model choices and secret locations.
  • Test results show AI translation and media metadata output checked against your editorial review steps.
  • Runbooks explain how to rotate provider keys, switch models and disable Strapi AI features if needed.
  • Documentation gives your security and compliance teams the evidence they need for their own review.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Support can cover Strapi minor version updates and re-testing of the BYOK plugin after each upgrade.
  • We can re-run security testing of AI-assisted editorial features when providers or models change.
  • Ask any partner for a quote that itemizes scope, testing, documentation and retainer terms in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.