0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

next.jsでopenai apiを使ってみた

Posted at

どういう感じ?

使う前のイメージ

  • めっちゃお金かかる
  • 難しい

使った後のイメージ

  • 安いモデルだとぜんzお金かからない
  • 公式サイトにしたがっとけば何とかなる

基本はこれ通りにやる

とりあえず安いモデルでやるときは
Cost-optimized models Smaller, faster models that cost less to run.
って見出しの中から選べばよさそう

管理画面からできること

  • 請求情報の登録
    • 初回にチャージする形
    • チャージが無くなったら自動チャージもできるし、自動チャージ無しもできる
    • 使用制限をつけることができる
  • 使用率の確認
  • api keyの登録
    • secret keyはと登録時しか表示できないみたいなので注意
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?