You can get the pricing of models by calling Get Models
OpenAI Models are currently 1/2 off!
OpenAI models are priced based on the following:
- a
modeldiv
of 1 costs 1000 credits per thousand tokens, which is the same price as GPT-4. - Divide .06 by the
modeldiv
, and you will get the cost for a thousand completion tokens. - To get the price of prompt tokens, divide the number you get above by the
promptm
PaLM 2 - 1 credit = 120 characters
Vicuna13b and StableLM are charged by each second of GPU use. It varies, but their prices are comparable to GPT-4.
LLaMA 2 is charged by each second of GPU usage. The price seems to be about the same as GPT-3.5.
Cohere costs .25 credits per Cohere token.
Most image models can be found with the Get Models endpoint.
Video models are charged by second of GPU usage, and it varies. DAMO costs ~300 credits, VideoCrafter costs ~2,000 credits. The other models are more unpredictable.
Music Generation varies wildly based on inputs.
OpenAI Moderations is free, and Perspective is 1 credit per call.
TTS costs .2666 credits per byte of text