Llama 4 Maverick 17B Instruct API
- Input
- $0.264per 1M tokens
- Output
- $1.067per 1M tokens
- Context
- 8K
Llama 4 Maverick 17B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.
Explore Llama 4 Maverick 17B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses through the unified API. Supported interfaces and current availability are shown below.
- OpenAI-style Chat Completions
- Anthropic-style Messages
- OpenAI-style Responses
Model details
- Context window
- 8K tokens
- Max output
- 2K tokens
- Input
- Text, images
- Output
- Text
- Capabilities
- Vision, Streaming
- Interfaces
- OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses
Llama 4 Maverick 17B Instruct API pricing
Per 1M tokens. The Inferray price is what you are charged — no gateway fee is added on top of it.
| Metric | Price |
|---|---|
| Input | $0.264 |
| Cached input | Price not published |
| Output | $1.067 |
What Llama 4 Maverick 17B Instruct costs for real work
Typical workloads at list price, worked out from the rates above. Nothing is added on top.
| Workload | Tokens | Cost |
|---|---|---|
| 1,000 chat replies | 1,500 tokens in, 400 out, each | $0.823 |
| Summarise a 100-page document | 60K tokens in, 2K out | $0.018 |
| 10M tokens of coding-agent work | 10M tokens: 85% cached input, 12% fresh input, 3% output | $2.88 |
| 1M output tokens | Generated text only | $1.07 |
Llama 4 Maverick 17B Instruct is pay-as-you-go only
Llama 4 Maverick 17B Instruct is not included in Token Plans. Call it from a pay-as-you-go balance at the list price above, with no gateway fee.
Why teams pick it
- Llama 4 Maverick 17B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.
Call Llama 4 Maverick 17B Instruct
Llama 4 Maverick 17B Instruct answers on any of the APIs below — pick the one your code already speaks and just swap in your Inferray key.
curl https://api.inferray.com/v1/chat/completions \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "llama-4-maverick-17b-instruct",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'curl https://api.inferray.com/v1/messages \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "llama-4-maverick-17b-instruct",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'curl https://api.inferray.com/v1/responses \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "llama-4-maverick-17b-instruct",
"input": "Hello"
}'Conversation compaction is also available at POST /v1/responses/compact.
Use Llama 4 Maverick 17B Instruct in your tools
Every coding agent below has a setup guide. Set the model to llama-4-maverick-17b-instruct.
More from Meta
Alternatives to Llama 4 Maverick 17B Instruct
- GPT-5.4 NanoGPT-5.4 Nano for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.OpenAI
- DeepSeek V4.1 Flash CyberDeepSeek V4.1 Flash Cyber for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.DeepSeek
- MiniMax M2.1MiniMax M2.1 for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.MiniMax
Questions about this model
- How much does the Llama 4 Maverick 17B Instruct API cost?
- Llama 4 Maverick 17B Instruct costs $0.264 per 1M input tokens and $1.067 per 1M output tokens on Inferray. That is the list price, with no gateway fee on top.
- Is there a free tier for Llama 4 Maverick 17B Instruct?
- No. You add credit and pay Llama 4 Maverick 17B Instruct's list rate for each request — seats, projects, and API keys are free, and pay-as-you-go credit never expires.
- Am I charged for failed requests?
- No. A request that fails without returning a result is not billed. If a response fails part-way, the tokens already processed before the failure are charged.
- Is Llama 4 Maverick 17B Instruct included in Token Plans?
- No. Llama 4 Maverick 17B Instruct is pay-as-you-go only; Token Plans cover the other text models in the catalog.
- Can I use Llama 4 Maverick 17B Instruct in Claude Code?
- Yes. Set ANTHROPIC_BASE_URL to https://api.inferray.com, ANTHROPIC_AUTH_TOKEN to your Inferray key, and ANTHROPIC_MODEL to llama-4-maverick-17b-instruct. The same key works in Codex, opencode, Cline, and other agents.
- Does Llama 4 Maverick 17B Instruct support tool calling and vision?
- Llama 4 Maverick 17B Instruct supports image input and streaming on Inferray. It does not support tool calling.
- Is it the real Llama 4 Maverick 17B Instruct?
- Yes. A request for llama-4-maverick-17b-instruct is answered by Llama 4 Maverick 17B Instruct from Meta, billed at its published list price. Inferray never substitutes a different or smaller model.
Prices from the catalog as of November 12, 2026.