Skip to main content

Genkit OpenAI Plugin

Preview — This plugin is in preview and may have API changes in future releases.

OpenAI-compatible model provider for Genkit (OpenAI, Azure OpenAI, and other compatible endpoints).

Installation

uv add genkit-openai

Usage

from genkit import Genkit
from genkit_openai import OpenAI

ai = Genkit(plugins=[OpenAI()])

res = await ai.generate(
    model='openai/gpt-5.2',
    prompt='Suggest 2 catchy names for an AI newsletter.',
)
print(res.text)

Set OPENAI_API_KEY in the environment, or pass api_key= to OpenAI().

Release files for genkit-openai 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genkit-openai 0.10.0
File Size Uploaded
genkit_openai-0.10.0.tar.gz 38.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for genkit-openai 0.10.0
File Interpreter ABI Platform
genkit_openai-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 72.9 kB

Release files / genkit_openai-0.10.0.tar.gz

Download URL genkit_openai-0.10.0.tar.gz
Size 38.2 kB
Tags Source
SHA-256 checksum
How to use checksums
33642d4928e14d5d3f9ebdcfd860679a26b77b069c95c8442ead452d527d72ee
BLAKE2b-256 checksum
How to use checksums
a9aa69d889d72f73b939b633d4d20a48b8e3360828b30f6053a4625c29d02a74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.

Transparency log

Release files / genkit_openai-0.10.0-py3-none-any.whl

Download URL genkit_openai-0.10.0-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eed3c06489c43d391b404761a70f6f85ddb6c5605595e0dbcf4d56af18d0c167
BLAKE2b-256 checksum
How to use checksums
1f6d11e0053d48f66c419d91b6b6d494cc37252e5e36605b8d9132ba5d9691b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.12.0

2 release files

This release

0.10.0 This release

2 release files

0.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page