Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ai-box
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
青山
ai-box
Commits
74b7f0bc
Commit
74b7f0bc
authored
6 months ago
by
fisherdaddy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update openai price
parent
c254f91f
main
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
PricingCharts.jsx
src/components/PricingCharts.jsx
+1
-1
openai-pricing.json
src/data/openai-pricing.json
+17
-5
PricingChart.css
src/styles/PricingChart.css
+1
-1
No files found.
src/components/PricingCharts.jsx
View file @
74b7f0bc
...
...
@@ -11,7 +11,7 @@ import LoadingOverlay from './LoadingOverlay';
const
PricingCharts
=
()
=>
{
useScrollToTop
();
const
isLoading
=
usePageLoading
();
const
lastUpdateTime
=
'2024-1
1-06 21:30
'
;
const
lastUpdateTime
=
'2024-1
2-18 19:56
'
;
return
(
<>
...
...
This diff is collapsed.
Click to expand it.
src/data/openai-pricing.json
View file @
74b7f0bc
...
...
@@ -33,22 +33,34 @@
"outputPrice"
:
12
},
{
"name"
:
"o1
-preview
"
,
"name"
:
"o1"
,
"logo"
:
"/assets/icon/openai_small.svg"
,
"inputPrice"
:
15
,
"outputPrice"
:
60
},
{
"name"
:
"gpt-4o-mini-audio-preview"
,
"logo"
:
"/assets/icon/openai_small.svg"
,
"inputPrice"
:
10
,
"outputPrice"
:
20
},
{
"name"
:
"gpt-4o-audio-preview"
,
"logo"
:
"/assets/icon/openai_small.svg"
,
"inputPrice"
:
2.5
,
"outputPrice"
:
1
0
"inputPrice"
:
100
,
"outputPrice"
:
20
0
},
{
"name"
:
"gpt-4o-realtime-preview"
,
"name"
:
"gpt-4o-
mini-
realtime-preview"
,
"logo"
:
"/assets/icon/openai_small.svg"
,
"inputPrice"
:
5
,
"inputPrice"
:
10
,
"outputPrice"
:
20
},
{
"name"
:
"gpt-4o-realtime-preview"
,
"logo"
:
"/assets/icon/openai_small.svg"
,
"inputPrice"
:
100
,
"outputPrice"
:
200
}
]
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/styles/PricingChart.css
View file @
74b7f0bc
...
...
@@ -178,7 +178,7 @@
/* margin-top: 35px; */
line-height
:
16px
;
padding-top
:
-11px
;
width
:
8
0px
;
width
:
10
0px
;
text-align
:
right
;
height
:
40px
;
word-break
:
break-all
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment