LLM ReferenceLLM Reference

Code Llama

4 models2023Up to 100K ctxFrom $0.3/1M input

About

Code Llama is Meta's family of code-specialized large language models built on Llama 2.

Specifications(4 models)

Code Llama model specifications comparison
ModelReleasedContextParametersStructured Outputs
Together AI CodeLlama-34B-Instruct2023-07100k34BYes
OctoML CodeLlama-70b-Instruct2023-07100k70BNo
DeepInfra CodeLlama 70B Instruct2023-07100k70BYes
Fireworks CodeLlama-34b-Instruct2023-0716K34BNo

Available From(4 providers)

Pricing

Code Llama model pricing by provider
ModelProviderInput / 1MOutput / 1MType
Together AI CodeLlama-34B-InstructTogether AI$0.3$0.3Serverless
Fireworks CodeLlama-34b-InstructFireworks AI$0.3$0.3Serverless
OctoML CodeLlama-70b-InstructOctoML (Deprecated)$0.4$0.6Serverless
DeepInfra CodeLlama 70B InstructDeepInfra$0.45$0.65Serverless

Frequently Asked Questions

What is Code Llama?
Code Llama is Meta's family of code-specialized large language models built on Llama 2.
How many models are in the Code Llama family?
The Code Llama family contains 4 models.
What is the latest Code Llama model?
The latest model is Together AI CodeLlama-34B-Instruct, released in 2023-07.
How much does Code Llama cost?
Code Llama models range from $0.3/1M to $0.45/1M input tokens depending on the model and provider.

Models(4)