Code Llama 70B Python
code-llama-70b-pythonPricing
List prices at Fireworks AI, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.90 | $0.90 |
What it costs a month
At Fireworks AI list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out$338
- RAG over documents2,000 requests a day, 8K in / 0.6K out$464
- Coding agent1,000 requests a day, 40K in / 2K out$1,134
- Overnight batch20,000 requests a day, 4K in / 0.4K out$2,376
Where to run it
1 host serve Code Llama 70B Python. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Fireworks AIInference code-llama-70b-python | $0.90 / $0.90 | code-llama-70b-python |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
- Open weights
- License: Llama Community LicenseRuntimes: Ollama, TGI, llama.cpp, vLLM
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Fireworks AI.
Smaller Independent models
No cheaper Independent model keeps its key capabilities.
Other frontier labs
- 6% less
- 49% less
- 78% less
- 78% less
Open-weight picks
- 3% less
- 4% less
- 10% less
- 12% less
Call it
Using Fireworks AI's API.
from litellm import completion
response = completion(
model="fireworks_ai/code-llama-70b-python",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Code Llama 70B Python cost?
On Fireworks AI, Code Llama 70B Python costs $0.90 per million input tokens and $0.90 per million output tokens.
Which APIs offer Code Llama 70B Python?
Code Llama 70B Python runs on 1 API: Fireworks AI.
What is Code Llama 70B Python's context window?
4K tokens, with up to 4K tokens in one reply.
Is Code Llama 70B Python being retired?
No retirement date is scheduled for it on any API we track.
What are cheaper alternatives to Code Llama 70B Python?
Models that cost less and keep most of what it can do: Gemini 3.5 Flash Lite on Google AI Studio (6% less), GPT-5.4 Nano on OpenAI (49% less) and Motif 3 on ai& (3% less). Savings are on a mix of 3 input tokens to 1 output token.
What is Code Llama 70B Python's API model id?
Use code-llama-70b-python with Fireworks AI.
Sources
Raw catalog entry for code-llama-70b-python on Fireworks AI
{
"max_input_tokens": 4096,
"max_output_tokens": 4096,
"input_cost_per_token": 9e-7,
"output_cost_per_token": 9e-7,
"litellm_provider": "fireworks_ai",
"mode": "chat"
}