Skip to content

Instantly share code, notes, and snippets.

@qpwo
Created September 19, 2025 04:40
Show Gist options
  • Save qpwo/8ac5b25602c332b04862c6f2359391f7 to your computer and use it in GitHub Desktop.
Save qpwo/8ac5b25602c332b04862c6f2359391f7 to your computer and use it in GitHub Desktop.
all openai models
allopenaimodels = [
"openai/gpt-5-chat", # 128K context $1.25/M input tokens $10/M output tokens # expensive !
"openai/gpt-5", # 400K context $0.625/M input tokens $5/M output tokens
"openai/gpt-5-mini", # 400K context $0.25/M input tokens $2/M output tokens
"openai/gpt-5-nano", # 400K context $0.05/M input tokens $0.40/M output tokens
"openai/gpt-oss-120b", # 131K context $0.05/M input tokens $0.25/M output tokens
"openai/gpt-oss-20b", # 131K context $0.04/M input tokens $0.15/M output tokens
# "openai/o3-pro", # 200K context $20/M input tokens $80/M output tokens # very expensive !!
"openai/codex-mini", # 200K context $1.50/M input tokens $6/M output tokens
"openai/o4-mini-high", # 200K context $1.10/M input tokens $4.40/M output tokens
"openai/o3", # 200K context $2/M input tokens $8/M output tokens
"openai/o4-mini", # 200K context $1.10/M input tokens $4.40/M output tokens
"openai/gpt-4.1", # 1.05M context $2/M input tokens $8/M output tokens
"openai/gpt-4.1-mini", # 1.05M context $0.40/M input tokens $1.60/M output tokens
"openai/gpt-4.1-nano", # 1.05M context $0.10/M input tokens $0.40/M output tokens
# "openai/o1-pro", # 200K context $150/M input tokens $600/M output tokens # very expensive !!
# "openai/gpt-4o-mini-search-preview", # 128K context $0.15/M input tokens $0.60/M very output tokens
# "openai/gpt-4o-search-preview", # 128K context $2.50/M input tokens $10/M output tokens # very expensive !!
"openai/o3-mini-high", # 200K context $1.10/M input tokens $4.40/M output tokens
"openai/o3-mini", # 200K context $1.10/M input tokens $4.40/M output tokens
# "openai/o1", # 200K context $15/M input tokens $60/M output tokens # very expensive !!
"openai/gpt-4o-2024-11-20", # 128K context $2.50/M input tokens $10/M output tokens # expensive !
"openai/o1-mini", # 128K context $1.10/M input tokens $4.40/M output tokens
"openai/o1-mini-2024-09-12", # 128K context $1.10/M input tokens $4.40/M output tokens
"openai/chatgpt-4o-latest", # 128K context $5/M input tokens $15/M output tokens # expensive !
"openai/gpt-4o-2024-08-06", # 128K context $2.50/M input tokens $10/M output tokens # expensive !
"openai/gpt-4o-mini", # 128K context $0.15/M input tokens $0.60/M output tokens
"openai/gpt-4o-mini-2024-07-18", # 128K context $0.15/M input tokens $0.60/M output tokens
"openai/gpt-4o", # 128K context $2.50/M input tokens $10/M output tokens # expensive !
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment