Meta
Meta
Efficient

CodeLlama 7B Instruct

Code

Smallest CodeLlama. Cheap on-prem code completion baseline; better modern options exist.

CodeLlama 7B Instruct is a efficient AI model from Meta. It costs $0.180 per million input tokens and $0.180 per million output tokens (blended $0.180/M), with a 16,000-token context window.

INPUT
$0.180/M
per million input tokens
OUTPUT
$0.180/M
per million output tokens
BLENDED 70/30
$0.180/M
unchanged since 3 May
CONTEXT
16,000
tokens
What it is good at
  • Open weights
  • Cheap
Typical use cases
  • Legacy CodeLlama 7B fine-tunes

Benchmarks

vs. best public score
Python function synthesis from docstrings.
Hand-curated from each provider's published reports and public leaderboards. Methodology varies across sources, treat as directional rather than authoritative.

More from Meta

See all 20 →

Frequently asked questions

How much does CodeLlama 7B Instruct cost?

CodeLlama 7B Instruct costs $0.180 per million input tokens and $0.180 per million output tokens, for a blended reference rate of $0.180 per million tokens.

What is CodeLlama 7B Instruct's context window?

CodeLlama 7B Instruct supports up to 16,000 tokens of context in a single request.

What is CodeLlama 7B Instruct best for?

CodeLlama 7B Instruct is well suited to Open weights, Cheap and Legacy CodeLlama 7B fine-tunes.

Who makes CodeLlama 7B Instruct?

CodeLlama 7B Instruct is developed and served by Meta. It was released in Aug 2023.

Terms used on this page