页面简介
Compare Standard, Priority, Fast, Ultra-fast, Flex, and Spot serverless modes on Fireworks Serverless to choose the right tradeoff between cost, latency, and throughput.
正文摘录
Fireworks Serverless offers six modes: ModeUse caseSpeed vs StandardAvailabilityPrice vs StandardStandardGeneral use. The default; no service_tier parameter needed.BaselineBaselineBaselinePriorityWorkloads that require higher reliability during peak traffic. Set service_tier: "priority".—Prioritized above Standard and less likely to be load shed (503)HigherFastInteractive applications that require fast response speeds. Use a Fast model ID.Aims for 100+ tokens per second of generated throughput. Same model and quality.—HigherUltra-fastHighly latency-sensitive applications. Use an Ultra-fast model ID.Aims for 3-6x generation speed (up to 8x for agentic coding tasks). Same model and quality.—HigherFlexCost-sensitive workloads that can tolerate slower speeds. Use a Flex model ID.Slower—50% of StandardSpotWork that doesn’t need an immediate answer: evals, data generation, background and batch-style jobs, and routers. Set service_tier: "spot".Same model and quality as StandardBest-effort50% of Standard Priority tier Priority tier is for workloads that require higher reliability during peak traffic periods, at a higher price point. Priority tier is prioritized above Standard traffic and is less likely to be load shed (503 server overloaded). To use priority tier, set service_tier to "priority". Supported on OpenAI-compatible chat completions and on the Anthropic-compatible messages API: curl https://api.fireworks.ai/inference/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $FIREWORKS_API_KEY" \ -d '{ "model": "accounts/fireworks/models/glm-5p3", "service_tier": "priority", "messages": [{"role": "user", "content": "Hello"}] }' Priority tier is available on select models. Models and pricing are listed on the Serverless pricing page. Fast Fast is a high-speed mode, useful for interactive applications that require fast response speeds, at a higher price point. Fast variants aim for 100+ tokens per second of generated throughput. It is not a different model and the quality of the model remains the same. Fast is available for select models. To use Fast, change the model ID as listed below. Modelmodel IDKimi K3 Fastaccounts/fireworks/routers/kimi-k3-fastGLM 5.3 Fastaccounts/fireworks/routers/glm-5p3-fast curl https://api.fireworks.ai/inference/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $FIREWORKS_API_KEY" \ -d '{ "model": "accounts/fireworks/routers/kimi-k3-fast", "messages": [{"role": "user", "content": "Hello"}] }' Pricing is listed on the Serverless pricing page. Ultra-fast Ultra-fast is a high-speed mode, useful for extreme latency-sensitive applications that require fast response speeds, at a higher price point. Ultra-fast variants aim for 3-6x generation speed (up to 8x for agentic coding tasks). Like fast, it is not a different model and the quality of the model remains the same. Ultra-fast is available for the models listed below. To use Ultra-fast, change the model ID as listed below. Modelmodel IDDeepSeek V4.1 Flash 1017accounts/fireworks/routers/deepseek-v4p1-flash-1017-ultrafastKimi K3.1 Pro (Preview)accounts/fireworks/routers/kimi-k3p1-pro-ultrafast Models marked Preview are under active development, may change quickly, and have their own rate limits. See Serverless rate limits. curl https://api.fireworks.ai/inference/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $FIREWORKS_API_KEY" \ -d '{ "model": "accounts/fireworks/routers/deepseek-v4p1-flash-1017-ultrafast", "messages": [{"role": "user", "content": "Hello"}] }' Pricing is listed on the Serverless pricing page. Flex Flex is a lower-cost mode for workloads that can tolerate slower response speeds, billed at 50% off Standard rates. Flex is available for select models. To use Flex, change the model ID as listed below. Modelmodel IDDeepSeek V4.1 Flash 1017 Flexaccounts/fireworks/routers/deepseek-v4p1-flash-1017-flexGLM 5.3 Flexaccounts/fireworks/routers/glm-5p3-flexGLM 5.3 Flash Flexaccounts/fireworks/routers/glm-5p3-flash-flex curl https://api.fireworks.ai/inference/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $FIREWORKS_API_KEY" \ -d '{ "model": "accounts/fireworks/routers/deepseek-v4p1-flash-1017-flex", "messages": [{"role": "user", "content": "Hello"}] }' Pricing is listed on the Serverless pricing page. Spot Spot runs the same models through the same API at 50% of the Standard price. Use it for work that doesn’t need an immediate answer, such as evals, data generation, background and batch-style jobs, and routers. Spot is best-effort, with no availability guarantee. Under high load, Spot is served after other traffic, and throughput can drop to zero. Fireworks doesn’t fall back to Standard automatically. To use Spot, set service_tier to "spot". Supported on OpenAI-compatible chat completions and completions, and on the Anthropic-compatible messages API: curl https://api.fireworks.ai/inference/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $FIREWORKS_API_KEY" \ -d '{ "model": "accounts/fireworks/models/glm-5p3", "service_tier": "spot", "messages": [{"role": "user", "content": "Hello"}] }' You can also select Spot with the Spot model ID, accounts/fireworks/models/glm-5p3-spot, without setting service_tier. Spot is available for GLM 5.3, Kimi K3, DeepSeek V4.1 Flash, and DeepSeek V4.1 Flash 1017, with more serverless models to follow. It’s available to Tier 3+ and Enterprise accounts. Pricing is listed on the Serverless pricing page. For eligibility, rate limits, errors, and a fallback example, see Spot Serverless. Related Serverless overview US-only Serverless Serverless quickstart Text models Anthropic compatibility — service_tier is supported on both OpenAI-compatible chat completions and the Anthropic messages API. Spot Serverless Run large, non-urgent workloads on Fireworks Was this page helpful?YesNo⌘I