Skip to content

chore: update model-to-API mapping (2026-07-02)#5804

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/update-model-api-mapping-2026-07-02-0b50c284bee968a4
Draft

chore: update model-to-API mapping (2026-07-02)#5804
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/update-model-api-mapping-2026-07-02-0b50c284bee968a4

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates docs/model-api-mapping.json based on the official OpenAI OpenAPI specification (openai/openai-openapi), specifically the ModelIdsShared and ResponsesOnlyModel schemas.

Changes

Six OpenAI model families had incorrect endpoint assignments (marked responses-only when they actually support both endpoints):

Family Before After Source
gpt-5.4* responses chat_completions, responses ModelIdsShared
gpt-5.3* responses chat_completions, responses ModelIdsShared
gpt-5.2* responses chat_completions, responses ModelIdsShared
gpt-5.1* responses chat_completions, responses ModelIdsShared
gpt-5 / gpt-5-* responses chat_completions, responses ModelIdsShared
o4* responses chat_completions, responses ModelIdsShared

Notes fixes

  • gpt-5.1: Removed non-existent gpt-5.1-codex-mini; clarified that gpt-5.1-codex-max is the ResponsesOnlyModel variant.
  • gpt-5.3: Removed unconfirmed codex variants; only gpt-5.3-chat-latest exists in the OpenAPI spec.
  • gpt-5: Clarified that gpt-5-codex and gpt-5-pro are ResponsesOnlyModel; base/mini/nano support both.
  • o4: Clarified that o4-mini supports both; o4-mini-deep-research is ResponsesOnlyModel.
  • gpt-4.1: Added confirmed sub-models (mini, nano).

Anthropic

No changes needed — current entries match the Anthropic docs (claude-fable-5, claude-opus-4-8, claude-sonnet-5, claude-haiku-4-5, claude-mythos-5 all confirmed).

Source

https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yamlModelIdsShared and ResponsesOnlyModel component schemas.

Warning

Firewall blocked 3 domains

The following domains were blocked by the firewall during workflow execution:

  • awmgmcpg
  • developers.openai.com
  • openai.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"
    - "developers.openai.com"
    - "openai.com"

See Network Configuration for more information.

Generated by 🗺️ Model API Mapping Updater · 172.7 AIC · ⌖ 9.94 AIC · ⊞ 5K ·

- Fix endpoint support for gpt-5.4, gpt-5.3, gpt-5.2, gpt-5.1: all are in
  ModelIdsShared (OpenAI OpenAPI spec), meaning they support both
  /v1/chat/completions and /v1/responses (not responses-only as before).
- Fix o4 family: o4-mini is in ModelIdsShared (both endpoints); only
  o4-mini-deep-research is ResponsesOnlyModel.
- Fix gpt-5 family: gpt-5/mini/nano support both endpoints; gpt-5-codex and
  gpt-5-pro are ResponsesOnlyModel.
- Fix gpt-5.1 notes: remove non-existent gpt-5.1-codex-mini; gpt-5.1-codex-max
  is the real ResponsesOnlyModel variant.
- Fix gpt-5.3 notes: remove unconfirmed codex variants; only gpt-5.3-chat-latest
  exists in the OpenAPI spec.
- Enrich gpt-4.1 notes with confirmed sub-models (mini, nano).
- Source: openai/openai-openapi ModelIdsShared + ResponsesOnlyModel schemas.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants