Skip to content

Conversation

@ben-vargas
Copy link
Contributor

Description

This PR adds documentation for the ai-sdk-provider-codex-cli community provider, which enables using OpenAI's GPT-5 series models through the Codex CLI.

What does this PR do?

  • Adds documentation for the Codex CLI provider at content/providers/03-community-providers/101-codex-cli.mdx
  • Updates the community providers list in content/docs/02-foundations/02-providers-and-models.mdx

Key Features

The Codex CLI provider offers access to OpenAI's latest models:

  • GPT-5 Model Families - Support for gpt-5.2-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini, and legacy models
  • Reasoning Configuration - Multiple effort levels from 'none' to 'xhigh'
  • Sandbox & Approval Modes - Fine-grained control over tool execution
  • Subscription Support - Use ChatGPT Plus/Pro subscription or API key authentication
  • Version Compatibility - Works with AI SDK v6 and v5

Notes

This provider is particularly useful for developers who have a ChatGPT Plus/Pro subscription and want to use OpenAI's GPT-5 models with the Vercel AI SDK without managing API keys separately.

Testing

  • Documentation follows the existing community provider format
  • All installation methods (npm, pnpm, yarn, bun) are documented
  • Model capabilities table accurately reflects the provider's features
  • Links to the provider repository are working

@vercel-ai-sdk vercel-ai-sdk bot added ai/provider documentation Improvements or additions to documentation provider/community labels Jan 3, 2026
@ben-vargas ben-vargas force-pushed the docs/codex-cli-provider branch from 425e840 to 5a9e693 Compare January 3, 2026 00:18
Add documentation for ai-sdk-provider-codex-cli, which enables using
OpenAI's GPT-5 series models through the Codex CLI. Useful for developers
who want to use their ChatGPT Plus/Pro subscription or API key.

Features:
- GPT-5.2, GPT-5.1, and GPT-5 model families
- Reasoning configuration with multiple effort levels
- Sandbox and approval mode settings
- Version compatibility for AI SDK v6 and v5
@ben-vargas ben-vargas force-pushed the docs/codex-cli-provider branch from 5a9e693 to 321e952 Compare January 3, 2026 00:22
@lgrammel
Copy link
Collaborator

lgrammel commented Jan 5, 2026

Thanks! Please resolve the conflicts.

…ider

# Conflicts:
#	content/docs/02-foundations/02-providers-and-models.mdx
@ben-vargas
Copy link
Contributor Author

Resolved conflict caused by the opencode provider merge.

@lgrammel lgrammel enabled auto-merge (squash) January 5, 2026 20:25
@lgrammel lgrammel merged commit 55b868c into vercel:main Jan 5, 2026
17 of 18 checks passed
@ben-vargas
Copy link
Contributor Author

@lgrammel - thanks for taking the time to address all those doc maintenance PRs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider documentation Improvements or additions to documentation provider/community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants