Last refreshed 2026-04-15. Next refresh: weekly.
Why use DeepSeek Coder V2 on Fireworks AI?
Fireworks AI offers DeepSeek Coder V2 with pay-as-you-go pricing at $1.20/1M input tokens. Fireworks AI offers a generative AI platform as a service, focusing on rapid product iteration and cost-efficient AI deployment.
Compare DeepSeek Coder V2 across 2 providers to find the best fit for your use caseSetup 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-v2Request 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",
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.
Compare DeepSeek Coder V2 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| DeepSeek Platform | $0.14 | $0.28 |
| Fireworks AI | $1.20 | $1.20 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $1.20 |
| Output tokens | $1.20 |
Capabilities
No model capability flags are currently sourced.
About DeepSeek Coder V2
DeepSeek Coder V2 based on V2 architecture. Code-specialized.
FAQ
What does DeepSeek Coder V2 cost on Fireworks AI?
On Fireworks AI, DeepSeek Coder V2 costs $1.2 per 1M input tokens and $1.2 per 1M output tokens.
What is the context window for DeepSeek Coder V2 on Fireworks AI?
DeepSeek Coder V2 supports a 128,000 token context window on Fireworks AI.
How does Fireworks AI compare to other DeepSeek Coder V2 providers?
DeepSeek Coder V2 is available from 2 providers. The cheapest input pricing is $0.14/1M tokens from DeepSeek Platform.
Who created DeepSeek Coder V2?
DeepSeek Coder V2 was created by DeepSeek as part of the DeepSeek Coder V2 model family.
Is DeepSeek Coder V2 open source?
DeepSeek Coder V2 is open source according to the seed data.