Skip to content
PluginStats

@opeoginni/github-copilot-openai-compatible weekly downloads statistics

By opeoginni · npm · AI SDKs

GitHub Copilot API OpenAI-Compatible Provider for AI SDK

View on npm Fresh · Oct 17, 2026

@opeoginni/github-copilot-openai-compatible has 2,075 recorded weekly downloads on npm, a decrease of 79.5% over the past 30 days.

It ranks #1282 of 2,256 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +21.1%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
2,075
Official API · Oct 17, 2026
7-day growth
-41.5%
-1.5K weekly downloads
30-day growth
-79.5%
-8K weekly downloads
90-day growth
+21.1%
+362 weekly downloads
Rank
#1282
Among tracked npm listings

About @opeoginni/github-copilot-openai-compatible

GitHub Copilot OpenAI-Compatible Provider for AI SDK

This package provides an OpenAI-compatible interface for GitHub Copilot API, designed to work seamlessly with Vercel AI SDK v6.

Features

• Full TypeScript support • Seamless integration with Vercel AI SDK v6 • Easy to use API matching other AI SDK providers • Automatic endpoint switching: Uses /responses endpoint for Codex models, /chat/completions for others • Smart request formatting: Automatically converts messages array to OpenAI Responses API input format for Codex models

Installation

AI SDK v6 (Current)

AI SDK v5

If you need AI SDK v5 support, use the ai-v5 tag:

Authentication

Getting Your Token

To get your GitHub Copilot API token, check out opencode-copilot-auth.

Required Headers

GitHub Copilot requires specific headers for authentication. While the provider handles your API key, you may need to configure additional headers:

These headers identify your application to GitHub Copilot. You may need to update version numbers based on your integration.

Usage

Quick Start

Supported Models

Codex Models (Uses /responses endpoint)

This package fully supports OpenAI's Codex models, which use the advanced OpenAI Responses API:

• gpt-5-codex - GPT-5 Codex • gpt-5.1-codex - GPT-5.1 Codex • gpt-5.1-codex-mini - GPT-5.1 Codex Mini • gpt-5.1-codex-max - GPT-5.1 Codex Max

Other Models

For non-Codex models (standard chat completions), check your GitHub Copilot settings to see which models are available to you. You can use any model ID that Copilot supports - they'll automatically route to the /chat/completions endpoint.

Note: GitHub Copilot may provide access to various models (Claude, GPT, Gemini, etc.) based on your subscription. Check your Copilot settings for the full list of available models.

How It Works

Endpoint Routing

The provider automatically routes requests to the correct endpoint based on the model ID:

• Codex Models (gpt-5-codex or any model containing 'codex'): • Uses /responses endpoint • Converts messages array to OpenAI Responses API input format • Transforms message content parts (e.g., text → input_text, image_url → input_image) • System messages become developer role messages • All Other Models: • Uses standard /chat/completions endpoint • Uses standard OpenAI-compatible messages array format

This means you don't need to worry about the underlying API differences - the provider handles it automatically!

API Reference

createGithubCopilotOpenAICompatible(options)

Creates a new GitHub Copilot provider instance.

Options: • apiKey?: Your GitHub Copilot API token • baseURL?: Base URL for API calls (default: https://api.githubcopilot.com) • name?: Provider name (default: githubcopilot) • headers?: Custom headers to include in requests • fetch?: Custom fetch implementation

Returns: A provider instance.

githubCopilot

Pre-configured default provider instance. For production use, create your own instance with proper headers:

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • github
  • copilot
  • openai
  • compatible
  • llm

Where @opeoginni/github-copilot-openai-compatible sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,256 listings · 113 pages · page 65, #3 (overall #1283)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs250 listings · 13 pages · page 6, #7 (overall #107)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@opeoginni/github-copilot-openai-compatible weekly downloads on npm, last 90 days: 2,075 weekly downloads as of Oct 17, 2026, +21.1% over 90 days.@opeoginni/github-copilot-openai-compa…Weekly downloads on npm · Last 90 days2,075downloads / week+21.1% over 90 days02K4K6K8K10K12K14K16KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
@opeoginni/github-copilot-openai-compatible weekly downloads on npm, last 90 days: 2,075 weekly downloads as of Oct 17, 2026, +21.1% over 90 days.
PNG SVG

7/30/90-day growth

@opeoginni/github-copilot-openai-compatible weekly downloads growth on npm: -41.5% over 7 days, -79.5% over 30 days, +21.1% over 90 days.@opeoginni/github-copilot-openai-compa…Weekly downloads growth on npm2,075downloads / week now7-day growth-1,470 weekly downloads-41.5%30-day growth-8,048 weekly downloads-79.5%90-day growth+362 weekly downloads+21.1%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@opeoginni/github-copilot-openai-compatible weekly downloads growth on npm: -41.5% over 7 days, -79.5% over 30 days, +21.1% over 90 days.
PNG SVG

Ranking history

@opeoginni/github-copilot-openai-compatible npm ranking history: currently #1282 (by weekly downloads).@opeoginni/github-copilot-openai-compa…npm ranking · by weekly downloads · Last 90 days#1282current rank#1278#1279#1280#1281#1282#1283#1284Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@opeoginni/github-copilot-openai-compatible npm ranking history: currently #1282 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for @opeoginni/github-copilot-openai-compatible
Date (UTC)Weekly downloadsChange vs. previous
2,075-452
2,527-269
2,796-1.3K
4,083-440
4,5230
4,523+751
3,772+227
3,545-60
3,605+299
3,306+871
2,435-378
2,813-929
3,742-1.3K
5,047—

Similar npm AI SDKs plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@opeoginni/github-copilot-openai-compatible. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.