Skip to content

Add missing OpenRouter OpenAI models - #1036

Closed
audrzejq wants to merge 1 commit into
anomalyco:devfrom
audrzejq:add-missing-openrouter-openai-models
Closed

audrzejq wants to merge 1 commit into
anomalyco:devfrom
audrzejq:add-missing-openrouter-openai-models

Conversation

@audrzejq

Copy link
Copy Markdown

Add missing openai models from OpenRouter

Adds TOML configurations for 32 models available on OpenRouter that were missing from the registry:

  • openai/gpt-5.3-codex
  • openai/gpt-audio
  • openai/gpt-audio-mini
  • openai/gpt-5-image-mini
  • openai/o3-deep-research
  • openai/o4-mini-deep-research
  • openai/gpt-4o-audio-preview
  • openai/o3-pro
  • openai/o4-mini-high
  • openai/o3
  • openai/gpt-4.1-nano
  • openai/o1-pro
  • openai/gpt-4o-mini-search-preview
  • openai/gpt-4o-search-preview
  • openai/o3-mini-high
  • openai/o3-mini
  • openai/o1
  • openai/gpt-4o-2024-11-20
  • openai/gpt-4o-2024-08-06
  • openai/gpt-4o-mini-2024-07-18
  • openai/gpt-4o-2024-05-13
  • openai/gpt-4o
  • openai/gpt-4o:extended
  • openai/gpt-4-turbo
  • openai/gpt-3.5-turbo-0613
  • openai/gpt-4-turbo-preview
  • openai/gpt-4-1106-preview
  • openai/gpt-3.5-turbo-instruct
  • openai/gpt-3.5-turbo-16k
  • openai/gpt-4-0314
  • openai/gpt-4
  • openai/gpt-3.5-turbo

Field mapping from OpenRouter API:

  • name → name
  • pricing.prompt × 1M → cost.input
  • pricing.completion × 1M → cost.output
  • pricing.input_cache_read × 1M → cost.cache_read
  • pricing.input_cache_write × 1M → cost.cache_write
  • context_length → limit.context
  • top_provider.max_completion_tokens → limit.output
  • architecture.input_modalities / output_modalities → modalities
  • supported_parameters includes tools → tool_call
  • supported_parameters includes response_format/structured_outputs → structured_output
  • supported_parameters includes reasoning → reasoning
  • hugging_face_id non-empty → open_weights

Source: https://openrouter.ai/api/v1/models

@rekram1-node

Copy link
Copy Markdown
Collaborator

Closing this out because the OpenRouter OpenAI model updates are already present/superseded in dev and this PR now has merge conflicts.

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.

2 participants