Skip to main content

Genkit OpenAI Plugin

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_model('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.11.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.11.0
File Size Uploaded
genkit_openai-0.11.0.tar.gz 47.4 kB Details

Built distribution (wheel)

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

Total release size: 86.2 kB

Release files / genkit_openai-0.11.0.tar.gz

Download URL genkit_openai-0.11.0.tar.gz
Size 47.4 kB
Tags Source
SHA-256 checksum
How to use checksums
578896dd5cc88ddcda4c3f8396321a0cf5850f29fc3d61da647d77b3d02ed783
BLAKE2b-256 checksum
How to use checksums
e1c6bafeb9e10129ff84636f25865b63437c156aec064d11fc896dec963fe55b
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 Sep 3, 2026.

Transparency log

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

Download URL genkit_openai-0.11.0-py3-none-any.whl
Size 38.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b59d30948ad3a473d96ccf7310e85597bedaa473b374152ab95f0323e51bdcbd
BLAKE2b-256 checksum
How to use checksums
c7cb6db7e046d2013ae1a36119342d2d452e3131ca1b54287007f93509842f73
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 Sep 3, 2026.

Transparency log

Release history Release notifications | RSS feed

0.12.0

2 release files

This release

0.11.0 This release

2 release files

0.10.0

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