-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpricing.yaml
More file actions
20 lines (18 loc) · 859 Bytes
/
Copy pathpricing.yaml
File metadata and controls
20 lines (18 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# OpenAI API pricing per 1M tokens (USD).
#
# Verify against https://openai.com/api/pricing/ when adding models or when
# rates change. Models not listed here resolve to $0 cost in summary.json
# (correct for local servers and other endpoints not billed per token).
# Tokens are still recorded regardless of pricing presence.
#
# Schema: <model_id>: { input: <USD per 1M>, output: <USD per 1M> }
# Chat completions
gpt-5-nano: { input: 0.05, output: 0.40 }
gpt-5-mini: { input: 0.25, output: 2.00 }
gpt-4.1-nano: { input: 0.10, output: 0.40 }
gpt-4.1-mini: { input: 0.40, output: 1.60 }
gpt-4o-mini: { input: 0.15, output: 0.60 }
gpt-4o: { input: 2.50, output: 10.00 }
# Embeddings (no output cost; kept at 0 for schema uniformity)
text-embedding-3-small: { input: 0.02, output: 0.00 }
text-embedding-3-large: { input: 0.13, output: 0.00 }