Skip to content

[BOT ISSUE] OpenAI: add missing pricing for chat-latest #835

Description

@github-actions

Summary

The chat-latest model exists in the catalog (packages/proxy/schema/model_list.json, line ~11688) but has no pricing fields. The OpenAI pricing page lists explicit pricing for this model.

Affected Models

Model ID Provider Gap
chat-latest openai Missing input_cost_per_mil_tokens, output_cost_per_mil_tokens, input_cache_read_cost_per_mil_tokens

Current catalog entry

"chat-latest": {
  "format": "openai",
  "flavor": "chat",
  "multimodal": true,
  "displayName": "GPT Chat Latest",
  "reasoning": true,
  "max_input_tokens": 128000,
  "max_output_tokens": 16384,
  "available_providers": [
    "openai",
    "azure"
  ]
}

Verification

Check Source URL
Pricing confirmed OpenAI pricing page https://developers.openai.com/docs/pricing
Model already in catalog model_list.json line ~11688 Local file
Prior issue #586 added model but pricing was not applied GitHub issue history #586

The OpenAI pricing page lists chat-latest under "Specialized models" with:

  • Input: $5.00 / 1M tokens
  • Cached input: $0.50 / 1M tokens
  • Output: $30.00 / 1M tokens

Local files inspected

  • packages/proxy/schema/model_list.jsonchat-latest entry at line ~11688 has no pricing fields
  • packages/proxy/scripts/sync_models.tschat-latest is not in SYNC_PRESERVED_FIELDS or SYNC_EXCLUDED_MODELS

Proposed changes

Add the three pricing fields to the existing entry:

"chat-latest": {
  "format": "openai",
  "flavor": "chat",
  "multimodal": true,
  "input_cost_per_mil_tokens": 5,
  "output_cost_per_mil_tokens": 30,
  "input_cache_read_cost_per_mil_tokens": 0.5,
  "displayName": "GPT Chat Latest",
  "reasoning": true,
  "max_input_tokens": 128000,
  "max_output_tokens": 16384,
  "available_providers": [
    "openai",
    "azure"
  ]
}
{
  "kind": "cost_update",
  "provider": "openai",
  "models": ["chat-latest"],
  "status": "missing_pricing",
  "model_specs": {
    "chat-latest": {
      "input_cost_per_mil_tokens": 5,
      "output_cost_per_mil_tokens": 30,
      "input_cache_read_cost_per_mil_tokens": 0.5
    }
  },
  "source_urls": [
    "https://developers.openai.com/docs/pricing"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions