Skip to content
Anyscale

Codellama/CodeLlama 70b Instruct Hf

Codellama/CodeLlama 70b Instruct Hf is available via Anyscale with a 4K context window and up to 4,096 output tokens. Pricing: $1.00/1M input tokens, $1.00/1M output tokens.

Codellama/CodeLlama 70b Instruct Hf Pricing & Specifications

Input Price$1.00 per 1M tokens
Output Price$1.00 per 1M tokens
Context Window4,096 tokens (4K)
Max Output4,096 tokens
ProviderAnyscale

What is Codellama/CodeLlama 70b Instruct Hf?

Codellama/CodeLlama 70b Instruct Hf is a large language model by Anyscale with a 4K context window and up to 4,096 output tokens. It costs $1.00 per 1M input tokens and $1.00 per 1M output tokens. Codellama/CodeLlama 70b Instruct Hf is available via Anyscale with a 4K context window and up to 4,096 output tokens. Pricing: $1.00/1M input tokens, $1.00/1M output tokens.

Capabilities

text

Codellama/CodeLlama 70b Instruct Hf Cost Examples

Short prompt (500 tokens)

$0.000500

Medium prompt (2K tokens)

$0.00200

Long output (4K tokens)

$0.00400

Count tokens for Codellama/CodeLlama 70b Instruct Hf

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Codellama/CodeLlama 70b Instruct Hf

Anyscale

Codellama/CodeLlama 34b Instruct Hf

$1.00/1M in 4K ctx

Anyscale

Meta Llama/Llama 2 70b Chat Hf

$1.00/1M in 4K ctx

Anyscale

Meta Llama/Meta Llama 3 70B Instruct

$1.00/1M in 8K ctx

Anyscale

Mistralai/Mixtral 8x22B Instruct V0.1

$0.90/1M in 66K ctx

Frequently Asked Questions

How much does Codellama/CodeLlama 70b Instruct Hf cost per token? +
Codellama/CodeLlama 70b Instruct Hf costs $1.00 per 1M input tokens and $1.00 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.001500.
What is the context window for Codellama/CodeLlama 70b Instruct Hf? +
Codellama/CodeLlama 70b Instruct Hf supports a context window of 4,096 tokens (4K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Codellama/CodeLlama 70b Instruct Hf? +
Codellama/CodeLlama 70b Instruct Hf can generate up to 4,096 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Codellama/CodeLlama 70b Instruct Hf good for coding tasks? +
Codellama/CodeLlama 70b Instruct Hf can handle basic coding tasks, but there are models specifically optimized for code generation that may perform better on complex programming problems.
Token Counter | Pricing Calculator | Model Comparison | All Anyscale Models