Last refreshed 2026-04-15. Next refresh: weekly.
Why use DeepSeek Coder V2 Lite on Fireworks AI?
Fireworks AI offers DeepSeek Coder V2 Lite with pay-as-you-go pricing at $0.50/1M input tokens. Fireworks AI offers a generative AI platform as a service, focusing on rapid product iteration and cost-efficient AI deployment.
Setup recipe
Python + curlpip install openaiexport FIREWORKS_API_KEY=...import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],deepseek-coder-v2-liteRequest example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],
base_url="https://api.fireworks.ai/inference/v1"
)
response = client.chat.completions.create(
model="deepseek-coder-v2-lite",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Fireworks model IDs use "accounts/fireworks/models/{model-name}" format, e.g. "accounts/fireworks/models/llama4-scout-instruct-basic" or "accounts/fireworks/models/deepseek-r1".
- The examples expect FIREWORKS_API_KEY; rename it only if your application config maps the new variable.
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.50 |
| Output tokens | $0.50 |
Capabilities
No model capability flags are currently sourced.
About DeepSeek Coder V2 Lite
DeepSeek Coder V2 Lite is an open-source Mixture-of-Experts (MoE) language model specifically tailored for efficiency and cost-effectiveness in coding tasks. It operates with a 15.7B parameter count, but only 2.4B are active at any given time, making it comparable to GPT4-Turbo for code-centric applications. This model supports 338 programming languages and has an extended context length of 128K tokens, facilitating the handling of complex codebases and lengthy prompts. Its features encompass code generation, completion, understanding, and mathematical reasoning, making it versatile for diverse coding applications. Available on Hugging Face, Ollama, and other platforms, DeepSeek Coder V2 Lite offers accessible solutions for developers and researchers, with performance that rivals or surpasses some closed-source models.
FAQ
What does DeepSeek Coder V2 Lite cost on Fireworks AI?
On Fireworks AI, DeepSeek Coder V2 Lite costs $0.5 per 1M input tokens and $0.5 per 1M output tokens.
What is the context window for DeepSeek Coder V2 Lite on Fireworks AI?
DeepSeek Coder V2 Lite supports a 128,000 token context window on Fireworks AI.
Who created DeepSeek Coder V2 Lite?
DeepSeek Coder V2 Lite was created by DeepSeek as part of the DeepSeek Coder V2 model family.
Is DeepSeek Coder V2 Lite open source?
DeepSeek Coder V2 Lite is open source according to the seed data.