Try Bifrost Enterprise free for 14 days.
Request access

ft:davinci-002 Cost Calculator - Text-completion-openai

Calculate the cost of using ft:davinci-002 from Text-completion-openai for your AI applications

Pricing data last updated:

ft:davinci-002 Cost Calculator

Mode: Completion

Max: 16,384 tokens

Max: 4,096 tokens

Cost Breakdown

Input Cost$0.012000
Output Cost$0.012000
Total Cost$0.024000

Pricing Details

Input: $0.00001200 per token
Output: $0.00001200 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Limits

Max Input Tokens16,384
Max Output Tokens4,096
Max Tokens4,096

About ft:davinci-002

ft:davinci-002 is a completion model from Text-completion-openai, one of 6 completion models they offer. It is priced at $12.00 per 1M input tokens and $12.00 per 1M output tokens, ranking 21 out of 22 completion models by cost and cheaper than 5% of models in this category. Its 16K-token context window is in the top 27% among completion models.

Pricing Information

Input Cost$12.00 per 1M tokens
Output Cost$12.00 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens16,384
Maximum Output Tokens4,096
Maximum Total Tokens4,096

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 16,384 input tokens. The maximum output length is 4,096 tokens.

How ft:davinci-002 Pricing Compares

At $12.00 per 1M input tokens and $12.00 per 1M output tokens, ft:davinci-002 ranks 21 out of 22 completion models by input cost. It is more expensive compared to the median of $1.50 for completion models, and is cheaper than 5% of models in this category.

ft:davinci-002 is one of 6 Text-completion-openai completion models, its 16K-token context window places it in the top 27% of completion models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs ft:davinci-002
j2-midAI21$10.00$10.00-17%
j2-ultraAI21$15.00$15.00+25%
text-unicornVertex AI$10.00$28.00-17%

Alternatives to ft:davinci-002

Similar completion models from other providers

AI21
j2-mid
$10.00/1M input
-17% vs ft:davinci-002
AI21
j2-ultra
$15.00/1M input
+25% vs ft:davinci-002
Vertex AI
text-unicorn
$10.00/1M input
-17% vs ft:davinci-002
Vertex AI
text-unicorn@001
$10.00/1M input
-17% vs ft:davinci-002
Azure Text
gpt-3.5-turbo-instruct-0914
$1.50/1M input
-87% vs ft:davinci-002

Frequently Asked Questions

Is ft:davinci-002 cheaper than j2-mid?

No. ft:davinci-002 costs $12.00 per 1M input tokens while j2-mid costs $10.00 per 1M input tokens, making j2-mid 17% more affordable for input. However, ft:davinci-002 may offer different capabilities or performance characteristics that justify the price difference.

How does ft:davinci-002 pricing compare to the average completion model?

ft:davinci-002 input pricing is $12.00 per 1M tokens, which is 700% above the median of $1.50 for completion models. It ranks 21 out of 22 completion models by input cost, making it cheaper than 5% of models in this category. For output, it costs $12.00 per 1M tokens compared to the median of $2.00.

What makes ft:davinci-002 different from other Text-completion-openai models?

Among Text-completion-openai's 6 completion models, ft:davinci-002 ranks 6 by input cost.

What are the best alternatives to ft:davinci-002?

The most comparable completion models to ft:davinci-002 are: j2-mid from AI21 ($10.00/1M input tokens); j2-ultra from AI21 ($15.00/1M input tokens); text-unicorn from Vertex AI ($10.00/1M input tokens); text-unicorn@001 from Vertex AI ($10.00/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

How large is ft:davinci-002's context window?

ft:davinci-002 supports up to 16,384 input tokens, placing it in the top 27% of completion models by context window size (rank 6 of 22). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I calculate ft:davinci-002 costs?

ft:davinci-002 is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $12.00 and generating 1M output tokens costs $12.00.